com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class GanttChartView

  • All Implemented Interfaces:
    Comparable


    public class GanttChartView
    extends View

    Represents a GanttChart view.

    • 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 gantt bar styles of the Gantt Chart view. GanttBarStyle.

        Returns:
        a list of gantt bar styles of the Gantt Chart view.
      • getBottomTimescaleTier

        public final TimescaleTier getBottomTimescaleTier()

        Gets the bottom timescale tier of the Gantt Chart view. TimescaleTier.

        Returns:
        the bottom timescale tier of the Gantt Chart view.
      • setBottomTimescaleTier

        public final void setBottomTimescaleTier(TimescaleTier value)

        Sets the bottom timescale tier of the Gantt Chart view. TimescaleTier.

        Parameters:
        value - the bottom timescale tier of the Gantt Chart view.
      • getCustomBarStyles

        public final List<GanttBarStyle> getCustomBarStyles()

        Gets a list of custom gantt bar styles of the Gantt Chart view. GanttBarStyle.

        Returns:
        a list of custom gantt 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 of Gridlines(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()

        Gets the middle timescale tier of the Gantt Chart view. TimescaleTier.

        Returns:
        the middle timescale tier of the Gantt Chart view.
      • setMiddleTimescaleTier

        public final void setMiddleTimescaleTier(TimescaleTier value)

        Sets the middle timescale tier of the Gantt Chart view. TimescaleTier.

        Parameters:
        value - the middle timescale tier of the Gantt Chart view.
      • 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.
      • 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 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:
        a percentage to reduce or enlarge the spacing between units on the timescale tier
      • setTimescaleSizePercentage

        public final void setTimescaleSizePercentage(int value)

        Sets a percentage to reduce or enlarge the spacing between units on the timescale tier

        Parameters:
        value - a percentage to reduce or enlarge the spacing between units on the timescale tier
      • getTopTimescaleTier

        public final TimescaleTier getTopTimescaleTier()

        Gets the top timescale tier of the Gantt Chart view. TimescaleTier.

        Returns:
        the top timescale tier of the Gantt Chart view.
      • setTopTimescaleTier

        public final void setTopTimescaleTier(TimescaleTier value)

        Sets the top timescale tier of the Gantt Chart view. TimescaleTier.

        Parameters:
        value - the top timescale tier of the Gantt Chart view.