Class ProjectDisplayOptions
- java.lang.Object
-
- com.aspose.tasks.ProjectDisplayOptions
-
public class ProjectDisplayOptions extends Object
Represents the display options for a project instance.
-
-
Constructor Summary
Constructors Constructor Description ProjectDisplayOptions()Initializes a new instance of theProjectDisplayOptionsclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAddSpaceBeforeLabel()Gets a value indicating whether to add a space before the number value and the time abbreviation (1 wk as opposed to 1wk).intgetDayLabel()Gets how the day label displays.intgetHourLabel()Gets how the hour label displays.intgetMinuteLabel()Gets how the minute label displays.intgetMonthLabel()Gets how the month label displays.booleangetShowProjectSummaryTask()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.booleangetShowTaskScheduleSuggestions()Gets a value indicating whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.booleangetShowTaskScheduleWarnings()Gets a value indicating whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.booleangetUnderlineHyperlinks()Gets a value indicating whether to underline hyperlinks.intgetWeekLabel()Gets how the week label displays.intgetYearLabel()Gets how the year label displays.voidsetAddSpaceBeforeLabel(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).voidsetDayLabel(int value)Sets how the day label displays.voidsetHourLabel(int value)Sets how the hour label displays.voidsetMinuteLabel(int value)Sets how the minute label displays.voidsetMonthLabel(int value)Sets how the month label displays.voidsetShowProjectSummaryTask(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.voidsetShowTaskScheduleSuggestions(boolean value)Sets a value indicating whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.voidsetShowTaskScheduleWarnings(boolean value)Sets a value indicating whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.voidsetUnderlineHyperlinks(boolean value)Sets a value indicating whether to underline hyperlinks.voidsetWeekLabel(int value)Sets how the week label displays.voidsetYearLabel(int value)Sets how the year label displays.
-
-
-
Constructor Detail
-
ProjectDisplayOptions
public ProjectDisplayOptions()
Initializes a new instance of the
ProjectDisplayOptionsclass.
-
-
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.
-
-