Package org.apache.pivot.wtk
Class TextAreaContentListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.TextAreaContentListener.Adapter
-
- All Implemented Interfaces:
TextAreaContentListener
- Enclosing interface:
- TextAreaContentListener
@Deprecated public static class TextAreaContentListener.Adapter extends java.lang.Object implements TextAreaContentListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Text input text listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TextAreaContentListener
TextAreaContentListener.Adapter, TextAreaContentListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
paragraphInserted(TextArea textArea, int index)
Deprecated.Called when a paragraph has been inserted into a text area's paragraph sequence.void
paragraphsRemoved(TextArea textArea, int index, Sequence<TextArea.Paragraph> removed)
Deprecated.Called when paragraphs have been removed from a text area's paragraph sequence.void
textChanged(TextArea textArea)
Deprecated.Called when a text area's text has changed.
-
-
-
Method Detail
-
paragraphInserted
public void paragraphInserted(TextArea textArea, int index)
Deprecated.Description copied from interface:TextAreaContentListener
Called when a paragraph has been inserted into a text area's paragraph sequence.- Specified by:
paragraphInserted
in interfaceTextAreaContentListener
- 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)
Deprecated.Description copied from interface:TextAreaContentListener
Called when paragraphs have been removed from a text area's paragraph sequence.- Specified by:
paragraphsRemoved
in interfaceTextAreaContentListener
- 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)
Deprecated.Description copied from interface:TextAreaContentListener
Called when a text area's text has changed.- Specified by:
textChanged
in interfaceTextAreaContentListener
- Parameters:
textArea
- The source of the event.
-
-