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()
      Gets a value indicating whether to add a space before the number value and the time abbreviation (1 wk as opposed to 1wk).
      int getDayLabel()
      Gets how the day label displays.
      int getHourLabel()
      Gets how the hour label displays.
      int getMinuteLabel()
      Gets how the minute label displays.
      int getMonthLabel()
      Gets how the month label displays.
      boolean getShowProjectSummaryTask()
      Gets a value indicating 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()
      Gets a value indicating whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.
      boolean getShowTaskScheduleWarnings()
      Gets a value indicating whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.
      boolean getUnderlineHyperlinks()
      Gets a value indicating whether to underline hyperlinks.
      int getWeekLabel()
      Gets how the week label displays.
      int getYearLabel()
      Gets how the year label displays.
      void setAddSpaceBeforeLabel(boolean value)
      Sets a value indicating whether to add a space before the number value and the time abbreviation (1 wk as opposed to 1wk).
      void setDayLabel(int value)
      Sets how the day label displays.
      void setHourLabel(int value)
      Sets how the hour label displays.
      void setMinuteLabel(int value)
      Sets how the minute label displays.
      void setMonthLabel(int value)
      Sets how the month label displays.
      void setShowProjectSummaryTask(boolean value)
      Sets a value indicating 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)
      Sets a value indicating whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.
      void setShowTaskScheduleWarnings(boolean value)
      Sets a value indicating whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.
      void setUnderlineHyperlinks(boolean value)
      Sets a value indicating whether to underline hyperlinks.
      void setWeekLabel(int value)
      Sets how the week label displays.
      void setYearLabel(int value)
      Sets how the year label displays.
    • Constructor Detail

      • ProjectDisplayOptions

        public ProjectDisplayOptions()

        Initializes a new instance of the ProjectDisplayOptions class.

    • Method Detail

      • getAddSpaceBeforeLabel

        public final boolean getAddSpaceBeforeLabel()

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

        Returns:
        a value indicating 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)

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

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

        public final int getDayLabel()

        Gets how the day label displays.

        Returns:
        how the day label displays.
      • setDayLabel

        public final void setDayLabel(int value)

        Sets how the day label displays.

        Parameters:
        value - how the day label displays.
      • getHourLabel

        public final int getHourLabel()

        Gets how the hour label displays.

        Returns:
        how the hour label displays.
      • setHourLabel

        public final void setHourLabel(int value)

        Sets how the hour label displays.

        Parameters:
        value - how the hour label displays.
      • getMinuteLabel

        public final int getMinuteLabel()

        Gets how the minute label displays.

        Returns:
        how the minute label displays.
      • setMinuteLabel

        public final void setMinuteLabel(int value)

        Sets how the minute label displays.

        Parameters:
        value - how the minute label displays.
      • getMonthLabel

        public final int getMonthLabel()

        Gets how the month label displays.

        Returns:
        how the month label displays.
      • setMonthLabel

        public final void setMonthLabel(int value)

        Sets how the month label displays.

        Parameters:
        value - how the month label displays.
      • getShowProjectSummaryTask

        public final boolean getShowProjectSummaryTask()

        Gets a value indicating 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 value indicating 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)

        Sets a value indicating 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 value indicating 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()

        Gets a value indicating 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 value indicating whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.
      • setShowTaskScheduleSuggestions

        public final void setShowTaskScheduleSuggestions(boolean value)

        Sets a value indicating 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 value indicating whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.
      • getShowTaskScheduleWarnings

        public final boolean getShowTaskScheduleWarnings()

        Gets a value indicating 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 value indicating whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.
      • setShowTaskScheduleWarnings

        public final void setShowTaskScheduleWarnings(boolean value)

        Sets a value indicating 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 value indicating whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.
      • getUnderlineHyperlinks

        public final boolean getUnderlineHyperlinks()

        Gets a value indicating whether to underline hyperlinks.

        Returns:
        a value indicating whether to underline hyperlinks.
      • setUnderlineHyperlinks

        public final void setUnderlineHyperlinks(boolean value)

        Sets a value indicating whether to underline hyperlinks.

        Parameters:
        value - a value indicating whether to underline hyperlinks.
      • getWeekLabel

        public final int getWeekLabel()

        Gets how the week label displays.

        Returns:
        how the week label displays.
      • setWeekLabel

        public final void setWeekLabel(int value)

        Sets how the week label displays.

        Parameters:
        value - how the week label displays.
      • getYearLabel

        public final int getYearLabel()

        Gets how the year label displays.

        Returns:
        how the year label displays.
      • setYearLabel

        public final void setYearLabel(int value)

        Sets how the year label displays.

        Parameters:
        value - how the year label displays.