prefuse.data.expression
Interface Function

All Superinterfaces:
Expression
All Known Implementing Classes:
FunctionExpression, GroupExpression, GroupSizeFunction, HoverPredicate, InGroupPredicate, QueryExpression, SearchPredicate, ValidatedPredicate, VisiblePredicate

public interface Function
extends Expression

Expression sub-interface representing a function in the prefuse expression language.

Author:
jeffrey heer

Field Summary
static int VARARGS
          Constant indicating a vriable argument count
 
Method Summary
 void addParameter(Expression e)
          Add a parameter value sub-expression to this function.
 java.lang.String getName()
          Get the name of this function.
 int getParameterCount()
          Get the maximum number of parameters accepted by this Function.
 
Methods inherited from interface prefuse.data.expression.Expression
addExpressionListener, get, getBoolean, getDouble, getFloat, getInt, getLong, getType, removeExpressionListener, visit
 

Field Detail

VARARGS

static final int VARARGS
Constant indicating a vriable argument count

See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Get the name of this function.

Returns:
the function name

addParameter

void addParameter(Expression e)
Add a parameter value sub-expression to this function.

Parameters:
e - the parameter sub-expression

getParameterCount

int getParameterCount()
Get the maximum number of parameters accepted by this Function.

Returns:
the maximum number of parametes accepted, or VARARGS is the number is variable.


Copyright © 2007 Regents of the University of California