|
org.netbeans.modules.editor.guards/0 0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.editor.guards.GuardedSection
org.netbeans.api.editor.guards.InteriorSection
public final class InteriorSection
Represents an advanced guarded section. It consists of three pieces: a header, body, and footer. The header and footer are guarded but the body is not.
Method Summary | |
---|---|
String |
getBody()
Returns the contents of the body part of the section. |
Position |
getBodyEndPosition()
Returns a position where the body ends |
Position |
getBodyStartPosition()
Returns a position where the body starts |
String |
getFooter()
Returns the contents of the footer part of the guarded section. |
String |
getHeader()
Returns the contents of the header part of the section. |
void |
setBody(String text)
Sets the text of the body. |
void |
setFooter(String text)
Sets the text of the footer. |
void |
setHeader(String text)
Sets the text of the header. |
Methods inherited from class org.netbeans.api.editor.guards.GuardedSection |
---|
contains, deleteSection, getCaretPosition, getEndPosition, getName, getStartPosition, getText, isValid, removeSection, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setBody(String text)
text
- the new textpublic String getBody()
public void setHeader(String text)
text
- the new textpublic String getHeader()
public void setFooter(String text)
text
- the new textpublic String getFooter()
public Position getBodyStartPosition()
public Position getBodyEndPosition()
|
org.netbeans.modules.editor.guards/0 0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |