ProgressLines

Inheritance: java.lang.Object

public class ProgressLines

Represents progress lines in a Gantt Chart view.

Constructors

ConstructorDescription
ProgressLines()

Methods

MethodDescription
getBeginAtDate()Gets the date to display progress lines from.
getBeginAtProjectStart()Gets a value indicating whether to display progress lines from the beginning of the project start date.
getDateFormat()Gets the date format (DateLabel).
getDisplayAtCurrentDate()Gets a value indicating whether to display progress line at current date.
getDisplayAtRecurringIntervals()Gets a value indicating whether to display progress line at recurring intervals.
getDisplaySelected()Gets a value indicating whether to display progress lines at the selected dates.
getFont()Gets the font used for progress line label.
getLineColor()Gets the line color for current progress line.
getLinePattern()Gets the line pattern of current progress line.
getOtherLineColor()Gets the color of other progress line.
getOtherLinePattern()Gets the line pattern for other progress line.
getOtherProgressPointColor()Gets the color of other progress point.
getOtherProgressPointShape()Gets the progress point shape of other progress line.
getProgressPointColor()Gets the color of progress point.
getProgressPointShape()Gets the progress point shape.
getRecurringInterval()Gets the recurring interval.
getSelectedDates()Gets the list of selected dates to display progress lines for.
getShowDate()Gets a value indicating whether to show date for each progress line.
isBaselinePlan()Gets a value indicating whether to display progress lines for baseline plan or actual.
isBaselinePlan(boolean value)Sets a value indicating whether to display progress lines for baseline plan or actual.
setBeginAtDate(Date value)Sets the date to display progress lines from.
setBeginAtProjectStart(boolean value)Sets a value indicating whether to display progress lines from the beginning of the project start date.
setDateFormat(int value)Sets the date format (DateLabel).
setDisplayAtCurrentDate(boolean value)Sets a value indicating whether to display progress line at current date.
setDisplayAtRecurringIntervals(boolean value)Sets a value indicating whether to display progress line at recurring intervals.
setDisplaySelected(boolean value)Sets a value indicating whether to display progress lines at the selected dates.
setFont(FontDescriptor value)Sets the font used for progress line label.
setLineColor(Color value)Sets the line color for current progress line.
setLinePattern(int value)Sets the line pattern of current progress line.
setOtherLineColor(Color value)Sets the color of other progress line.
setOtherLinePattern(int value)Sets the line pattern for other progress line.
setOtherProgressPointColor(Color value)Sets the color of other progress point.
setOtherProgressPointShape(int value)Sets the progress point shape of other progress line.
setProgressPointColor(Color value)Sets the color of progress point.
setProgressPointShape(int value)Sets the progress point shape.
setRecurringInterval(RecurringInterval value)Sets the recurring interval.
setShowDate(boolean value)Sets a value indicating whether to show date for each progress line.

ProgressLines()

public ProgressLines()

getBeginAtDate()

public final Date getBeginAtDate()

Gets the date to display progress lines from.

Returns: java.util.Date - the date to display progress lines from.

getBeginAtProjectStart()

public final boolean getBeginAtProjectStart()

Gets a value indicating whether to display progress lines from the beginning of the project start date.

Returns: boolean - a value indicating whether to display progress lines from the beginning of the project start date.

getDateFormat()

public final int getDateFormat()

Gets the date format (DateLabel).

Returns: int - the date format (DateLabel).

getDisplayAtCurrentDate()

public final boolean getDisplayAtCurrentDate()

Gets a value indicating whether to display progress line at current date.

Returns: boolean - a value indicating whether to display progress line at current date.

getDisplayAtRecurringIntervals()

public final boolean getDisplayAtRecurringIntervals()

Gets a value indicating whether to display progress line at recurring intervals.

Returns: boolean - a value indicating whether to display progress line at recurring intervals.

getDisplaySelected()

public final boolean getDisplaySelected()

Gets a value indicating whether to display progress lines at the selected dates.

Returns: boolean - a value indicating whether to display progress lines at the selected dates.

getFont()

public final FontDescriptor getFont()

Gets the font used for progress line label.

Returns: FontDescriptor - the font used for progress line label.

getLineColor()

public final Color getLineColor()

Gets the line color for current progress line.

Returns: java.awt.Color - the line color for current progress line.

getLinePattern()

public final int getLinePattern()

Gets the line pattern of current progress line. LinePattern (getLinePattern()/setLinePattern(int)).

Returns: int - the line pattern of current progress line.

getOtherLineColor()

public final Color getOtherLineColor()

Gets the color of other progress line.

Returns: java.awt.Color - the color of other progress line.

getOtherLinePattern()

public final int getOtherLinePattern()

Gets the line pattern for other progress line.

Returns: int - the line pattern for other progress line.

getOtherProgressPointColor()

public final Color getOtherProgressPointColor()

Gets the color of other progress point.

Returns: java.awt.Color - the color of other progress point.

getOtherProgressPointShape()

