|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.mpp.GanttBarCommonStyle
net.sf.mpxj.mpp.GanttBarStyle
public final class GanttBarStyle
This class represents the default style for a Gantt chart bar.
| Constructor Summary | |
|---|---|
GanttBarStyle()
|
|
| Method Summary | |
|---|---|
void |
addShowForTasks(GanttBarShowForTasks tasks)
Adds a Show For criteria entry for this style. |
TaskField |
getFromField()
Retrieve the field used to determine the start date of this bar. |
String |
getName()
Retrieve the name of this style. |
int |
getRow()
Retrieve the row number of this bar. |
Set<GanttBarShowForTasks> |
getShowForTasks()
Retrieve set of Show For criteria for this style. |
TaskField |
getToField()
Retrieve the field used to determine the end date of this bar. |
void |
setFromField(TaskField field)
Set the field used to determine the start date of this bar. |
void |
setName(String name)
Sets the name of this style. |
void |
setRow(int row)
Sets the row number of this style. |
void |
setToField(TaskField field)
Sets the field used to determine the end date of this bar. |
String |
toString()
Generate a string representation of this instance. |
| Methods inherited from class net.sf.mpxj.mpp.GanttBarCommonStyle |
|---|
getBottomText, getEndColor, getEndShape, getEndType, getInsideText, getLeftText, getMiddleColor, getMiddlePattern, getMiddleShape, getRightText, getStartColor, getStartShape, getStartType, getTopText, setBottomText, setEndColor, setEndShape, setEndType, setInsideText, setLeftText, setMiddleColor, setMiddlePattern, setMiddleShape, setRightText, setStartColor, setStartShape, setStartType, setTopText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GanttBarStyle()
| Method Detail |
|---|
public TaskField getFromField()
public void setFromField(TaskField field)
field - from fieldpublic String getName()
public void setName(String name)
name - style namepublic int getRow()
public void setRow(int row)
row - row numberpublic TaskField getToField()
public void setToField(TaskField field)
field - to fieldpublic Set<GanttBarShowForTasks> getShowForTasks()
public void addShowForTasks(GanttBarShowForTasks tasks)
tasks - Show For entry criteriapublic String toString()
toString in class GanttBarCommonStyle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||