Package jsyntaxpane.actions
Class CaretMonitor
java.lang.Object
jsyntaxpane.actions.CaretMonitor
- All Implemented Interfaces:
EventListener
,CaretListener
This class can be used to display the caret location in friendly manner for
an EditorPane.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
caretUpdate
(CaretEvent evt) protected void
finalize()
void
setNoSelectionFormat
(String noSelectionFormat) void
setSelectionFormat
(String selectionFormat) protected void
updateLabel
(int pos)
-
Constructor Details
-
CaretMonitor
-
-
Method Details
-
caretUpdate
- Specified by:
caretUpdate
in interfaceCaretListener
-
updateLabel
protected void updateLabel(int pos) -
finalize
-
getNoSelectionFormat
-
setNoSelectionFormat
-
getSelectionFormat
-
setSelectionFormat
-