ProjectDisplayOptions

Inheritance: java.lang.Object

public class ProjectDisplayOptions

Represents the display options for a project instance.

Constructors

ConstructorDescription
ProjectDisplayOptions()Initializes a new instance of the ProjectDisplayOptions class.

Methods

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

ProjectDisplayOptions()

public ProjectDisplayOptions()

Initializes a new instance of the ProjectDisplayOptions class.

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: boolean - 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: int - how the day label displays.

getHourLabel()

public final int getHourLabel()

Gets how the hour label displays.

Returns: int - how the hour label displays.

getMinuteLabel()

public final int getMinuteLabel()

Gets how the minute label displays.

Returns: int - how the minute label displays.

getMonthLabel()

public final int getMonthLabel()

Gets how the month label displays.

Returns: int - 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: boolean - 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: boolean - 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: boolean - 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.

Returns: boolean - a value indicating whether to underline hyperlinks.

getWeekLabel()

public final int getWeekLabel()

Gets how the week label displays.

Returns: int - how the week label displays.

getYearLabel()

public final int getYearLabel()

Gets how the year label displays.

Returns: int - how the year label displays.

setAddSpaceBeforeLabel(boolean value)

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:

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

setDayLabel(int value)

public final void setDayLabel(int value)

Sets how the day label displays.

Parameters:

ParameterTypeDescription
valueinthow the day label displays.

setHourLabel(int value)

public final void setHourLabel(int value)

Sets how the hour label displays.

Parameters:

ParameterTypeDescription
valueinthow the hour label displays.

setMinuteLabel(int value)

public final void setMinuteLabel(int value)

Sets how the minute label displays.

Parameters:

ParameterTypeDescription
valueinthow the minute label displays.

setMonthLabel(int value)

public final void setMonthLabel(int value)

Sets how the month label displays.

Parameters:

ParameterTypeDescription
valueinthow the month label displays.

setShowProjectSummaryTask(boolean value)

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:

ParameterTypeDescription
valuebooleana 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.

setShowTaskScheduleSuggestions(boolean value)

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:

ParameterTypeDescription
valuebooleana value indicating whether to show suggestions when Project identifies a possible scheduling conflict with a manually scheduled task.

setShowTaskScheduleWarnings(boolean value)

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:

ParameterTypeDescription
valuebooleana value indicating whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.
public final void setUnderlineHyperlinks(boolean value)

Sets a value indicating whether to underline hyperlinks.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether to underline hyperlinks.

setWeekLabel(int value)

public final void setWeekLabel(int value)

Sets how the week label displays.

Parameters:

ParameterTypeDescription
valueinthow the week label displays.

setYearLabel(int value)

public final void setYearLabel(int value)

Sets how the year label displays.

Parameters:

ParameterTypeDescription
valueinthow the year label displays.