org.apache.pivot.wtk
Class TextArea.ParagraphListener.Adapter
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextArea.ParagraphListener.Adapter
public TextArea.ParagraphListener.Adapter()
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.