GanttChartView
Inheritance: java.lang.Object, com.aspose.tasks.View
All Implemented Interfaces: com.aspose.tasks.ITimescaledView
public class GanttChartView extends View implements ITimescaledView
Represents a GanttChart view.
Constructors
| Constructor | Description |
|---|---|
| GanttChartView() | Initializes a new instance of the GanttChartView class. |
Methods
| Method | Description |
|---|---|
| getAutoFilters() | Gets a list of auto filters of a Gantt Chart view. |
| getBarRounding() | Gets a value indicating whether the bars round to the nearest day. |
| getBarSize() | Gets the height, in points, of the Gantt bars in the Gantt Chart. |
| getBarStyles() | Gets a list of parent (common) bar styles of the Gantt Chart view. |
| getBottomTimescaleTier() | Gets settings of view’s bottom timescale tier. |
| getCustomBarStyles() | Gets a list of custom task-specific bar styles of the Gantt Chart view. |
| getGridlines() | Gets a list of Gridlines(getGridlines()/setGridlines(java.util.List)) of the Gantt Chart view. |
| getHideRollupBarsWhenSummaryExpanded() | Gets a value indicating whether rollup bars will be hidden when expanding summary task. |
| getMiddleTimescaleTier() | Gets settings of view’s middle timescale tier. |
| getNonWorkingTimeColor() | Gets non-working time color. |
| getProgressLines() | Gets progress lines for the Gantt Chart view. |
| getRollUpGanttBars() | Gets a value indicating whether bars on the Gantt Chart must be rolled up. |
| getShowBarSplits() | Gets a value indicating whether task splits on the Gantt Chart must be shown. |
| getShowDrawings() | Gets a value indicating whether drawings on the Gantt Chart must be shown. |
| getTableTextStyles() | Gets a list of table text styles of the Gantt Chart view. |
| getTextStyles() | Gets a list of TextStyle of the Gantt Chart view. |
| getTimescaleSizePercentage() | {@inheritDoc} |
| getTopTimescaleTier() | Gets settings of view’s top timescale tier. |
| setBarRounding(boolean value) | Sets a value indicating whether the bars round to the nearest day. |
| setBarSize(int value) | Sets the height, in points, of the Gantt bars in the Gantt Chart. |
| setBottomTimescaleTier(TimescaleTier value) | Sets settings of view’s bottom timescale tier. |
| setGridlines(List<Gridlines> value) | Sets a list of Gridlines(getGridlines()/setGridlines(java.util.List)) of the Gantt Chart view. |
| setHideRollupBarsWhenSummaryExpanded(boolean value) | Sets a value indicating whether rollup bars will be hidden when expanding summary task. |
| setMiddleTimescaleTier(TimescaleTier value) | Sets settings of view’s middle timescale tier. |
| setNonWorkingTimeColor(Color value) | Sets non-working time color. |
| setProgressLines(ProgressLines value) | Sets progress lines for the Gantt Chart view. |
| setRollUpGanttBars(boolean value) | Sets a value indicating whether bars on the Gantt Chart must be rolled up. |
| setShowBarSplits(boolean value) | Sets a value indicating whether task splits on the Gantt Chart must be shown. |
| setShowDrawings(boolean value) | Sets a value indicating whether drawings on the Gantt Chart must be shown. |
| setTextStyles(List<TextStyle> value) | Sets a list of TextStyle of the Gantt Chart view. |
| setTimescaleSizePercentage(int value) | {@inheritDoc} |
| setTopTimescaleTier(TimescaleTier value) | Sets settings of view’s top timescale tier. |
GanttChartView()
public GanttChartView()
Initializes a new instance of the GanttChartView class.
getAutoFilters()
public final FilterCollection getAutoFilters()
Gets a list of auto filters of a Gantt Chart view.
Returns: FilterCollection - a list of auto filters of a Gantt Chart view.
getBarRounding()
public final boolean getBarRounding()
Gets a value indicating whether the bars round to the nearest day. The default value is True.
Returns: boolean - a value indicating whether the bars round to the nearest day.
getBarSize()
public final int getBarSize()
Gets the height, in points, of the Gantt bars in the Gantt Chart.
Returns: int - the height, in points, of the Gantt bars in the Gantt Chart.
getBarStyles()
public final List<GanttBarStyle> getBarStyles()
Gets a list of parent (common) bar styles of the Gantt Chart view. GanttBarStyle.
Returns: java.util.List<com.aspose.tasks.GanttBarStyle> - a list of parent (common) bar styles of the Gantt Chart view.
getBottomTimescaleTier()
public final TimescaleTier getBottomTimescaleTier()
Gets settings of view’s bottom timescale tier. TimescaleTier
Returns: TimescaleTier - settings of view’s bottom timescale tier.
getCustomBarStyles()
public final List<GanttBarStyle> getCustomBarStyles()
Gets a list of custom task-specific bar styles of the Gantt Chart view. GanttBarStyle.
Returns: java.util.List<com.aspose.tasks.GanttBarStyle> - a list of custom task-specific bar styles of the Gantt Chart view.
getGridlines()
public final List<Gridlines> getGridlines()
Gets a list of Gridlines(getGridlines()/setGridlines(java.util.List)) of the Gantt Chart view.
Returns:
java.util.List<com.aspose.tasks.Gridlines> - a list of Gridlines(getGridlines()/setGridlines(java.util.List)) of the Gantt Chart view.
getHideRollupBarsWhenSummaryExpanded()
public final boolean getHideRollupBarsWhenSummaryExpanded()
Gets a value indicating whether rollup bars will be hidden when expanding summary task.
Returns: boolean - a value indicating whether rollup bars will be hidden when expanding summary task.
getMiddleTimescaleTier()
public final TimescaleTier getMiddleTimescaleTier()
Gets settings of view’s middle timescale tier. TimescaleTier.
Returns: TimescaleTier - settings of view’s middle timescale tier.
getNonWorkingTimeColor()
public final Color getNonWorkingTimeColor()
Gets non-working time color.
Returns: java.awt.Color - non-working time color.
getProgressLines()
public final ProgressLines getProgressLines()
Gets progress lines for the Gantt Chart view. ProgressLines(getProgressLines()/setProgressLines(ProgressLines)).
Returns: ProgressLines - progress lines for the Gantt Chart view.
getRollUpGanttBars()
public final boolean getRollUpGanttBars()
Gets a value indicating whether bars on the Gantt Chart must be rolled up.
Returns: boolean - a value indicating whether bars on the Gantt Chart must be rolled up.
getShowBarSplits()
public final boolean getShowBarSplits()
Gets a value indicating whether task splits on the Gantt Chart must be shown.
Returns: boolean - a value indicating whether task splits on the Gantt Chart must be shown.
getShowDrawings()
public final boolean getShowDrawings()
Gets a value indicating whether drawings on the Gantt Chart must be shown.
Returns: boolean - a value indicating whether drawings on the Gantt Chart must be shown.
getTableTextStyles()
public final List<TableTextStyle> getTableTextStyles()
Gets a list of table text styles of the Gantt Chart view. TableTextStyle.
Returns: java.util.List<com.aspose.tasks.TableTextStyle> - a list of table text styles of the Gantt Chart view.
getTextStyles()
public final List<TextStyle> getTextStyles()
Gets a list of TextStyle of the Gantt Chart view.
Returns: java.util.List<com.aspose.tasks.TextStyle> - a list of TextStyle of the Gantt Chart view.
getTimescaleSizePercentage()
public final int getTimescaleSizePercentage()
Gets a percentage to reduce or enlarge the spacing between units on the timescale tier.
Returns: int - {@inheritDoc}
getTopTimescaleTier()
public final TimescaleTier getTopTimescaleTier()
Gets settings of view’s top timescale tier. TimescaleTier.
Returns: TimescaleTier - settings of view’s top timescale tier.
setBarRounding(boolean value)
public final void setBarRounding(boolean value)
Sets a value indicating whether the bars round to the nearest day. The default value is True.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | a value indicating whether the bars round to the nearest day. |
setBarSize(int value)
public final void setBarSize(int value)
Sets the height, in points, of the Gantt bars in the Gantt Chart.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | the height, in points, of the Gantt bars in the Gantt Chart. |
setBottomTimescaleTier(TimescaleTier value)
public final void setBottomTimescaleTier(TimescaleTier value)
Sets settings of view’s bottom timescale tier. TimescaleTier
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | TimescaleTier | settings of view’s bottom timescale tier. |
setGridlines(List<Gridlines> value)
public final void setGridlines(List<Gridlines> value)
Sets a list of Gridlines(getGridlines()/setGridlines(java.util.List)) of the Gantt Chart view.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.util.List<com.aspose.tasks.Gridlines> | a list of Gridlines(getGridlines()/setGridlines(java.util.List)) of the Gantt Chart view. |
setHideRollupBarsWhenSummaryExpanded(boolean value)
public final void setHideRollupBarsWhenSummaryExpanded(boolean value)
Sets a value indicating whether rollup bars will be hidden when expanding summary task.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | a value indicating whether rollup bars will be hidden when expanding summary task. |
setMiddleTimescaleTier(TimescaleTier value)
public final void setMiddleTimescaleTier(TimescaleTier value)
Sets settings of view’s middle timescale tier. TimescaleTier.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | TimescaleTier | settings of view’s middle timescale tier. |
setNonWorkingTimeColor(Color value)
public final void setNonWorkingTimeColor(Color value)
Sets non-working time color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.awt.Color | non-working time color. |
setProgressLines(ProgressLines value)
public final void setProgressLines(ProgressLines value)
Sets progress lines for the Gantt Chart view. ProgressLines(getProgressLines()/setProgressLines(ProgressLines)).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | ProgressLines | progress lines for the Gantt Chart view. |
setRollUpGanttBars(boolean value)
public final void setRollUpGanttBars(boolean value)
Sets a value indicating whether bars on the Gantt Chart must be rolled up.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | a value indicating whether bars on the Gantt Chart must be rolled up. |
setShowBarSplits(boolean value)
public final void setShowBarSplits(boolean value)
Sets a value indicating whether task splits on the Gantt Chart must be shown.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | a value indicating whether task splits on the Gantt Chart must be shown. |
setShowDrawings(boolean value)
public final void setShowDrawings(boolean value)
Sets a value indicating whether drawings on the Gantt Chart must be shown.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | a value indicating whether drawings on the Gantt Chart must be shown. |
setTextStyles(List<TextStyle> value)
public final void setTextStyles(List<TextStyle> value)
Sets a list of TextStyle of the Gantt Chart view.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.util.List<com.aspose.tasks.TextStyle> | a list of TextStyle of the Gantt Chart view. |
setTimescaleSizePercentage(int value)
public final void setTimescaleSizePercentage(int value)
Sets a percentage to reduce or enlarge the spacing between units on the timescale tier.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | {@inheritDoc} |
setTopTimescaleTier(TimescaleTier value)
public final void setTopTimescaleTier(TimescaleTier value)
Sets settings of view’s top timescale tier. TimescaleTier.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | TimescaleTier | settings of view’s top timescale tier. |