Package org.apache.pivot.wtk
Interface TextPaneListener
-
- All Known Implementing Classes:
TerraTextPaneSkin
,TextPaneListener.Adapter
,TextPaneListener.Listeners
,TextPaneSkin
public interface TextPaneListener
Text pane listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TextPaneListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
TextPaneListener.Listeners
Text pane listeners.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
documentChanged(TextPane textPane, Document previousDocument)
Called when a text pane's document has changed.default void
editableChanged(TextPane textPane)
Called when a text pane's editable state has changed.
-
-
-
Method Detail
-
documentChanged
default void documentChanged(TextPane textPane, Document previousDocument)
Called when a text pane's document has changed.- Parameters:
textPane
- The text pane that changed.previousDocument
- What the document used to be.
-
editableChanged
default void editableChanged(TextPane textPane)
Called when a text pane's editable state has changed.- Parameters:
textPane
- The source of this event.
-
-