当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
SimpleSection (Editor Guarded Sections) - NetBeans API Javadoc (Current Development Version)
org.netbeans.api.editor.guards
Class SimpleSection
java.lang.Object
org.netbeans.api.editor.guards.GuardedSection
org.netbeans.api.editor.guards.SimpleSection
public final class SimpleSection
- extends GuardedSection
Represents a simple guarded section.
It consists of one contiguous block.
Method Summary |
void |
setText(String text)
Sets the text of the section. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setText
public void setText(String text)
- Sets the text of the section.
- Parameters:
text
- the new text