com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class ProjectDisplayOptions



  • public class ProjectDisplayOptions
    extends Object

    Represents the display options for a project instance.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean getAddSpaceBeforeLabel()
      Determines whether to add a space before the number value and the time abbreviation (1 wk as opposed to 1wk).
      int getDayLabel()
      Specifies how the day label displays.
      int getHourLabel()
      Specifies how the hour label displays.
      int getMinuteLabel()
      Specifies how the minute label displays.
      int getMonthLabel()
      Specifies how the month label displays.
      boolean getShowProjectSummaryTask()
      Determines whether to display summary information about an entire project on a single row with its own summary task bar at the top of the Gantt Chart view.
      boolean getShowTaskScheduleSuggestions()
      Determines whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.
      boolean getShowTaskScheduleWarnings()
      Determines whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.
      boolean getUnderlineHyperlinks()
      Determines whether to underline hyperlinks.
      int getWeekLabel()
      Specifies how the week label displays.
      int getYearLabel()
      Specifies how the year label displays.
      void setAddSpaceBeforeLabel(boolean value)
      Determines whether to add a space before the number value and the time abbreviation (1 wk as opposed to 1wk).
      void setDayLabel(int value)
      Specifies how the day label displays.
      void setHourLabel(int value)
      Specifies how the hour label displays.
      void setMinuteLabel(int value)
      Specifies how the minute label displays.
      void setMonthLabel(int value)
      Specifies how the month label displays.
      void setShowProjectSummaryTask(boolean value)
      Determines whether to display summary information about an entire project on a single row with its own summary task bar at the top of the Gantt Chart view.
      void setShowTaskScheduleSuggestions(boolean value)
      Determines whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.
      void setShowTaskScheduleWarnings(boolean value)
      Determines whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.
      void setUnderlineHyperlinks(boolean value)
      Determines whether to underline hyperlinks.
      void setWeekLabel(int value)
      Specifies how the week label displays.
      void setYearLabel(int value)
      Specifies how the year label displays.
    • Constructor Detail

      • ProjectDisplayOptions

        public ProjectDisplayOptions()
    • Method Detail

      • getAddSpaceBeforeLabel

        public boolean getAddSpaceBeforeLabel()

        Determines whether to add a space before the number value and the time abbreviation (1 wk as opposed to 1wk).

        Returns:
        a flag which determines whether to add a space before the number value and the time abbreviation (1 wk as opposed to 1wk).
      • setAddSpaceBeforeLabel

        public void setAddSpaceBeforeLabel(boolean value)

        Determines whether to add a space before the number value and the time abbreviation (1 wk as opposed to 1wk).

        Parameters:
        value - a flag which determines whether to add a space before the number value and the time abbreviation (1 wk as opposed to 1wk).
      • getDayLabel

        public int getDayLabel()

        Specifies how the day label displays.

        Returns:
        one of the values of the @{code DayLabelDisplay} enum.
      • setDayLabel

        public void setDayLabel(int value)

        Specifies how the day label displays.

        Parameters:
        value - one of the values of the @{code DayLabelDisplay} enum.
      • getHourLabel

        public int getHourLabel()

        Specifies how the hour label displays.

        Returns:
        one of the values of the @{code HourLabelDisplay} enum.
      • setHourLabel

        public void setHourLabel(int value)

        Specifies how the hour label displays.

        Parameters:
        value - one of the values of the @{code HourLabelDisplay} enum.
      • getMinuteLabel

        public int getMinuteLabel()

        Specifies how the minute label displays. Can be one of the values of the @{code MinuteLabelDisplay} enum.

        Returns:
        one of the values of the @{code MinuteLabelDisplay} enum.
      • setMinuteLabel

        public void setMinuteLabel(int value)

        Specifies how the minute label displays.

        Parameters:
        value - one of the values of the @{code MinuteLabelDisplay} enum.
      • getMonthLabel

        public int getMonthLabel()

        Specifies how the month label displays.

        Returns:
        one of the values of the @{code MonthLabelDisplay} enum.
      • setMonthLabel

        public void setMonthLabel(int value)

        Specifies how the month label displays.

        Parameters:
        value - one of the values of the @{code MonthLabelDisplay} enum.
      • getShowProjectSummaryTask

        public boolean getShowProjectSummaryTask()

        Determines whether to display summary information about an entire project on a single row with its own summary task bar at the top of the Gantt Chart view.

        Returns:
        a flag which determines whether to display summary information about an entire project on a single row with its own summary task bar at the top of the Gantt Chart view.
      • setShowProjectSummaryTask

        public void setShowProjectSummaryTask(boolean value)

        Determines whether to display summary information about an entire project on a single row with its own summary task bar at the top of the Gantt Chart view.

        Parameters:
        value - a flag which determines whether to display summary information about an entire project on a single row with its own summary task bar at the top of the Gantt Chart view.
      • getShowTaskScheduleSuggestions

        public boolean getShowTaskScheduleSuggestions()

        Determines whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task. This option is available for Project 2010 version and later.

        Returns:
        a flag which determines whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.
      • setShowTaskScheduleSuggestions

        public void setShowTaskScheduleSuggestions(boolean value)

        Determines whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task. This option is available for Project 2010 version and later.

        Parameters:
        value - a flag which determines whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.
      • getShowTaskScheduleWarnings

        public boolean getShowTaskScheduleWarnings()

        Determines whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task. This option is available for Project 2010 version and later.

        Returns:
        a flag which determines whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.
      • setShowTaskScheduleWarnings

        public void setShowTaskScheduleWarnings(boolean value)

        Determines whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task. This option is available for Project 2010 version and later.

        Parameters:
        value - a flag which determines whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.
      • getUnderlineHyperlinks

        public boolean getUnderlineHyperlinks()

        Determines whether to underline hyperlinks.

        Returns:
        a flag which determines whether to underline hyperlinks.
      • setUnderlineHyperlinks

        public void setUnderlineHyperlinks(boolean value)

        Determines whether to underline hyperlinks.

        Parameters:
        value - a flag which determines whether to underline hyperlinks.
      • getWeekLabel

        public int getWeekLabel()

        Specifies how the week label displays.

        Returns:
        one of the values of the @{code WeekLabelDisplay} enum.
      • setWeekLabel

        public void setWeekLabel(int value)

        Specifies how the week label displays.

        Parameters:
        value - one of the values of the @{code WeekLabelDisplay} enum.
      • getYearLabel

        public int getYearLabel()

        Specifies how the year label displays.

        Returns:
        one of the values of the @{code YearLabelDisplay} enum.
      • setYearLabel

        public void setYearLabel(int value)

        Specifies how the year label displays.

        Parameters:
        value - one of the values of the @{code YearLabelDisplay} enum.