public class GanttBarStyle extends Object
Represents a bar style used by MSP in Gantt Chart view.
Constructor and Description |
---|
GanttBarStyle()
Initializes a new instance of the
GanttBarStyle class. |
Modifier and Type | Method and Description |
---|---|
int |
getBottomField()
Gets data to be displayed on the bottom of the bar.
|
int |
getEndShape()
Gets an end shape of the bar.
|
Color |
getEndShapeColor()
Gets a color of the end shape.
|
int |
getEndShapeType()
Gets a type of the end shape.
|
int |
getFrom()
Gets a start point position of the gantt bar.
|
int |
getInsideField()
Gets data to be displayed inside of the bar.
|
int |
getLeftField()
Gets data to be displayed on the left of the bar.
|
int |
getMiddleFillPattern()
Gets a fill pattern of the gantt bar.
|
int |
getMiddleShape()
Gets a middle shape of the bar.
|
Color |
getMiddleShapeColor()
Gets a color of the middle shape.
|
String |
getName()
Gets a name of the style.
|
GanttBarStyle |
getParentStyle()
Gets parent (or common) style for custom task-specific style.
|
int |
getRightField()
Gets data to be displayed on the right of the bar.
|
int |
getRow()
Gets a row number.
|
String |
getShowFor()
Deprecated.
This property will be deleted in release 20.11. Please use more specific 'ShowForCategories' for base
styles and 'ShowForTaskUid' for per-task styles.
|
List<Integer> |
getShowForCategories()
Gets task categories for which the style is applied.
|
Integer |
getShowForTaskUid()
Gets Unique Id of a task for which the style is applied.
|
int |
getStartShape()
Gets a start shape of the bar.
|
Color |
getStartShapeColor()
Gets a color of the start shape.
|
int |
getStartShapeType()
Gets a type of the start shape.
|
int |
getTo()
Gets a finish point position of the gantt bar.
|
int |
getTopField()
Gets data to be displayed on the top of the bar.
|
void |
setBottomField(int value)
Sets data to be displayed on the bottom of the bar.
|
void |
setEndShape(int value)
Sets an end shape of the bar.
|
void |
setEndShapeColor(Color value)
Sets a color of the end shape.
|
void |
setEndShapeType(int value)
Sets a type of the end shape.
|
void |
setFrom(int value)
Sets a start point position of the gantt bar.
|
void |
setInsideField(int value)
Sets data to be displayed inside of the bar.
|
void |
setLeftField(int value)
Sets data to be displayed on the left of the bar.
|
void |
setMiddleFillPattern(int value)
Sets a fill pattern of the gantt bar.
|
void |
setMiddleShape(int value)
Sets a middle shape of the bar.
|
void |
setMiddleShapeColor(Color value)
Sets a color of the middle shape.
|
void |
setName(String value)
Sets a name of the style.
|
void |
setParentStyle(GanttBarStyle value)
Sets parent (or common) style for custom task-specific style.
|
void |
setRightField(int value)
Sets data to be displayed on the right of the bar.
|
void |
setRow(int value)
Sets a row number.
|
void |
setShowFor(String value)
Deprecated.
This property will be deleted in release 20.11. Please use more specific 'ShowForCategories' for base
styles and 'ShowForTaskUid' for per-task styles.
|
void |
setShowForCategories(List<Integer> value)
Sets task categories for which the style is applied.
|
void |
setShowForTaskUid(Integer value)
Sets Unique Id of a task for which the style is applied.
|
void |
setStartShape(int value)
Sets a start shape of the bar.
|
void |
setStartShapeColor(Color value)
Sets a color of the start shape.
|
void |
setStartShapeType(int value)
Sets a type of the start shape.
|
void |
setTo(int value)
Sets a finish point position of the gantt bar.
|
void |
setTopField(int value)
Sets data to be displayed on the top of the bar.
|
public GanttBarStyle()
Initializes a new instance of the GanttBarStyle
class.
public final int getBottomField()
Gets data to be displayed on the bottom of the bar.
Field
.
public final void setBottomField(int value)
Sets data to be displayed on the bottom of the bar.
Field
.
value
- data to be displayed on the bottom of the bar.public final int getEndShape()
Gets an end shape of the bar.
public final void setEndShape(int value)
Sets an end shape of the bar.
value
- an end shape of the bar.public final Color getEndShapeColor()
Gets a color of the end shape.
public final void setEndShapeColor(Color value)
Sets a color of the end shape.
value
- a color of the end shape.public final int getEndShapeType()
Gets a type of the end shape.
GanttBarType
.
public final void setEndShapeType(int value)
Sets a type of the end shape.
GanttBarType
.
value
- a type of the end shape.public final int getFrom()
Gets a start point position of the gantt bar.
Field
.
public final void setFrom(int value)
Sets a start point position of the gantt bar.
Field
.
value
- a start point position of the gantt bar.public final int getInsideField()
Gets data to be displayed inside of the bar.
Field
.
public final void setInsideField(int value)
Sets data to be displayed inside of the bar.
Field
.
value
- data to be displayed inside of the bar.public final int getLeftField()
Gets data to be displayed on the left of the bar.
Field
.
public final void setLeftField(int value)
Sets data to be displayed on the left of the bar.
Field
.
value
- data to be displayed on the left of the bar.public final int getMiddleFillPattern()
Gets a fill pattern of the gantt bar.
public final void setMiddleFillPattern(int value)
Sets a fill pattern of the gantt bar.
value
- a fill pattern of the gantt bar.public final int getMiddleShape()
Gets a middle shape of the bar.
public final void setMiddleShape(int value)
Sets a middle shape of the bar.
value
- a middle shape of the bar.public final Color getMiddleShapeColor()
Gets a color of the middle shape.
public final void setMiddleShapeColor(Color value)
Sets a color of the middle shape.
value
- a color of the middle shape.public final String getName()
Gets a name of the style.
public final void setName(String value)
Sets a name of the style.
value
- a name of the style.public final GanttBarStyle getParentStyle()
Gets parent (or common) style for custom task-specific style.
public final int getRightField()
Gets data to be displayed on the right of the bar.
Field
.
public final void setRightField(int value)
Sets data to be displayed on the right of the bar.
Field
.
value
- data to be displayed on the right of the bar.public final int getRow()
Gets a row number.
public final void setRow(int value)
Sets a row number.
value
- a row number.@Deprecated public final String getShowFor()
Gets task categories separated by semicolons, which are to be represented by the gantt bar.
@Deprecated public final void setShowFor(String value)
Sets task categories separated by semicolons, which are to be represented by the gantt bar.
value
- task categories separated by semicolons, which are to be represented by the gantt bar.public final List<Integer> getShowForCategories()
Gets task categories for which the style is applied. Is applicable for parent (or common) styles of bars in Gantt
chart
(see GanttChartView.BarStyles
(GanttChartView.getBarStyles()
)).
public final void setShowForCategories(List<Integer> value)
Sets task categories for which the style is applied. Is applicable for parent (or common) styles of bars in Gantt
chart
(see GanttChartView.BarStyles
(GanttChartView.getBarStyles()
)).
value
- task categories for which the style is applied.public final Integer getShowForTaskUid()
Gets Unique Id of a task for which the style is applied. Is applicable for task-specific styles of bars in Gantt
chart (see GanttChartView.CustomBarStyles
(GanttChartView.getCustomBarStyles()
)).
public final void setShowForTaskUid(Integer value)
Sets Unique Id of a task for which the style is applied. Is applicable for task-specific styles of bars in Gantt
chart (see GanttChartView.CustomBarStyles
(GanttChartView.getCustomBarStyles()
)).
value
- Unique Id of a task for which the style is applied.public final int getStartShape()
Gets a start shape of the bar.
public final void setStartShape(int value)
Sets a start shape of the bar.
value
- a start shape of the bar.public final Color getStartShapeColor()
Gets a color of the start shape.
public final void setStartShapeColor(Color value)
Sets a color of the start shape.
value
- a color of the start shape.public final int getStartShapeType()
Gets a type of the start shape.
public final void setStartShapeType(int value)
Sets a type of the start shape.
value
- a type of the start shape.public final int getTo()
Gets a finish point position of the gantt bar.
public final void setTo(int value)
Sets a finish point position of the gantt bar.
value
- a finish point position of the gantt bar.public final int getTopField()
Gets data to be displayed on the top of the bar.
public final void setTopField(int value)
Sets data to be displayed on the top of the bar.
value
- data to be displayed on the top of the bar.public final void setParentStyle(GanttBarStyle value)
Sets parent (or common) style for custom task-specific style.
value
- parent (or common) style for custom task-specific style.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.