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 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 boolean getBarRounding()

        Returns true if bars round to the nearest day; otherwise, false. The default value is True.

        Returns:
        true if bars round to the nearest day; otherwise, false.
      • setBarRounding

        public void setBarRounding(boolean value)
        Set to true if bars round to the nearest day; otherwise, false.
        Parameters:
        value - true if bars round to the nearest day; otherwise, false.
      • getBarSize

        public int getBarSize()

        Specifies the height, in points, of the Gantt bars in the Gantt Chart.

        Returns:
        GanttBarSize enumerated type value.
      • setBarSize

        public void setBarSize(int value)
        Specifies the height, in points, of the Gantt bars in the Gantt Chart.
        Parameters:
        value - GanttBarSize enumerated type value.
      • getBarStyles

        public List<GanttBarStyle> getBarStyles()
        Gets a list of gantt bar styles (GanttBarStyle) of the Gantt Chart view.
        Returns:
        a list of gantt bar styles (GanttBarStyle) of the Gantt Chart view.
      • getBottomTimescaleTier

        public 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 void setBottomTimescaleTier(TimescaleTier value)
        Sets the bottom timescale tier of the Gantt Chart view.
        Parameters:
        value - the bottom timescale tier of the Gantt Chart view.
      • getCustomBarStyles

        public List<GanttBarStyle> getCustomBarStyles()
        Gets a list of custom gantt bar styles (GanttBarStyle) of the Gantt Chart view.
        Returns:
        a list of custom gantt bar styles (GanttBarStyle) of the Gantt Chart view.
      • getGridlines

        public List<Gridlines> getGridlines()
        Gets a list of grid lines (Gridlines) of the Gantt Chart view.
        Returns:
        a list of grid lines (Gridlines) of the Gantt Chart view.
      • setGridlines

        public void setGridlines(List<Gridlines> value)
        Sets a list of grid lines (Gridlines) of the Gantt Chart view.
        Parameters:
        value - a list of grid lines (Gridlines) of the Gantt Chart view.
      • getHideRollupBarsWhenSummaryExpanded

        public boolean getHideRollupBarsWhenSummaryExpanded()

        Returns true if rollup bars will be hidden when expanding summary task; otherwise, false.

        Returns:
        true if rollup bars will be hidden when expanding summary task; otherwise, false.
      • setHideRollupBarsWhenSummaryExpanded

        public void setHideRollupBarsWhenSummaryExpanded(boolean value)
        Set to true if rollup bars will be hidden when expanding summary task; otherwise, false.
        Parameters:
        value - true if rollup bars will be hidden when expanding summary task; otherwise, false.
      • getMiddleTimescaleTier

        public 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 void setMiddleTimescaleTier(TimescaleTier value)
        Sets the middle timescale tier of the Gantt Chart view.
        Parameters:
        value - the middle timescale tier of the Gantt Chart view.
      • getNonWorkingTimeColor

        public Color getNonWorkingTimeColor()
        Returns non-working time color in Gantt Chart View.
        Returns:
        non-working time color.
      • setNonWorkingTimeColor

        public void setNonWorkingTimeColor(Color value)
        Sets non-working time color in Gantt Chart View.
        Parameters:
        value - non-working time color.
      • getProgressLines

        public ProgressLines getProgressLines()

        Gets progress lines for the Gantt Chart view. ProgressLines.

        Returns:
        progress lines for the Gantt Chart view.
      • setProgressLines

        public void setProgressLines(ProgressLines value)
        Sets progress lines for the Gantt Chart view.
        Parameters:
        value - progress lines for the Gantt Chart view.
      • getRollUpGanttBars

        public boolean getRollUpGanttBars()

        Specifies the rollup behavior of bars on the Gantt Chart.

        Returns:
        true if gantt bars are to be rolled up on the Gantt Chart; otherwise, false.
      • setRollUpGanttBars

        public void setRollUpGanttBars(boolean value)
        Specifies the rollup behavior of bars on the Gantt Chart.
        Parameters:
        value - true if gantt bars are to be rolled up on the Gantt Chart; otherwise, false.
      • getShowBarSplits

        public boolean getShowBarSplits()

        Shows or hides task splits on the Gantt Chart.

        Returns:
        true if task splits are to be shown on the Gantt Chart; otherwise, false.
      • setShowBarSplits

        public void setShowBarSplits(boolean value)
        Shows or hides task splits on the Gantt Chart.
        Parameters:
        value - true if task splits are to be shown on the Gantt Chart; otherwise, false.
      • getShowDrawings

        public boolean getShowDrawings()

        Shows or hides drawings on the Gantt Chart.

        Returns:
        true if drawings are to be shown on the Gantt Chart; otherwise, false.
      • setShowDrawings

        public void setShowDrawings(boolean value)
        Shows or hides drawings on the Gantt Chart.
        Parameters:
        value - true if drawings are to be shown on the Gantt Chart; otherwise, false.
      • getTableTextStyles

        public List<TableTextStyle> getTableTextStyles()
        Gets a list of table text styles (TableTextStyle) of the Gantt Chart view.
        Returns:
        a list of table text styles (TableTextStyle) of the Gantt Chart view.
      • getTextStyles

        public List<TextStyle> getTextStyles()
        Gets a list of text styles (TextStyle) of the Gantt Chart view.
        Returns:
        a list of text styles (TextStyle) of the Gantt Chart view.
      • setTextStyles

        public void setTextStyles(List<TextStyle> value)
        Sets a list of text styles (TextStyle) of the Gantt Chart view.
        Parameters:
        value - a list of text styles (TextStyle) of the Gantt Chart view.
      • getTopTimescaleTier

        public 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 void setTopTimescaleTier(TimescaleTier value)
        Sets the top timescale tier of the Gantt Chart view.
        Parameters:
        value - the top timescale tier of the Gantt Chart view.