Package jsyntaxpane.components
Interface SyntaxComponent
-
- All Known Implementing Classes:
LineNumbersRuler,PairsMarker,TokenMarker
public interface SyntaxComponentA 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 classSyntaxComponent.StatusThe status is used to have proper propertyCHange support.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfig(Configuration config)Configure the component using the given properties.voiddeinstall(javax.swing.JEditorPane editor)Called when the component is to be removed from the editorvoidinstall(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-
-
-