Class ProgressLines
- java.lang.Object
-
- com.aspose.tasks.ProgressLines
-
public class ProgressLines extends Object
Represents progress lines in a Gantt Chart view.
-
-
Constructor Summary
Constructors Constructor Description ProgressLines()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getBeginAtDate()
Gets the date to display progress lines from.boolean
getBeginAtProjectStart()
Gets a value indicating whether to display progress lines from the beginning of the project start date.int
getDateFormat()
Gets the date format (DateLabel
).boolean
getDisplayAtCurrentDate()
Gets a value indicating whether to display progress line at current date.boolean
getDisplayAtRecurringIntervals()
Gets a value indicating whether to display progress line at recurring intervals.boolean
getDisplaySelected()
Gets a value indicating whether to display progress lines at the selected dates.Font
getFont()
Gets the font used for progress line label.Color
getLineColor()
Gets the line color for current progress line.int
getLinePattern()
Gets the line pattern of current progress line.Color
getOtherLineColor()
Gets the color of other progress line.int
getOtherLinePattern()
Gets the line pattern for other progress line.Color
getOtherProgressPointColor()
Gets the color of other progress point.int
getOtherProgressPointShape()
Gets the progress point shape of other progress line.Color
getProgressPointColor()
Gets the color of progress point.int
getProgressPointShape()
Gets the progress point shape.RecurringInterval
getRecurringInterval()
Gets the recurring interval.List<Date>
getSelectedDates()
Gets the list of selected dates to display progress lines for.boolean
getShowDate()
Gets a value indicating whether to show date for each progress line.boolean
isBaselinePlan()
Gets a value indicating whether to display progress lines for baseline plan or actual.void
isBaselinePlan(boolean value)
Sets a value indicating whether to display progress lines for baseline plan or actual.void
setBeginAtDate(Date value)
Sets the date to display progress lines from.void
setBeginAtProjectStart(boolean value)
Sets a value indicating whether to display progress lines from the beginning of the project start date.void
setDateFormat(int value)
Sets the date format (DateLabel
).void
setDisplayAtCurrentDate(boolean value)
Sets a value indicating whether to display progress line at current date.void
setDisplayAtRecurringIntervals(boolean value)
Sets a value indicating whether to display progress line at recurring intervals.void
setDisplaySelected(boolean value)
Sets a value indicating whether to display progress lines at the selected dates.void
setFont(Font value)
Sets the font used for progress line label.void
setLineColor(Color value)
Sets the line color for current progress line.void
setLinePattern(int value)
Sets the line pattern of current progress line.void
setOtherLineColor(Color value)
Sets the color of other progress line.void
setOtherLinePattern(int value)
Sets the line pattern for other progress line.void
setOtherProgressPointColor(Color value)
Sets the color of other progress point.void
setOtherProgressPointShape(int value)
Sets the progress point shape of other progress line.void
setProgressPointColor(Color value)
Sets the color of progress point.void
setProgressPointShape(int value)
Sets the progress point shape.void
setRecurringInterval(RecurringInterval value)
Sets the recurring interval.void
setShowDate(boolean value)
Sets a value indicating whether to show date for each progress line.
-
-
-
Method Detail
-
getBeginAtDate
public final Date getBeginAtDate()
Gets the date to display progress lines from.
- Returns:
- the date to display progress lines from.
-
setBeginAtDate
public final void setBeginAtDate(Date value)
Sets the date to display progress lines from.
- Parameters:
value
- 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:
- a value indicating whether to display progress lines from the beginning of the project start date.
-
setBeginAtProjectStart
public final void setBeginAtProjectStart(boolean value)
Sets a value indicating whether to display progress lines from the beginning of the project start date.
- Parameters:
value
- 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:
- the date format (
DateLabel
).
-
setDateFormat
public final void setDateFormat(int value)
Sets the date format (
DateLabel
).- Parameters:
value
- the date format (DateLabel
).
-
getDisplayAtCurrentDate
public final boolean getDisplayAtCurrentDate()
Gets a value indicating whether to display progress line at current date.
- Returns:
- a value indicating whether to display progress line at current date.
-
setDisplayAtCurrentDate
public final void setDisplayAtCurrentDate(boolean value)
Sets a value indicating whether to display progress line at current date.
- Parameters:
value
- 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:
- a value indicating whether to display progress line at recurring intervals.
-
setDisplayAtRecurringIntervals
public final void setDisplayAtRecurringIntervals(boolean value)
Sets a value indicating whether to display progress line at recurring intervals.
- Parameters:
value
- 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:
- a value indicating whether to display progress lines at the selected dates.
-
setDisplaySelected
public final void setDisplaySelected(boolean value)
Sets a value indicating whether to display progress lines at the selected dates.
- Parameters:
value
- a value indicating whether to display progress lines at the selected dates.
-
getFont
public final Font getFont()
Gets the font used for progress line label.
- Returns:
- the font used for progress line label.
-
setFont
public final void setFont(Font value)
Sets the font used for progress line label.
- Parameters:
value
- the font used for progress line label.
-
getLineColor
public final Color getLineColor()
Gets the line color for current progress line.
- Returns:
- the line color for current progress line.
-
setLineColor
public final void setLineColor(Color value)
Sets the line color for current progress line.
- Parameters:
value
- 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:
- the line pattern of current progress line.
-
setLinePattern
public final void setLinePattern(int value)
Sets the line pattern of current progress line.
LinePattern
(getLinePattern()
/setLinePattern(int)
).- Parameters:
value
- the line pattern of current progress line.
-
getOtherLineColor
public final Color getOtherLineColor()
Gets the color of other progress line.
- Returns:
- the color of other progress line.
-
setOtherLineColor
public final void setOtherLineColor(Color value)
Sets the color of other progress line.
- Parameters:
value
- the color of other progress line.
-
getOtherLinePattern
public final int getOtherLinePattern()
Gets the line pattern for other progress line.
- Returns:
- the line pattern for other progress line.
-
setOtherLinePattern
public final void setOtherLinePattern(int value)
Sets the line pattern for other progress line.
- Parameters:
value
- the line pattern for other progress line.
-
getOtherProgressPointColor
public final Color getOtherProgressPointColor()
Gets the color of other progress point.
- Returns:
- the color of other progress point.
-
setOtherProgressPointColor
public final void setOtherProgressPointColor(Color value)
Sets the color of other progress point.
- Parameters:
value
- the color of other progress point.
-
getOtherProgressPointShape
public final int getOtherProgressPointShape()
Gets the progress point shape of other progress line.
- Returns:
- the progress point shape of other progress line.
-
setOtherProgressPointShape
public final void setOtherProgressPointShape(int value)
Sets the progress point shape of other progress line.
- Parameters:
value
- the progress point shape of other progress line.
-
getProgressPointColor
public final Color getProgressPointColor()
Gets the color of progress point.
- Returns:
- the color of progress point.
-
setProgressPointColor
public final void setProgressPointColor(Color value)
Sets the color of progress point.
- Parameters:
value
- the color of progress point.
-
getProgressPointShape
public final int getProgressPointShape()
Gets the progress point shape.
GanttBarEndShape
.- Returns:
- the progress point shape.
-
setProgressPointShape
public final void setProgressPointShape(int value)
Sets the progress point shape.
GanttBarEndShape
.- Parameters:
value
- the progress point shape.
-
getRecurringInterval
public final RecurringInterval getRecurringInterval()
Gets the recurring interval.
RecurringInterval
(getRecurringInterval()
/setRecurringInterval(RecurringInterval)
).- Returns:
- the recurring interval.
-
setRecurringInterval
public final void setRecurringInterval(RecurringInterval value)
Sets the recurring interval.
RecurringInterval
(getRecurringInterval()
/setRecurringInterval(RecurringInterval)
).- Parameters:
value
- the recurring interval.
-
getSelectedDates
public final List<Date> getSelectedDates()
Gets the list of selected dates to display progress lines for.
- Returns:
- 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:
- a value indicating whether to show date for each progress line.
-
setShowDate
public final void setShowDate(boolean value)
Sets a value indicating whether to show date for each progress line.
- Parameters:
value
- 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:
- a value indicating whether to display progress lines for baseline plan or actual.
-
isBaselinePlan
public final void isBaselinePlan(boolean value)
Sets a value indicating whether to display progress lines for baseline plan or actual.
- Parameters:
value
- a value indicating whether to display progress lines for baseline plan or actual.
-
-