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 theGanttChartView
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterCollection
getAutoFilters()
Gets a list of auto filters of a Gantt Chart view.boolean
getBarRounding()
Gets a value indicating whether the bars round to the nearest day.int
getBarSize()
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.TimescaleTier
getBottomTimescaleTier()
Gets settings of view's bottom timescale tier.List<GanttBarStyle>
getCustomBarStyles()
Gets a list of custom task-specific bar styles of the Gantt Chart view.List<Gridlines>
getGridlines()
Gets a list ofGridlines
(getGridlines()
/GanttChartView#setGridlines(java.util.List
) of the Gantt Chart view.) boolean
getHideRollupBarsWhenSummaryExpanded()
Gets a value indicating whether rollup bars will be hidden when expanding summary task.TimescaleTier
getMiddleTimescaleTier()
Gets settings of view's middle timescale tier.Color
getNonWorkingTimeColor()
Gets non-working time color.ProgressLines
getProgressLines()
Gets progress lines for the Gantt Chart view.boolean
getRollUpGanttBars()
Gets a value indicating whether bars on the Gantt Chart must be rolled up.boolean
getShowBarSplits()
Gets a value indicating whether task splits on the Gantt Chart must be shown.boolean
getShowDrawings()
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 ofTextStyle
of the Gantt Chart view.int
getTimescaleSizePercentage()
TimescaleTier
getTopTimescaleTier()
Gets settings of view's top timescale tier.void
setBarRounding(boolean value)
Sets a value indicating whether the bars round to the nearest day.void
setBarSize(int value)
Sets the height, in points, of the Gantt bars in the Gantt Chart.void
setBottomTimescaleTier(TimescaleTier value)
Sets settings of view's bottom timescale tier.void
setGridlines(List<Gridlines> value)
Sets a list ofGridlines
(getGridlines()
/GanttChartView#setGridlines(java.util.List
) of the Gantt Chart view.) void
setHideRollupBarsWhenSummaryExpanded(boolean value)
Sets a value indicating whether rollup bars will be hidden when expanding summary task.void
setMiddleTimescaleTier(TimescaleTier value)
Sets settings of view's middle timescale tier.void
setNonWorkingTimeColor(Color value)
Sets non-working time color.void
setProgressLines(ProgressLines value)
Sets progress lines for the Gantt Chart view.void
setRollUpGanttBars(boolean value)
Sets a value indicating whether bars on the Gantt Chart must be rolled up.void
setShowBarSplits(boolean value)
Sets a value indicating whether task splits on the Gantt Chart must be shown.void
setShowDrawings(boolean value)
Sets a value indicating whether drawings on the Gantt Chart must be shown.void
setTextStyles(List<TextStyle> value)
Sets a list ofTextStyle
of the Gantt Chart view.void
setTimescaleSizePercentage(int value)
void
setTopTimescaleTier(TimescaleTier value)
Sets settings of view's top timescale tier.-
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
GanttChartView
class.
-
-
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()
Gets settings of view's bottom timescale tier.
TimescaleTier
- Returns:
- settings of view's bottom timescale tier.
-
setBottomTimescaleTier
public final void setBottomTimescaleTier(TimescaleTier value)
Sets settings of view's bottom timescale tier.
TimescaleTier
- Parameters:
value
- 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:
- 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()
/GanttChartView#setGridlines(java.util.List
) of the Gantt Chart view.) - Returns:
- a list of
Gridlines
(getGridlines()
/GanttChartView#setGridlines(java.util.List
) of the Gantt Chart view.)
-
setGridlines
public final void setGridlines(List<Gridlines> value)
Sets a list of
Gridlines
(getGridlines()
/GanttChartView#setGridlines(java.util.List
) of the Gantt Chart view.) - Parameters:
value
- a list ofGridlines
(getGridlines()
/GanttChartView#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:
- 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()
Gets settings of view's middle timescale tier.
TimescaleTier
.- Returns:
- settings of view's middle timescale tier.
-
setMiddleTimescaleTier
public final void setMiddleTimescaleTier(TimescaleTier value)
Sets settings of view's middle timescale tier.
TimescaleTier
.- Parameters:
value
- settings of view's middle timescale tier.
-
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
TextStyle
of the Gantt Chart view.- Returns:
- a list of
TextStyle
of the Gantt Chart view.
-
setTextStyles
public final void setTextStyles(List<TextStyle> value)
Sets a list of
TextStyle
of the Gantt Chart view.- Parameters:
value
- a list ofTextStyle
of the Gantt Chart view.
-
getTimescaleSizePercentage
public final int getTimescaleSizePercentage()
- Returns:
-
setTimescaleSizePercentage
public final void setTimescaleSizePercentage(int value)
- Parameters:
value
-
-
getTopTimescaleTier
public final TimescaleTier getTopTimescaleTier()
Gets settings of view's top timescale tier.
TimescaleTier
.- Returns:
- settings of view's top timescale tier.
-
setTopTimescaleTier
public final void setTopTimescaleTier(TimescaleTier value)
Sets settings of view's top timescale tier.
TimescaleTier
.- Parameters:
value
- settings of view's top timescale tier.
-
-