Class TimelineView
- java.lang.Object
-
- com.aspose.tasks.View
-
- com.aspose.tasks.TimelineView
-
- All Implemented Interfaces:
Comparable<View>
public class TimelineView extends View
Represents a timeline view of a project.
-
-
Constructor Summary
Constructors Constructor Description TimelineView()
Initializes a new instance of theTimelineView
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.aspose.tasks.View
compareTo, equals, forViewScreen, getFilter, getGroup, getHighlightFilter, getName, getPageInfo, getParentProject, getScreen, getShowInMenu, getTable, getType, getUid, getVisualObjectsPlacements, hashCode, op_Equality, op_GreaterThan, op_GreaterThanOrEqual, op_Inequality, op_LessThan, op_LessThanOrEqual, setFilter, setGroup, setHighlightFilter, setName, setShowInMenu, setTable
-
-
-
-
Constructor Detail
-
TimelineView
public TimelineView()
Initializes a new instance of the
TimelineView
class.
-
-
Method Detail
-
getDateFormat
public final int getDateFormat()
Gets a value indicating how to format dates on the Timeline view.
- Returns:
- a value indicating how to format dates on the Timeline view.
-
setDateFormat
public final void setDateFormat(int value)
Sets a value indicating how to format dates on the Timeline view.
- Parameters:
value
- a value indicating how to format dates on the Timeline view.
-
getDisplayOverlapped
public final boolean getDisplayOverlapped()
Gets a value indicating whether to display overlapped tasks on multiple rows.
- Returns:
- a value indicating whether to display overlapped tasks on multiple rows.
-
setDisplayOverlapped
public final void setDisplayOverlapped(boolean value)
Sets a value indicating whether to display overlapped tasks on multiple rows.
- Parameters:
value
- a value indicating whether to display overlapped tasks on multiple rows.
-
getShowDates
public final boolean getShowDates()
Gets a value indicating whether to show dates.
- Returns:
- a value indicating whether to show dates.
-
getShowPanZoom
public final boolean getShowPanZoom()
Gets a value indicating whether to show pan and zoom control.
- Returns:
- a value indicating whether to show pan and zoom control.
-
setShowPanZoom
public final void setShowPanZoom(boolean value)
Sets a value indicating whether to show pan and zoom control.
- Parameters:
value
- a value indicating whether to show pan and zoom control.
-
getShowTimescale
public final boolean getShowTimescale()
Gets a value indicating whether to show timescale.
- Returns:
- a value indicating whether to show timescale.
-
setShowTimescale
public final void setShowTimescale(boolean value)
Sets a value indicating whether to show timescale.
- Parameters:
value
- a value indicating whether to show timescale.
-
getShowToday
public final boolean getShowToday()
Gets a value indicating whether to display a line representing today.
- Returns:
- a value indicating whether to display a line representing today.
-
setShowToday
public final void setShowToday(boolean value)
Sets a value indicating whether to display a line representing today.
- Parameters:
value
- a value indicating whether to display a line representing today.
-
getTextLinesCount
public final int getTextLinesCount()
Gets a value indicating how many lines are used to display task in a timeline.
- Returns:
- a value indicating how many lines are used to display task in a timeline.
-
setTextLinesCount
public final void setTextLinesCount(int value)
Sets a value indicating how many lines are used to display task in a timeline.
- Parameters:
value
- a value indicating how many lines are used to display task in a timeline.
-
-