|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The JotQuestionExpression
interface represents the conditional
operator (? :). It has the form
x < 10 ? "Foo" : "Bar"
Field Summary |
Method Summary | |
JotExpression |
getCondition()
Retrieves the conditional sub-expression. |
JotExpression |
getWhenFalseExpression()
Retrieves the expression evaluated when the condition is false. |
JotExpression |
getWhenTrueExpression()
Retrieves the expression evaluated when the condition is true. |
void |
setCondition(java.lang.String exp)
Sets the conditional sub-expression. |
void |
setWhenFalseExpression(java.lang.String exp)
Sets the false sub-expression. |
void |
setWhenTrueExpression(java.lang.String exp)
Sets the true sub-expression. |
Methods inherited from interface oracle.jdeveloper.jot.JotElement |
getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
Method Detail |
public JotExpression getCondition()
public void setCondition(java.lang.String exp)
exp
- the new expression string.public JotExpression getWhenTrueExpression()
public void setWhenTrueExpression(java.lang.String exp)
exp
- the new expression string.public JotExpression getWhenFalseExpression()
public void setWhenFalseExpression(java.lang.String exp)
exp
- the new expression string.
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.