|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.data.expression.AbstractExpression prefuse.visual.expression.GroupExpression prefuse.visual.expression.InGroupPredicate
public class InGroupPredicate
Expression that indicates if an item is currently a member of a particular data group. 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 | |
---|---|
InGroupPredicate()
Create a new InGroupPredicate. |
|
InGroupPredicate(java.lang.String group)
Create a new InGroupPredicate. |
Method Summary | |
---|---|
java.lang.Object |
get(Tuple t)
By default, throws an UnsupportedOperationException. |
boolean |
getBoolean(Tuple t)
By default, throws an UnsupportedOperationException. |
java.lang.String |
getName()
Get the name of this function. |
java.lang.Class |
getType(Schema s)
Returns the type that this expression evaluates to when tuples with the given Schema are provided as input. |
Methods inherited from class prefuse.visual.expression.GroupExpression |
---|
addParameter, getGroup, getParameterCount, toString |
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 InGroupPredicate()
public InGroupPredicate(java.lang.String group)
group
- @param group the data group name to use as a parameterMethod Detail |
---|
public java.lang.Object get(Tuple t)
AbstractExpression
get
in interface Expression
get
in class AbstractExpression
t
- the input Tuple
Expression.get(prefuse.data.Tuple)
public boolean getBoolean(Tuple t)
AbstractExpression
getBoolean
in interface Expression
getBoolean
in class AbstractExpression
t
- the input Tuple
Expression.getBoolean(prefuse.data.Tuple)
public java.lang.String getName()
Function
getName
in interface Function
Function.getName()
public java.lang.Class getType(Schema s)
Expression
getType
in interface Expression
Expression.getType(prefuse.data.Schema)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |