TimelineView
Inheritance: java.lang.Object, com.aspose.tasks.View
public class TimelineView extends View
Represents a timeline view of a project.
Constructors
Constructor | Description |
---|---|
TimelineView() | Initializes a new instance of the TimelineView class. |
Methods
Method | Description |
---|---|
getDateFormat() | Gets a value indicating how to format dates on the Timeline view. |
getDisplayOverlapped() | Gets a value indicating whether to display overlapped tasks on multiple rows. |
getShowDates() | Gets a value indicating whether to show dates. |
getShowPanZoom() | Gets a value indicating whether to show pan and zoom control. |
getShowTimescale() | Gets a value indicating whether to show timescale. |
getShowToday() | Gets a value indicating whether to display a line representing today. |
getTextLinesCount() | Gets a value indicating how many lines are used to display task in a timeline. |
setDateFormat(int value) | Sets a value indicating how to format dates on the Timeline view. |
setDisplayOverlapped(boolean value) | Sets a value indicating whether to display overlapped tasks on multiple rows. |
setShowPanZoom(boolean value) | Sets a value indicating whether to show pan and zoom control. |
setShowTimescale(boolean value) | Sets a value indicating whether to show timescale. |
setShowToday(boolean value) | Sets a value indicating whether to display a line representing today. |
setTextLinesCount(int value) | Sets a value indicating how many lines are used to display task in a timeline. |
TimelineView()
public TimelineView()
Initializes a new instance of the TimelineView class.
getDateFormat()
public final int getDateFormat()
Gets a value indicating how to format dates on the Timeline view.
Returns: int - 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: boolean - 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: boolean - a value indicating whether to show dates.
getShowPanZoom()
public final boolean getShowPanZoom()
Gets a value indicating whether to show pan and zoom control.
Returns: boolean - a value indicating whether to show pan and zoom control.
getShowTimescale()
public final boolean getShowTimescale()
Gets a value indicating whether to show timescale.
Returns: boolean - a value indicating whether to show timescale.
getShowToday()
public final boolean getShowToday()
Gets a value indicating whether to display a line representing today.
Returns: boolean - 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: int - a value indicating how many lines are used to display task in a timeline.
setDateFormat(int value)
public final void setDateFormat(int value)
Sets a value indicating how to format dates on the Timeline view.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | a value indicating how to format dates on the Timeline view. |
setDisplayOverlapped(boolean value)
public final void setDisplayOverlapped(boolean value)
Sets a value indicating whether to display overlapped tasks on multiple rows.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether to display overlapped tasks on multiple rows. |
setShowPanZoom(boolean value)
public final void setShowPanZoom(boolean value)
Sets a value indicating whether to show pan and zoom control.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether to show pan and zoom control. |
setShowTimescale(boolean value)
public final void setShowTimescale(boolean value)
Sets a value indicating whether to show timescale.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether to show timescale. |
setShowToday(boolean value)
public final void setShowToday(boolean value)
Sets a value indicating whether to display a line representing today.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether to display a line representing today. |
setTextLinesCount(int value)
public final void setTextLinesCount(int value)
Sets a value indicating how many lines are used to display task in a timeline.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | a value indicating how many lines are used to display task in a timeline. |