|
||||||||||
| 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
public class 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)
By default, throws an UnsupportedOperationException. |
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 negate| Method Detail |
|---|
public Predicate getPredicate()
public boolean getBoolean(Tuple t)
AbstractExpression
getBoolean in interface ExpressiongetBoolean in class AbstractExpressiont - the input Tuple
Expression.getBoolean(prefuse.data.Tuple)public void visit(ExpressionVisitor v)
Expression
visit in interface Expressionvisit in class AbstractExpressionv - the ExpressionVisitorExpression.visit(prefuse.data.expression.ExpressionVisitor)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()protected void addChildListeners()
AbstractExpression
addChildListeners in class AbstractExpressionAbstractExpression.addChildListeners()protected void removeChildListeners()
AbstractExpression
removeChildListeners in class AbstractExpressionAbstractExpression.removeChildListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||