Package org.apache.pivot.wtk
Interface TextPaneSelectionListener
-
- All Known Implementing Classes:
TerraTextPaneSkin
,TextPaneSelectionListener.Listeners
,TextPaneSkin
public interface TextPaneSelectionListener
Text pane selection listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TextPaneSelectionListener.Listeners
Text pane selection listeners.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
selectionChanged(TextPane textPane, int previousSelectionStart, int previousSelectionLength)
Called when a text pane's selection state has changed.
-
-
-
Method Detail
-
selectionChanged
void selectionChanged(TextPane textPane, int previousSelectionStart, int previousSelectionLength)
Called when a text pane's selection state has changed.- Parameters:
textPane
- The source of this event.previousSelectionStart
- The offset where the selection used to start.previousSelectionLength
- What the selection length was previously.
-
-