|
|||||||||||
| 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.GroupSizeFunction
GroupExpression that returns the size of a data group.
| Field Summary |
| Fields inherited from class prefuse.visual.expression.GroupExpression |
m_group |
| Fields inherited from interface prefuse.data.expression.Function |
VARARGS |
| Constructor Summary | |
GroupSizeFunction()
Create a new, uninitialized GroupSizeFunction. |
|
GroupSizeFunction(java.lang.String group)
Create a new GroupSizeFunction using the given data group name as the Function parameter. |
|
| Method Summary | |
java.lang.Object |
get(Tuple t)
Evaluate the Expression on the given input Tuple. |
double |
getDouble(Tuple t)
Evaluate the Expression on the given input Tuple. |
float |
getFloat(Tuple t)
Evaluate the Expression on the given input Tuple. |
int |
getInt(Tuple t)
Evaluate the Expression on the given input Tuple. |
long |
getLong(Tuple t)
Evaluate the Expression on the given input Tuple. |
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, getBoolean, 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, getBoolean, removeExpressionListener, visit |
| Constructor Detail |
public GroupSizeFunction()
public GroupSizeFunction(java.lang.String group)
group - the data group name to use as a parameter| Method Detail |
public java.lang.String getName()
Function
Function.getName()public java.lang.Class getType(Schema s)
Expression
Expression.getType(prefuse.data.Schema)public java.lang.Object get(Tuple t)
Expression
get in interface Expressionget in class AbstractExpressionExpression.get(prefuse.data.Tuple)public double getDouble(Tuple t)
Expression
getDouble in interface ExpressiongetDouble in class AbstractExpressionExpression.getDouble(prefuse.data.Tuple)public float getFloat(Tuple t)
Expression
getFloat in interface ExpressiongetFloat in class AbstractExpressionExpression.getFloat(prefuse.data.Tuple)public int getInt(Tuple t)
Expression
getInt in interface ExpressiongetInt in class AbstractExpressionExpression.getInt(prefuse.data.Tuple)public long getLong(Tuple t)
Expression
getLong in interface ExpressiongetLong in class AbstractExpressionExpression.getLong(prefuse.data.Tuple)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||