public class TimelineView extends View
Represents a timeline view of a project.
Constructor and Description |
---|
TimelineView() |
Modifier and Type | Method and Description |
---|---|
int |
getDateFormat()
Specifies how to format dates on the Timeline view.
|
boolean |
getDisplayOverlapped()
Specifies whether to display overlapped tasks on multiple rows.
|
boolean |
getShowDates()
Specifies whether to show dates.
|
boolean |
getShowPanZoom()
Specifies whether to show pan and zoom control.
|
boolean |
getShowTimescale()
Specifies whether to show timescale.
|
boolean |
getShowToday()
Specifies whether to display a line representing today.
|
int |
getTextLinesCount()
Specifies how many lines are used to display task in a timeline.
|
void |
setDateFormat(int value)
Specifies how to format dates on the Timeline view.
|
void |
setDisplayOverlapped(boolean value)
Specifies whether to display overlapped tasks on multiple rows.
|
void |
setShowPanZoom(boolean value)
Specifies whether to show pan and zoom control.
|
void |
setShowTimescale(boolean value)
Specifies whether to show timescale.
|
void |
setShowToday(boolean value)
Specifies whether to display a line representing today.
|
void |
setTextLinesCount(int value)
Specifies how many lines are used to display task in a timeline.
|
compareTo, equals, getFilter, getGroup, getHighlightFilter, getIndex, getName, getPageInfo, getParentProject, getScreen, getShowInMenu, getTable, getType, getUid, hashCode, setFilter, setGroup, setHighlightFilter, setName, setShowInMenu, setTable
public int getDateFormat()
Specifies how to format dates on the Timeline view.
DateFormat
enum.public void setDateFormat(int value)
Specifies how to format dates on the Timeline view.
value
- one of the values of the DateFormat
enum.public boolean getDisplayOverlapped()
Specifies whether to display overlapped tasks on multiple rows.
public void setDisplayOverlapped(boolean value)
Specifies whether to display overlapped tasks on multiple rows.
value
- a flag which determines whether to display overlapped tasks on multiple rows.public boolean getShowDates()
Specifies whether to show dates.
public boolean getShowPanZoom()
Specifies whether to show pan and zoom control.
public void setShowPanZoom(boolean value)
Specifies whether to show pan and zoom control.
value
- a flag which determines whether to show pan and zoom control.public boolean getShowTimescale()
Specifies whether to show timescale.
public void setShowTimescale(boolean value)
Specifies whether to show timescale.
value
- a flag which determines whether to show timescale.public boolean getShowToday()
Specifies whether to display a line representing today.
public void setShowToday(boolean value)
Specifies whether to display a line representing today.
value
- a flag which determines whether to display a line representing today.public int getTextLinesCount()
Specifies how many lines are used to display task in a timeline.
public void setTextLinesCount(int value)
Specifies how many lines are used to display task in a timeline.
value
- a value which specifies how many lines are used to display task in a timeline.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.