org.apache.pivot.wtk
Class TextArea.ParagraphListener.Adapter

java.lang.Object
  extended by org.apache.pivot.wtk.TextArea.ParagraphListener.Adapter
All Implemented Interfaces:
TextArea.ParagraphListener
Enclosing interface:
TextArea.ParagraphListener

public static class TextArea.ParagraphListener.Adapter
extends Object
implements TextArea.ParagraphListener

Paragraph listener interface adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TextArea.ParagraphListener
TextArea.ParagraphListener.Adapter
 
Constructor Summary
TextArea.ParagraphListener.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextArea.ParagraphListener.Adapter

public TextArea.ParagraphListener.Adapter()
Method Detail

textInserted

public void textInserted(TextArea.Paragraph paragraph,
                         int index,
                         int count)
Description copied from interface: TextArea.ParagraphListener
Called when text has been inserted into a paragraph.

Specified by:
textInserted in interface TextArea.ParagraphListener
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

public void textRemoved(TextArea.Paragraph paragraph,
                        int index,
                        int count)
Description copied from interface: TextArea.ParagraphListener
Called when characters have been removed from a paragraph.

Specified by:
textRemoved in interface TextArea.ParagraphListener
Parameters:
paragraph - The source of the event.
index - The index from which the text was removed.
count - The number of characters that were removed.