|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.sf.mpxj.GenericCriteria
net.sf.mpxj.FilterCriteria
public final class FilterCriteria
This class represents the criteria used to determine if a row is filtered from a view.
| Constructor Summary | |
|---|---|
FilterCriteria(ProjectFile projectFile)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
evaluate(FieldContainer container)
Called to evaluate whether a row on a task or resource view should be filtered. |
FilterCriteriaLogicType |
getCriteriaLogic()
Retrieves the "logical and" flag. |
java.lang.String |
getPromptText(int index)
This method retrieves the given item of prompt text. |
boolean |
getPromptTextSet()
Retrieves a flag indicating if prompt text has been set for this criteria. |
void |
setCriteriaLogic(FilterCriteriaLogicType logicalAnd)
Flag indicating if a logical AND operator is used to join the following filter criteria (true) or a logical OR (false). |
void |
setPromptText(int index,
java.lang.String text)
Sets an item of prompt text. |
java.lang.String |
toString()
|
| Methods inherited from class net.sf.mpxj.GenericCriteria |
|---|
evaluateCriteria, getField, getOperator, getValue, setField, setOperator, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FilterCriteria(ProjectFile projectFile)
projectFile - parent project file| Method Detail |
|---|
public boolean evaluate(FieldContainer container)
container - task or resource data container
public void setCriteriaLogic(FilterCriteriaLogicType logicalAnd)
logicalAnd - boolean flagpublic FilterCriteriaLogicType getCriteriaLogic()
public java.lang.String getPromptText(int index)
index - text index, either 0 or 1
public void setPromptText(int index,
java.lang.String text)
index - text index, either 0 or 1text - prompt textpublic boolean getPromptTextSet()
public java.lang.String toString()
toString in class GenericCriteria
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||