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 TypeMethodDescriptionvoidcaretUpdate(CaretEvent evt) protected voidfinalize()voidsetNoSelectionFormat(String noSelectionFormat) voidsetSelectionFormat(String selectionFormat) protected voidupdateLabel(int pos)
-
Constructor Details
-
CaretMonitor
-
-
Method Details
-
caretUpdate
- Specified by:
caretUpdatein interfaceCaretListener
-
updateLabel
protected void updateLabel(int pos) -
finalize
-
getNoSelectionFormat
-
setNoSelectionFormat
-
getSelectionFormat
-
setSelectionFormat
-