|
Extension SDK 10.1.2 | ||||||||||
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.JotCodeElement |
addPrecedingComment, childrenContainErrors, delete, getContainingJotFile, getLeftWhitespace, getLength, getRightWhitespace, isInError, isSource, setLeftWhitespace, setRightWhitespace |
Methods inherited from interface oracle.jdeveloper.jot.JotElement |
getChildren, getContainedElements, getElementName, getElementType, getEndOffset, getID, getJotWorkArea, getParent, getStartOffset, isExistent, isReadOnly, isStructureKnown, setParent |
Method Detail |
public JotExpression getCondition() throws JotInvalidElementException
JotInvalidElementException
public void setCondition(java.lang.String exp) throws JotInvalidElementException
exp
- the new expression string.
JotInvalidElementException
public JotExpression getWhenTrueExpression() throws JotInvalidElementException
JotInvalidElementException
public void setWhenTrueExpression(java.lang.String exp) throws JotInvalidElementException
exp
- the new expression string.
JotInvalidElementException
public JotExpression getWhenFalseExpression() throws JotInvalidElementException
JotInvalidElementException
public void setWhenFalseExpression(java.lang.String exp) throws JotInvalidElementException
exp
- the new expression string.
JotInvalidElementException
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.