Class TextPaneListener.Adapter

  • All Implemented Interfaces:
    TextPaneListener
    Enclosing interface:
    TextPaneListener

    @Deprecated
    public static class TextPaneListener.Adapter
    extends java.lang.Object
    implements TextPaneListener
    Deprecated.
    Since 2.1 and Java 8 the interface itself has default implementations.
    Text pane listener adapter.
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • documentChanged

        public void documentChanged​(TextPane textPane,
                                    Document previousDocument)
        Deprecated.
        Description copied from interface: TextPaneListener
        Called when a text pane's document has changed.
        Specified by:
        documentChanged in interface TextPaneListener
        Parameters:
        textPane - The text pane that changed.
        previousDocument - What the document used to be.
      • editableChanged

        public void editableChanged​(TextPane textPane)
        Deprecated.
        Description copied from interface: TextPaneListener
        Called when a text pane's editable state has changed.
        Specified by:
        editableChanged in interface TextPaneListener
        Parameters:
        textPane - The source of this event.