public final int getOtherProgressPointShape()

Gets the progress point shape of other progress line.

Returns: int - the progress point shape of other progress line.

getProgressPointColor()

public final Color getProgressPointColor()

Gets the color of progress point.

Returns: java.awt.Color - the color of progress point.

getProgressPointShape()

public final int getProgressPointShape()

Gets the progress point shape. GanttBarEndShape.

Returns: int - the progress point shape.

getRecurringInterval()

public final RecurringInterval getRecurringInterval()

Gets the recurring interval. RecurringInterval (getRecurringInterval()/setRecurringInterval(RecurringInterval)).

Returns: RecurringInterval - the recurring interval.

getSelectedDates()

public final List<Date> getSelectedDates()

Gets the list of selected dates to display progress lines for.

Returns: java.util.List<java.util.Date> - the list of selected dates to display progress lines for.

getShowDate()

public final boolean getShowDate()

Gets a value indicating whether to show date for each progress line.

Returns: boolean - a value indicating whether to show date for each progress line.

isBaselinePlan()

public final boolean isBaselinePlan()

Gets a value indicating whether to display progress lines for baseline plan or actual.

Returns: boolean - a value indicating whether to display progress lines for baseline plan or actual.

isBaselinePlan(boolean value)

public final void isBaselinePlan(boolean value)

Sets a value indicating whether to display progress lines for baseline plan or actual.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether to display progress lines for baseline plan or actual.

setBeginAtDate(Date value)

public final void setBeginAtDate(Date value)

Sets the date to display progress lines from.

Parameters:

ParameterTypeDescription
valuejava.util.Datethe date to display progress lines from.

setBeginAtProjectStart(boolean value)

public final void setBeginAtProjectStart(boolean value)

Sets a value indicating whether to display progress lines from the beginning of the project start date.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether to display progress lines from the beginning of the project start date.

setDateFormat(int value)

public final void setDateFormat(int value)

Sets the date format (DateLabel).

Parameters:

ParameterTypeDescription
valueintthe date format (DateLabel).

setDisplayAtCurrentDate(boolean value)

public final void setDisplayAtCurrentDate(boolean value)

Sets a value indicating whether to display progress line at current date.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether to display progress line at current date.

setDisplayAtRecurringIntervals(boolean value)

public final void setDisplayAtRecurringIntervals(boolean value)

Sets a value indicating whether to display progress line at recurring intervals.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether to display progress line at recurring intervals.

setDisplaySelected(boolean value)

public final void setDisplaySelected(boolean value)

Sets a value indicating whether to display progress lines at the selected dates.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether to display progress lines at the selected dates.

setFont(FontDescriptor value)

public final void setFont(FontDescriptor value)

Sets the font used for progress line label.

Parameters:

ParameterTypeDescription
valueFontDescriptorthe font used for progress line label.

setLineColor(Color value)

public final void setLineColor(Color value)

Sets the line color for current progress line.

Parameters:

ParameterTypeDescription
valuejava.awt.Colorthe line color for current progress line.

setLinePattern(int value)

public final void setLinePattern(int value)

Sets the line pattern of current progress line. LinePattern (getLinePattern()/setLinePattern(int)).

Parameters:

ParameterTypeDescription
valueintthe line pattern of current progress line.

setOtherLineColor(Color value)

public final void setOtherLineColor(Color value)

Sets the color of other progress line.

Parameters:

ParameterTypeDescription
valuejava.awt.Colorthe color of other progress line.

setOtherLinePattern(int value)

public final void setOtherLinePattern(int value)

Sets the line pattern for other progress line.

Parameters:

ParameterTypeDescription
valueintthe line pattern for other progress line.

setOtherProgressPointColor(Color value)

public final void setOtherProgressPointColor(Color value)

Sets the color of other progress point.

Parameters:

ParameterTypeDescription
valuejava.awt.Colorthe color of other progress point.

setOtherProgressPointShape(int value)

public final void setOtherProgressPointShape(int value)

Sets the progress point shape of other progress line.

Parameters:

ParameterTypeDescription
valueintthe progress point shape of other progress line.

setProgressPointColor(Color value)

public final void setProgressPointColor(Color value)

Sets the color of progress point.

Parameters:

ParameterTypeDescription
valuejava.awt.Colorthe color of progress point.

setProgressPointShape(int value)

public final void setProgressPointShape(int value)

Sets the progress point shape. GanttBarEndShape.

Parameters:

ParameterTypeDescription
valueintthe progress point shape.

setRecurringInterval(RecurringInterval value)

public final void setRecurringInterval(RecurringInterval value)

Sets the recurring interval. RecurringInterval (getRecurringInterval()/setRecurringInterval(RecurringInterval)).

Parameters:

ParameterTypeDescription
valueRecurringIntervalthe recurring interval.

setShowDate(boolean value)

public final void setShowDate(boolean value)

Sets a value indicating whether to show date for each progress line.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether to show date for each progress line.