public class SelectionSurroundPlugin extends java.lang.Object implements EditorPlugin
Constructor and Description |
---|
SelectionSurroundPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
deinstall(BasicEditorPane editor)
Called when the plugin is being removed from the BasicEditorPane
(for example when the editor is closed.) This is used to notify
plugins that they should unregister any listeners that were
attached.
|
protected char[][] |
getSurrounds()
Return an array of char pairs.
|
void |
install(BasicEditorPane editor)
Called when this plugin is being installed into the BasicEditorPane.
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
public void install(BasicEditorPane editor)
EditorPlugin
install
in interface EditorPlugin
editor
- the editor panepublic void deinstall(BasicEditorPane editor)
EditorPlugin
deinstall
in interface EditorPlugin
editor
- the editor panepublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
protected char[][] getSurrounds()