Package org.apache.pivot.wtk
Class TextPaneCharacterListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.TextPaneCharacterListener.Adapter
-
- All Implemented Interfaces:
TextPaneCharacterListener
- Enclosing interface:
- TextPaneCharacterListener
@Deprecated public static class TextPaneCharacterListener.Adapter extends java.lang.Object implements TextPaneCharacterListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Text pane character listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TextPaneCharacterListener
TextPaneCharacterListener.Adapter, TextPaneCharacterListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
charactersInserted(TextPane textPane, int index, int count)
Deprecated.Called when characters have been inserted into a text pane.void
charactersRemoved(TextPane textPane, int index, int count)
Deprecated.Called when characters have been removed from a text pane.
-
-
-
Method Detail
-
charactersInserted
public void charactersInserted(TextPane textPane, int index, int count)
Deprecated.Description copied from interface:TextPaneCharacterListener
Called when characters have been inserted into a text pane.- Specified by:
charactersInserted
in interfaceTextPaneCharacterListener
- Parameters:
textPane
- The text pane whose text has changed.index
- The starting point of the text insertion.count
- The count of characters inserted there.
-
charactersRemoved
public void charactersRemoved(TextPane textPane, int index, int count)
Deprecated.Description copied from interface:TextPaneCharacterListener
Called when characters have been removed from a text pane.- Specified by:
charactersRemoved
in interfaceTextPaneCharacterListener
- Parameters:
textPane
- The text pane whose text has changed.index
- The starting point where text was removed.count
- Number of characters removed starting from there.
-
-