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.
 
Methods inherited from interface com.borland.jbuilder.jot.JotStatement
getCodeBlock, getStatements
 
Methods inherited from interface com.borland.jbuilder.jot.JotMarker
addUserData, getEndPosition, getStartPosition, getUserData
 
Methods inherited from interface com.borland.jbuilder.jot.JotSourceElement
getIndentLevel, getParent, getText, isModified, setModified, setText
 

Method Detail

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.