org.netbeans.modules.editor.guards/1 1.12.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/1 1.12.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.