public class TimelineView extends View
Represents a timeline view of a project.
Constructor and Description |
---|
TimelineView()
Initializes a new instance of the
TimelineView class. |
Modifier and Type | Method and Description |
---|---|
int |
getDateFormat()
Gets a value indicating how to format dates on the Timeline view.
|
boolean |
getDisplayOverlapped()
Gets a value indicating whether to display overlapped tasks on multiple rows.
|
boolean |
getShowDates()
Gets a value indicating whether to show dates.
|
boolean |
getShowPanZoom()
Gets a value indicating whether to show pan and zoom control.
|
boolean |
getShowTimescale()
Gets a value indicating whether to show timescale.
|
boolean |
getShowToday()
Gets a value indicating whether to display a line representing today.
|
int |
getTextLinesCount()
Gets a value indicating how many lines are used to display task in a timeline.
|
void |
setDateFormat(int value)
Sets a value indicating how to format dates on the Timeline view.
|
void |
setDisplayOverlapped(boolean value)
Sets a value indicating whether to display overlapped tasks on multiple rows.
|
void |
setShowPanZoom(boolean value)
Sets a value indicating whether to show pan and zoom control.
|
void |
setShowTimescale(boolean value)
Sets a value indicating whether to show timescale.
|
void |
setShowToday(boolean value)
Sets a value indicating whether to display a line representing today.
|
void |
setTextLinesCount(int value)
Sets a value indicating how many lines are used to display task in a timeline.
|
compareTo, equals, getFilter, getGroup, getHighlightFilter, getName, getPageInfo, getParentProject, getScreen, getShowInMenu, getTable, getType, getUid, hashCode, op_Equality, op_GreaterThan, op_GreaterThanOrEqual, op_Inequality, op_LessThan, op_LessThanOrEqual, setFilter, setGroup, setHighlightFilter, setName, setShowInMenu, setTable
public TimelineView()
Initializes a new instance of the TimelineView
class.
public final int getDateFormat()
Gets a value indicating how to format dates on the Timeline view.
public final void setDateFormat(int value)
Sets a value indicating how to format dates on the Timeline view.
value
- a value indicating how to format dates on the Timeline view.public final boolean getDisplayOverlapped()
Gets a value indicating whether to display overlapped tasks on multiple rows.
public final void setDisplayOverlapped(boolean value)
Sets a value indicating whether to display overlapped tasks on multiple rows.
value
- a value indicating whether to display overlapped tasks on multiple rows.public final boolean getShowDates()
Gets a value indicating whether to show dates.
public final boolean getShowPanZoom()
Gets a value indicating whether to show pan and zoom control.
public final void setShowPanZoom(boolean value)
Sets a value indicating whether to show pan and zoom control.
value
- a value indicating whether to show pan and zoom control.public final boolean getShowTimescale()
Gets a value indicating whether to show timescale.
public final void setShowTimescale(boolean value)
Sets a value indicating whether to show timescale.
value
- a value indicating whether to show timescale.public final boolean getShowToday()
Gets a value indicating whether to display a line representing today.
public final void setShowToday(boolean value)
Sets a value indicating whether to display a line representing today.
value
- a value indicating whether to display a line representing today.public final int getTextLinesCount()
Gets a value indicating how many lines are used to display task in a timeline.
public final void setTextLinesCount(int value)
Sets a value indicating how many lines are used to display task in a timeline.
value
- a value indicating how many lines are used to display task in a timeline.