|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectprefuse.data.expression.AbstractExpression
prefuse.visual.expression.GroupExpression
prefuse.visual.expression.InGroupPredicate
prefuse.visual.expression.SearchPredicate
Expression that indicates if an item is currently a member of a data group of the type
SearchTupleSet, but including a possible special case in
which all items should be pass through the predicate if no search query is specified.
The data group name is provided by a String-valued sub-expression.
| Field Summary |
| Fields inherited from class prefuse.visual.expression.GroupExpression |
m_group |
| Fields inherited from interface prefuse.data.expression.Function |
VARARGS |
| Constructor Summary | |
SearchPredicate()
Create a new SearchPredicate. |
|
SearchPredicate(boolean includeAllByDefault)
Create a new SearchPredicate. |
|
SearchPredicate(java.lang.String group,
boolean includeAllByDefault)
Create a new SearchPredicate. |
|
| Method Summary | |
void |
addParameter(Expression e)
Attempts to add the given expression as the group expression. |
boolean |
getBoolean(Tuple t)
Evaluate the Expression on the given input Tuple. |
java.lang.String |
getName()
Get the name of this function. |
int |
getParameterCount()
Get the maximum number of parameters accepted by this Function. |
java.lang.String |
toString()
|
| Methods inherited from class prefuse.visual.expression.InGroupPredicate |
get, getType |
| Methods inherited from class prefuse.visual.expression.GroupExpression |
getGroup |
| Methods inherited from class prefuse.data.expression.AbstractExpression |
addChildListeners, addExpressionListener, expressionChanged, fireExpressionChange, getDouble, getFloat, getInt, getLong, hasListeners, removeChildListeners, removeExpressionListener, visit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface prefuse.data.expression.Expression |
addExpressionListener, getDouble, getFloat, getInt, getLong, removeExpressionListener, visit |
| Constructor Detail |
public SearchPredicate()
Visualization.ALL_ITEMS data group and assumes all items
should pass the predicate if no search query has been specified.
public SearchPredicate(boolean includeAllByDefault)
Visualization.ALL_ITEMS data group.
includeAllByDefault - indicates if all items
should pass the predicate if no search query has been specified.
public SearchPredicate(java.lang.String group,
boolean includeAllByDefault)
group - the data group to look up, should resolve to a
SearchTupleSet instance.includeAllByDefault - indicates if all items
should pass the predicate if no search query has been specified.| Method Detail |
public boolean getBoolean(Tuple t)
Expression
getBoolean in interface ExpressiongetBoolean in class InGroupPredicateExpression.getBoolean(prefuse.data.Tuple)public void addParameter(Expression e)
GroupExpression
addParameter in interface FunctionaddParameter in class GroupExpressionFunction.addParameter(prefuse.data.expression.Expression)public java.lang.String getName()
Function
getName in interface FunctiongetName in class InGroupPredicateFunction.getName()public int getParameterCount()
Function
getParameterCount in interface FunctiongetParameterCount in class GroupExpressionFunction.getParameterCount()public java.lang.String toString()
toString in class GroupExpressionObject.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||