org.apache.pivot.wtk
Class TextArea.Paragraph

java.lang.Object
  extended by org.apache.pivot.wtk.TextArea.Paragraph
Enclosing class:
TextArea

public static final class TextArea.Paragraph
extends Object

Class representing a paragraph of text.


Constructor Summary
TextArea.Paragraph()
           
 
Method Summary
 void append(char character)
           
 void clear()
           
 CharSequence getCharacters()
           
 int getOffset()
           
 ListenerList<TextArea.ParagraphListener> getParagraphListeners()
           
 TextArea getTextArea()
           
 void insertText(CharSequence text, int index)
           
 void removeText(int index)
           
 void removeText(int index, int count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextArea.Paragraph

public TextArea.Paragraph()
Method Detail

getCharacters

public CharSequence getCharacters()

getTextArea

public TextArea getTextArea()

append

public void append(char character)

clear

public void clear()

insertText

public void insertText(CharSequence text,
                       int index)

removeText

public void removeText(int index)

removeText

public void removeText(int index,
                       int count)

getOffset

public int getOffset()

getParagraphListeners

public ListenerList<TextArea.ParagraphListener> getParagraphListeners()