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

        Initializes a new instance of the Object class.

    • Method Detail

      • getAddSpaceBeforeLabel

        public final 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 final 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 final int getDayLabel()

        Specifies how the day label displays.

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

        public final void setDayLabel(int value)

        Specifies how the day label displays.

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

        public final int getHourLabel()

        Specifies how the hour label displays.

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

        public final void setHourLabel(int value)

        Specifies how the hour label displays.

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

        public final 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 final void setMinuteLabel(int value)

        Specifies how the minute label displays.

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

        public final int getMonthLabel()

        Specifies how the month label displays.

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

        public final void setMonthLabel(int value)

        Specifies how the month label displays.

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

        public final 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 final 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 final 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 final 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 final 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 final 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 final boolean getUnderlineHyperlinks()

        Determines whether to underline hyperlinks.

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

        public final void setUnderlineHyperlinks(boolean value)

        Determines whether to underline hyperlinks.

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

        public final int getWeekLabel()

        Specifies how the week label displays.

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

        public final void setWeekLabel(int value)

        Specifies how the week label displays.

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

        public final int getYearLabel()

        Specifies how the year label displays.

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

        public final void setYearLabel(int value)

        Specifies how the year label displays.

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