|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.GraphicalIndicator
public class GraphicalIndicator
This class represents the set of information which defines how a Graphical Indicator will be presented for a single column in a table within Microsoft Project.
| Constructor Summary | |
|---|---|
GraphicalIndicator()
|
|
| Method Summary | |
|---|---|
void |
addNonSummaryRowCriteria(GraphicalIndicatorCriteria criteria)
Add criteria relating to non summary rows. |
void |
addProjectSummaryCriteria(GraphicalIndicatorCriteria criteria)
Add criteria relating to project summary. |
void |
addSummaryRowCriteria(GraphicalIndicatorCriteria criteria)
Add criteria relating to summary rows. |
int |
evaluate(FieldContainer container)
This method evaluates a if a graphical indicator should be displayed, given a set of Task or Resource data. |
boolean |
getDisplayGraphicalIndicators()
Retrieves a flag indicating if graphical indicators should be displayed for this column, rather than the actual values. |
FieldType |
getFieldType()
Retrieves the field type to which this indicator applies. |
List<GraphicalIndicatorCriteria> |
getNonSummaryRowCriteria()
Retrieve the criteria to be applied to non-summary rows. |
List<GraphicalIndicatorCriteria> |
getProjectSummaryCriteria()
Retrieve the criteria to be applied to the project summary. |
boolean |
getProjectSummaryInheritsFromSummaryRows()
Retrieves a flag which indicates if the project summary row inherits criteria from the summary row. |
boolean |
getShowDataValuesInToolTips()
Retrieve the flag which indicates that data values should be shown as tool tips. |
List<GraphicalIndicatorCriteria> |
getSummaryRowCriteria()
Retrieve the criteria to be applied to summary rows. |
boolean |
getSummaryRowsInheritFromNonSummaryRows()
Retrieves a flag which indicates if summary rows inherit criteria from non-summary rows. |
void |
setDisplayGraphicalIndicators(boolean displayGraphicalIndicators)
Sets a flag indicating if graphical indicators should be displayed for this column, rather than the actual values. |
void |
setFieldType(FieldType fieldType)
Sets the field type to which this indicator applies. |
void |
setProjectSummaryInheritsFromSummaryRows(boolean projectSummaryInheritsFromSummaryRows)
Sets a flag which indicates if the project summary row inherits criteria from the summary row. |
void |
setShowDataValuesInToolTips(boolean showDataValuesInToolTips)
Set the flag which indicates that data values should be shown as tool tips. |
void |
setSummaryRowsInheritFromNonSummaryRows(boolean summaryRowsInheritFromNonSummaryRows)
Sets a flag which indicates if summary rows inherit criteria from non-summary rows. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GraphicalIndicator()
| Method Detail |
|---|
public int evaluate(FieldContainer container)
container - Task or Resource instance
public void setFieldType(FieldType fieldType)
fieldType - field typepublic FieldType getFieldType()
public boolean getDisplayGraphicalIndicators()
public void setDisplayGraphicalIndicators(boolean displayGraphicalIndicators)
displayGraphicalIndicators - boolean flagpublic List<GraphicalIndicatorCriteria> getNonSummaryRowCriteria()
public List<GraphicalIndicatorCriteria> getProjectSummaryCriteria()
public List<GraphicalIndicatorCriteria> getSummaryRowCriteria()
public boolean getProjectSummaryInheritsFromSummaryRows()
public void setProjectSummaryInheritsFromSummaryRows(boolean projectSummaryInheritsFromSummaryRows)
projectSummaryInheritsFromSummaryRows - boolean flagpublic boolean getSummaryRowsInheritFromNonSummaryRows()
public void setSummaryRowsInheritFromNonSummaryRows(boolean summaryRowsInheritFromNonSummaryRows)
summaryRowsInheritFromNonSummaryRows - boolean flagpublic boolean getShowDataValuesInToolTips()
public void setShowDataValuesInToolTips(boolean showDataValuesInToolTips)
showDataValuesInToolTips - boolean flagpublic void addNonSummaryRowCriteria(GraphicalIndicatorCriteria criteria)
criteria - indicator criteriapublic void addSummaryRowCriteria(GraphicalIndicatorCriteria criteria)
criteria - indicator criteriapublic void addProjectSummaryCriteria(GraphicalIndicatorCriteria criteria)
criteria - indicator criteriapublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||