Package Summary  Overview Summary

class:DefaultStyledDocument.AttributeUndoableEdit [NONE]

field:newAttributes [NONE]

  • newAttributes

    protected AttributeSet newAttributes
    AttributeSet containing additional entries, must be non-mutable!

field:copy [NONE]

  • copy

    protected AttributeSet copy
    Copy of the AttributeSet the Element contained.

field:isReplacing [NONE]

  • isReplacing

    protected boolean isReplacing
    true if all the attributes in the element were removed first.

field:element [NONE]

  • element

    protected Element element
    Affected Element.

constructor:<init>(javax.swing.text.Element,javax.swing.text.AttributeSet,boolean) [NONE]

  • AttributeUndoableEdit

    public AttributeUndoableEdit​(Element element,
                                 AttributeSet newAttributes,
                                 boolean isReplacing)
    Constructs an AttributeUndoableEdit.
    Parameters:
    element - the element
    newAttributes - the new attributes
    isReplacing - true if all the attributes in the element were removed first.

method:redo() [NONE]

method:undo() [NONE]

© 2018 Oracle Corporation and/or its affiliates