Java™ Platform
Standard Ed. 8
javax.swing.event

Interface DocumentListener

    • 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
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部