org.apache.pivot.wtk
Interface TextArea.ParagraphListener

All Known Implementing Classes:
TextArea.ParagraphListener.Adapter, TextAreaSkinParagraphView
Enclosing class:
TextArea

public static interface TextArea.ParagraphListener

Paragraph listener interface.


Nested Class Summary
static class TextArea.ParagraphListener.Adapter
          Paragraph listener interface adapter.
 
Method Summary
 void textInserted(TextArea.Paragraph paragraph, int index, int count)
          Called when text has been inserted into a paragraph.
 void textRemoved(TextArea.Paragraph paragraph, int index, int count)
          Called when characters have been removed from a paragraph.
 

Method Detail

textInserted

void textInserted(TextArea.Paragraph paragraph,
                  int index,
                  int count)
Called when text has been inserted into a paragraph.

Parameters:
paragraph - The source of the event.
index - The index at which the text was inserted.
count - The number of characters that were inserted.

textRemoved

void textRemoved(TextArea.Paragraph paragraph,
                 int index,
                 int count)
Called when characters have been removed from a paragraph.

Parameters:
paragraph - The source of the event.
index - The index from which the text was removed.
count - The number of characters that were removed.