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 enum 
    The status is used to have proper propertyCHange support.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Configure the component using the given properties.
    void
    Called when the component is to be removed from the editor
    void
    Called to install the component on an editor
  • Method Details

    • 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(JEditorPane editor)
      Called to install the component on an editor
      Parameters:
      editor -
    • deinstall

      void deinstall(JEditorPane editor)
      Called when the component is to be removed from the editor
      Parameters:
      editor -