com.borland.jbuilder.jot
Interface JotLabelled
- All Superinterfaces:
- JotMarker, JotSourceElement, JotStatement
- public interface JotLabelled
- extends JotStatement
This interface represents a labelled statement in Java. See section 14.6 in
the Java Language Specification for more information.
Method Summary |
java.lang.String |
getLabel()
Returns the label string. |
JotStatement |
getStatement()
Returns the statement that is identified by this label. |
void |
setLabel(java.lang.String label)
Sets the label string. |
void |
setStatement(java.lang.String text)
Sets the statement text for this label. |
getLabel
public java.lang.String getLabel()
- Returns the label string.
setLabel
public void setLabel(java.lang.String label)
- Sets the label string.
getStatement
public JotStatement getStatement()
- Returns the statement that is identified by this label.
setStatement
public void setStatement(java.lang.String text)
- Sets the statement text for this label.