org.apache.pivot.wtk
Class TextAreaContentListener.Adapter

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

public static class TextAreaContentListener.Adapter
extends Object
implements TextAreaContentListener

Text input text listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TextAreaContentListener
TextAreaContentListener.Adapter
 
Constructor Summary
TextAreaContentListener.Adapter()
           
 
Method Summary
 void paragraphInserted(TextArea textArea, int index)
          Called when a paragraph has been inserted into a text area's paragraph sequence.
 void paragraphsRemoved(TextArea textArea, int index, Sequence<TextArea.Paragraph> removed)
          Called when paragraphs have been removed from a text area's paragraph sequence.
 void textChanged(TextArea textArea)
          Called when a text area's text has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextAreaContentListener.Adapter

public TextAreaContentListener.Adapter()
Method Detail

paragraphInserted

public void paragraphInserted(TextArea textArea,
                              int index)
Description copied from interface: TextAreaContentListener
Called when a paragraph has been inserted into a text area's paragraph sequence.

Specified by:
paragraphInserted in interface TextAreaContentListener
Parameters:
textArea - The source of the event.
index - The index at which the paragraph was inserted.

paragraphsRemoved

public void paragraphsRemoved(TextArea textArea,
                              int index,
                              Sequence<TextArea.Paragraph> removed)
Description copied from interface: TextAreaContentListener
Called when paragraphs have been removed from a text area's paragraph sequence.

Specified by:
paragraphsRemoved in interface TextAreaContentListener
Parameters:
textArea - The source of the event.
index - The starting index from which the paragraphs were removed.
removed - The paragraphs that were removed.

textChanged

public void textChanged(TextArea textArea)
Description copied from interface: TextAreaContentListener
Called when a text area's text has changed.

Specified by:
textChanged in interface TextAreaContentListener
Parameters:
textArea - The source of the event.