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 ClassesModifier and TypeInterfaceDescriptionstatic enumThe status is used to have proper propertyCHange support. -
Method Summary
Modifier and TypeMethodDescriptionvoidconfig(Configuration config) Configure the component using the given properties.voiddeinstall(JEditorPane editor) Called when the component is to be removed from the editorvoidinstall(JEditorPane editor) Called to install the component on an editor
-
Method Details
-
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
Called to install the component on an editor- Parameters:
editor-
-
deinstall
Called when the component is to be removed from the editor- Parameters:
editor-
-