|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprefuse.data.expression.AbstractExpression
prefuse.data.expression.AbstractPredicate
prefuse.data.util.ValidEdgePredicate
Filtering predicate over a potential edge table that indicates which edges are valid edges according to a backing node table. Useful for creating a pool of edges for which not all node have been created, and then filtering out the valid edges using the node pool.
Constructor Summary | |
ValidEdgePredicate(Graph g)
Creates a new ValidEdgePredicate. |
Method Summary | |
boolean |
getBoolean(Tuple tpl)
Indicates if the given tuple can be used as a valid edge for the nodes of the backing graph. |
Methods inherited from class prefuse.data.expression.AbstractPredicate |
get, getType |
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, toString, wait, wait, wait |
Methods inherited from interface prefuse.data.expression.Expression |
addExpressionListener, getDouble, getFloat, getInt, getLong, removeExpressionListener, visit |
Constructor Detail |
public ValidEdgePredicate(Graph g)
g
- the backing graph, the node table of this graph will be used
to check for valid edges.Method Detail |
public boolean getBoolean(Tuple tpl)
getBoolean
in interface Expression
getBoolean
in class AbstractExpression
tpl
- a data tuple from a potential edge table
Expression.getBoolean(prefuse.data.Tuple)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |