|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.option.ConstraintManager.Condition
public static final class ConstraintManager.Condition
A Condition that can be used to trigger or control different behavior.
Method Summary | |
---|---|
ConstraintManager.Condition |
and(ConstraintManager.Condition other)
Creates a new Condition object which determines whether this condition and the other one is met. |
ConstraintManager.Condition |
inverse()
Creates a new Condition object which determines whether this condition is not met. |
boolean |
isTrue(Editor forEditor)
Determines whether the condition is met for the given editor. |
ConstraintManager.Condition |
or(ConstraintManager.Condition other)
Creates a new Condition object which determines whether this or the other condition is met. |
ConstraintManager.Condition |
xor(ConstraintManager.Condition other)
Creates a new Condition object which determines whether either this condition or the other one is met. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isTrue(Editor forEditor)
forEditor
- the editor to inspect
public ConstraintManager.Condition or(ConstraintManager.Condition other)
other
- the other condition to check
or
of this
and other
public ConstraintManager.Condition inverse()
this
.public ConstraintManager.Condition and(ConstraintManager.Condition other)
other
- the other condition to check
and
of this
and other
public ConstraintManager.Condition xor(ConstraintManager.Condition other)
other
- the other condition to check
this
and other
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |