Package 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 java.lang.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, TextArea.ParagraphListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
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 interfaceTextArea.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 interfaceTextArea.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.
-
-