Class DocumentAdapter

  • All Implemented Interfaces:
    EventListener, DocumentListener


    public abstract class DocumentAdapter
    extends Object
    implements DocumentListener
    A convenience adapter that delegates all three different event of a DocumentListener to a single update method. It allows implementing a DocumentListener by implementing a single method.
    • Constructor Detail

      • DocumentAdapter

        public DocumentAdapter()
    • Method Detail

      • update

        public abstract void update(DocumentEvent e)
        A general event that will be triggered by any of the DocumentListener's events.
        Parameters:
        e - the event that occurred.