Module java.desktop

Interface DocumentListener

    • Method Summary

      Modifier and Type Method Description
      void changedUpdate​(DocumentEvent e)
      Gives notification that an attribute or set of attributes changed.
      void insertUpdate​(DocumentEvent e)
      Gives notification that there was an insert into the document.
      void removeUpdate​(DocumentEvent e)
      Gives notification that a portion of the document has been removed.
    • Method Detail

      • insertUpdate

        void insertUpdate​(DocumentEvent e)
        Gives notification that there was an insert into the document. The range given by the DocumentEvent bounds the freshly inserted region.
        Parameters:
        e - the document event
      • removeUpdate

        void removeUpdate​(DocumentEvent e)
        Gives notification that a portion of the document has been removed. The range is given in terms of what the view last saw (that is, before updating sticky positions).
        Parameters:
        e - the document event
      • changedUpdate

        void changedUpdate​(DocumentEvent e)
        Gives notification that an attribute or set of attributes changed.
        Parameters:
        e - the document event