Package jsyntaxpane.components
Interface SyntaxComponent
-
- All Known Implementing Classes:
LineNumbersRuler
,PairsMarker
,TokenMarker
public interface SyntaxComponent
A Component that is installed to the EditorKit to perform GUI operations on the Editor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SyntaxComponent.Status
The status is used to have proper propertyCHange support.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
config(Configuration config)
Configure the component using the given properties.void
deinstall(javax.swing.JEditorPane editor)
Called when the component is to be removed from the editorvoid
install(javax.swing.JEditorPane editor)
Called to install the component on an editor
-
-
-
Method Detail
-
config
void config(Configuration config)
Configure the component using the given properties. The keys needed for configuration will be prefixed by the given prefix- Parameters:
config
- configuration data
-
install
void install(javax.swing.JEditorPane editor)
Called to install the component on an editor- Parameters:
editor
-
-
deinstall
void deinstall(javax.swing.JEditorPane editor)
Called when the component is to be removed from the editor- Parameters:
editor
-
-
-