站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

SimpleSection (Editor Guarded Sections) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.guards/0 0.1

org.netbeans.api.editor.guards
Class SimpleSection

java.lang.Object
  extended by org.netbeans.api.editor.guards.GuardedSection
      extended by 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 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

setText

public void setText(String text)
Sets the text of the section.

Parameters:
text - the new text

org.netbeans.modules.editor.guards/0 0.1

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.