Class GanttChartView
- java.lang.Object
-
- com.aspose.tasks.View
-
- com.aspose.tasks.GanttChartView
-
- All Implemented Interfaces:
Comparable<View>
public class GanttChartView extends View
Represents a GanttChart view.
-
-
Constructor Summary
Constructors Constructor Description GanttChartView()Initializes a new instance of theGanttChartViewclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterCollectiongetAutoFilters()Gets a list of auto filters of a Gantt Chart view.booleangetBarRounding()Gets a value indicating whether the bars round to the nearest day.intgetBarSize()Gets the height, in points, of the Gantt bars in the Gantt Chart.List<GanttBarStyle>getBarStyles()Gets a list of parent (common) bar styles of the Gantt Chart view.TimescaleTiergetBottomTimescaleTier()List<GanttBarStyle>getCustomBarStyles()Gets a list of custom task-specific bar styles of the Gantt Chart view.List<Gridlines>getGridlines()booleangetHideRollupBarsWhenSummaryExpanded()Gets a value indicating whether rollup bars will be hidden when expanding summary task.TimescaleTiergetMiddleTimescaleTier()ColorgetNonWorkingTimeColor()Gets non-working time color.ProgressLinesgetProgressLines()Gets progress lines for the Gantt Chart view.booleangetRollUpGanttBars()Gets a value indicating whether bars on the Gantt Chart must be rolled up.booleangetShowBarSplits()Gets a value indicating whether task splits on the Gantt Chart must be shown.booleangetShowDrawings()Gets a value indicating whether drawings on the Gantt Chart must be shown.List<TableTextStyle>getTableTextStyles()Gets a list of table text styles of the Gantt Chart view.List<TextStyle>getTextStyles()Gets a list ofTextStyleof the Gantt Chart view.intgetTimescaleSizePercentage()TimescaleTiergetTopTimescaleTier()voidsetBarRounding(boolean value)Sets a value indicating whether the bars round to the nearest day.voidsetBarSize(int value)Sets the height, in points, of the Gantt bars in the Gantt Chart.voidsetBottomTimescaleTier(TimescaleTier value)voidsetGridlines(List<Gridlines> value)voidsetHideRollupBarsWhenSummaryExpanded(boolean value)Sets a value indicating whether rollup bars will be hidden when expanding summary task.voidsetMiddleTimescaleTier(TimescaleTier value)voidsetNonWorkingTimeColor(Color value)Sets non-working time color.voidsetProgressLines(ProgressLines value)Sets progress lines for the Gantt Chart view.voidsetRollUpGanttBars(boolean value)Sets a value indicating whether bars on the Gantt Chart must be rolled up.voidsetShowBarSplits(boolean value)Sets a value indicating whether task splits on the Gantt Chart must be shown.voidsetShowDrawings(boolean value)Sets a value indicating whether drawings on the Gantt Chart must be shown.voidsetTextStyles(List<TextStyle> value)Sets a list ofTextStyleof the Gantt Chart view.voidsetTimescaleSizePercentage(int value)voidsetTopTimescaleTier(TimescaleTier value)-
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
-
GanttChartView
public GanttChartView()
Initializes a new instance of the
GanttChartViewclass.
-
-
Method Detail
-
getAutoFilters
public final FilterCollection getAutoFilters()
Gets a list of auto filters of a Gantt Chart view.
- Returns:
- 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:
- a value indicating whether the bars round to the nearest day.
-
setBarRounding
public final void setBarRounding(boolean value)
Sets a value indicating whether the bars round to the nearest day. The default value is True.
- Parameters:
value- 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:
- the height, in points, of the Gantt bars in the Gantt Chart.
-
setBarSize
public final void setBarSize(int value)
Sets the height, in points, of the Gantt bars in the Gantt Chart.
- Parameters:
value- 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:
- a list of parent (common) bar styles of the Gantt Chart view.
-
getBottomTimescaleTier
public final TimescaleTier getBottomTimescaleTier()
- Returns:
-
setBottomTimescaleTier
public final void setBottomTimescaleTier(TimescaleTier value)
- Parameters:
value-
-
getCustomBarStyles
public final List<GanttBarStyle> getCustomBarStyles()
Gets a list of custom task-specific bar styles of the Gantt Chart view.
GanttBarStyle.- Returns:
- 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(List) of the Gantt Chart view.) - Returns:
- a list of
Gridlines(getGridlines()/#setGridlines(List) of the Gantt Chart view.)
-
setGridlines
public final void setGridlines(List<Gridlines> value)
Sets a list of
Gridlines(getGridlines()/#setGridlines(List) of the Gantt Chart view.) - Parameters:
value- a list ofGridlines(getGridlines()/#setGridlines(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:
- a value indicating whether rollup bars will be hidden when expanding summary task.
-
setHideRollupBarsWhenSummaryExpanded
public final void setHideRollupBarsWhenSummaryExpanded(boolean value)
Sets a value indicating whether rollup bars will be hidden when expanding summary task.
- Parameters:
value- a value indicating whether rollup bars will be hidden when expanding summary task.
-
getMiddleTimescaleTier
public final TimescaleTier getMiddleTimescaleTier()
- Returns:
-
setMiddleTimescaleTier
public final void setMiddleTimescaleTier(TimescaleTier value)
- Parameters:
value-
-
getNonWorkingTimeColor
public final Color getNonWorkingTimeColor()
Gets non-working time color.
- Returns:
- non-working time color.
-
setNonWorkingTimeColor
public final void setNonWorkingTimeColor(Color value)
Sets non-working time color.
- Parameters:
value- non-working time color.
-
getProgressLines
public final ProgressLines getProgressLines()
Gets progress lines for the Gantt Chart view.
ProgressLines(getProgressLines()/setProgressLines(ProgressLines)).- Returns:
- progress lines for the Gantt Chart view.
-
setProgressLines
public final void setProgressLines(ProgressLines value)
Sets progress lines for the Gantt Chart view.
ProgressLines(getProgressLines()/setProgressLines(ProgressLines)).- Parameters:
value- 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:
- a value indicating whether bars on the Gantt Chart must be rolled up.
-
setRollUpGanttBars
public final void setRollUpGanttBars(boolean value)
Sets a value indicating whether bars on the Gantt Chart must be rolled up.
- Parameters:
value- 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:
- a value indicating whether task splits on the Gantt Chart must be shown.
-
setShowBarSplits
public final void setShowBarSplits(boolean value)
Sets a value indicating whether task splits on the Gantt Chart must be shown.
- Parameters:
value- 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:
- a value indicating whether drawings on the Gantt Chart must be shown.
-
setShowDrawings
public final void setShowDrawings(boolean value)
Sets a value indicating whether drawings on the Gantt Chart must be shown.
- Parameters:
value- 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:
- a list of table text styles of the Gantt Chart view.
-
getTextStyles
public final List<TextStyle> getTextStyles()
Gets a list of
TextStyleof the Gantt Chart view.- Returns:
- a list of
TextStyleof the Gantt Chart view.
-
setTextStyles
public final void setTextStyles(List<TextStyle> value)
Sets a list of
TextStyleof the Gantt Chart view.- Parameters:
value- a list ofTextStyleof the Gantt Chart view.
-
getTimescaleSizePercentage
public final int getTimescaleSizePercentage()
- Returns:
-
setTimescaleSizePercentage
public final void setTimescaleSizePercentage(int value)
- Parameters:
value-
-
getTopTimescaleTier
public final TimescaleTier getTopTimescaleTier()
- Returns:
-
setTopTimescaleTier
public final void setTopTimescaleTier(TimescaleTier value)
- Parameters:
value-
-
-