Package org.apache.pivot.wtk
Interface TextArea.ParagraphListener
-
- All Known Implementing Classes:
TextArea.ParagraphListener.Adapter
,TextArea.ParagraphListener.Listeners
- Enclosing class:
- TextArea
public static interface TextArea.ParagraphListener
Paragraph listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TextArea.ParagraphListener.Adapter
Paragraph listener interface adapter.static class
TextArea.ParagraphListener.Listeners
Paragraph listeners.
-
Method Summary
All Methods Instance Methods Abstract 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
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.
-
-