|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ASSwitchCase
Obtained from ASSwitchStatement.newCase(String)
, ASSwitchCase
represents a switch-statement case-label, and the list of statements
immediately following it.
ASSwitchStatement
Method Summary | |
---|---|
java.lang.String |
getLabelValueString()
Returns a string representation of the value expression for this label. |
void |
setLabelValue(java.lang.String constant)
Changes the value expression for this case label. |
Methods inherited from interface uk.co.badgersinfoil.metaas.dom.StatementContainer |
---|
addComment, addStmt, containsCode, getStatementList, newDeclaration, newDoWhile, newExprStmt, newFor, newForEachIn, newForIn, newIf, newReturn, newSwitch, newWhile, newWith |
Method Detail |
---|
java.lang.String getLabelValueString()
case 42:
, this method
would return the string "42"
.
void setLabelValue(java.lang.String constant)
SyntaxException
- if the given
string is not a valid ActionScript expression.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |