|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextgrid.api.pom.Expression
com.gridsystems.nextgrid.api.pom.expr.AbstractOperatorExpression
public abstract class AbstractOperatorExpression
Base class for conditional operator expressions (AND, OR, XOR, NAND, etc).
| Constructor Summary | |
|---|---|
AbstractOperatorExpression(nextgrid.api.pom.Expression... expr)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.util.List<nextgrid.api.pom.Expression> |
getExpressions()
Gets the list of expressions. |
boolean |
isEvaluatedLeftToRight()
Gets the evaluation order. |
boolean |
isShortcutModeEnabled()
Gets the current shortcut mode. |
void |
setEvaluatedLeftToRight(boolean l2r)
Sets the evaluation order. |
void |
setExpressions(nextgrid.api.pom.Expression... expr)
Sets the contained expression list. |
void |
setShortcutModeEnabled(boolean enabled)
Sets the shortcut mode. |
void |
validate()
|
| Methods inherited from class nextgrid.api.pom.Expression |
|---|
boolEval, getLang, getText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractOperatorExpression(nextgrid.api.pom.Expression... expr)
throws nextgrid.api.pom.ExpressionException
expr - Expression list
nextgrid.api.pom.ExpressionException - If an unexpected error occurs| Method Detail |
|---|
public final boolean isShortcutModeEnabled()
public final void setShortcutModeEnabled(boolean enabled)
enabled - The new shortcut modepublic final boolean isEvaluatedLeftToRight()
public final void setEvaluatedLeftToRight(boolean l2r)
l2r - true if the expressions must be evaluated left-to-right;
false otherwisepublic final void setExpressions(nextgrid.api.pom.Expression... expr)
expr - The list of expressionspublic final java.util.List<nextgrid.api.pom.Expression> getExpressions()
public void validate()
throws nextgrid.api.pom.ExpressionException
validate in class nextgrid.api.pom.Expressionnextgrid.api.pom.ExpressionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||