public class ProjectDisplayOptions extends Object
Represents the display options for a project instance.
Constructor and Description |
---|
ProjectDisplayOptions()
Initializes a new instance of the
ProjectDisplayOptions class. |
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.
|
public ProjectDisplayOptions()
Initializes a new instance of the ProjectDisplayOptions
class.
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).
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).
value
- a value indicating whether to add a space before the number value and the time abbreviation
(1 wk as opposed to 1wk).public final int getDayLabel()
Gets how the day label displays.
public final void setDayLabel(int value)
Sets how the day label displays.
value
- how the day label displays.public final int getHourLabel()
Gets how the hour label displays.
public final void setHourLabel(int value)
Sets how the hour label displays.
value
- how the hour label displays.public final int getMinuteLabel()
Gets how the minute label displays.
public final void setMinuteLabel(int value)
Sets how the minute label displays.
value
- how the minute label displays.public final int getMonthLabel()
Gets how the month label displays.
public final void setMonthLabel(int value)
Sets how the month label displays.
value
- how the month label displays.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.
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.
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.public final boolean getShowTaskScheduleSuggestions()
Gets a value indicating whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.
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.
value
- a value indicating whether to show suggestions when Project identifies a possible scheduling
conflict with a manually scheduled task.public final boolean getShowTaskScheduleWarnings()
Gets a value indicating whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.
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.
value
- a value indicating whether to show warnings when Project identifies a possible scheduling
conflict with a manually scheduled task.public final boolean getUnderlineHyperlinks()
Gets a value indicating whether to underline hyperlinks.
public final void setUnderlineHyperlinks(boolean value)
Sets a value indicating whether to underline hyperlinks.
value
- a value indicating whether to underline hyperlinks.public final int getWeekLabel()
Gets how the week label displays.
public final void setWeekLabel(int value)
Sets how the week label displays.
value
- how the week label displays.public final int getYearLabel()
Gets how the year label displays.
public final void setYearLabel(int value)
Sets how the year label displays.
value
- how the year label displays.