|
|||||||||||
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.expression.NotPredicate
Predicate representing the negation of another predicate.
Constructor Summary | |
NotPredicate(Predicate p)
Create a new NotPredicate. |
Method Summary | |
protected void |
addChildListeners()
Add child listeners to catch and propagate sub-expression updates. |
boolean |
getBoolean(Tuple t)
Evaluate the Expression on the given input Tuple. |
Predicate |
getPredicate()
Get the negated predicate. |
protected void |
removeChildListeners()
Remove child listeners for sub-expression updates. |
java.lang.String |
toString()
|
void |
visit(ExpressionVisitor v)
Passes the visitor through this expression and any sub expressions |
Methods inherited from class prefuse.data.expression.AbstractPredicate |
get, getType |
Methods inherited from class prefuse.data.expression.AbstractExpression |
addExpressionListener, expressionChanged, fireExpressionChange, getDouble, getFloat, getInt, getLong, hasListeners, removeExpressionListener |
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 |
Constructor Detail |
public NotPredicate(Predicate p)
p
- the predicate to negateMethod Detail |
public Predicate getPredicate()
public boolean getBoolean(Tuple t)
Expression
getBoolean
in interface Expression
getBoolean
in class AbstractExpression
Expression.getBoolean(prefuse.data.Tuple)
public void visit(ExpressionVisitor v)
Expression
visit
in interface Expression
visit
in class AbstractExpression
Expression.visit(prefuse.data.expression.ExpressionVisitor)
public java.lang.String toString()
Object.toString()
protected void addChildListeners()
AbstractExpression
addChildListeners
in class AbstractExpression
AbstractExpression.addChildListeners()
protected void removeChildListeners()
AbstractExpression
removeChildListeners
in class AbstractExpression
AbstractExpression.removeChildListeners()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |