モジュール java.desktop
パッケージ javax.swing.text

クラスDefaultStyledDocument.AttributeUndoableEdit

    • フィールドの詳細

      • newAttributes

        protected AttributeSet newAttributes
        追加のエントリを含むAttributeSetは、不変である必要があります。
      • copy

        protected AttributeSet copy
        含まれている要素AttributeSetのコピー。
      • isReplacing

        protected boolean isReplacing
        要素内のすべての属性が最初に削除された場合はtrue。
      • element

        protected Element element
        影響を受けるエレメント。
    • コンストラクタの詳細

      • AttributeUndoableEdit

        public AttributeUndoableEdit​(Element element,
                                     AttributeSet newAttributes,
                                     boolean isReplacing)
        AttributeUndoableEditを作成します。
        パラメータ:
        element - 要素
        newAttributes - 新しい属性
        isReplacing - 要素内のすべての属性が最初に削除された場合はtrue。