JavaTM 2
Platform
Std.  Ed.  v1. 4.0

javax.swing.text
클래스 DefaultStyledDocument.AttributeUndoableEdit

java.lang.Object 
  |
  +--javax.swing.undo.AbstractUndoableEdit 
        |
        +--javax.swing.text.DefaultStyledDocument.AttributeUndoableEdit
모든 구현 인터페이스:
Serializable , UndoableEdit
포함되어 있는 클래스:
DefaultStyledDocument

public static class DefaultStyledDocument.AttributeUndoableEdit
extends AbstractUndoableEdit

UndoableEdit 는 Element 의 AttributeSet 에 더해진 변경을 기억하기 위해서 사용합니다.


필드의 개요
protected  AttributeSet copy
           
protected  Element element
           
protected  boolean isReplacing
           
protected  AttributeSet newAttributes
           
 
클래스 javax.swing.undo. AbstractUndoableEdit 에서 상속받은 필드
RedoName , UndoName
 
생성자의 개요
DefaultStyledDocument.AttributeUndoableEdit (Element  element, AttributeSet  newAttributes, boolean isReplacing)
           
 
메소드의 개요
 void redo ()
          변경을 다시 실행합니다.
 void undo ()
          변경을 바탕으로 되돌립니다.
 
클래스 javax.swing.undo. AbstractUndoableEdit 에서 상속받은 메소드
addEdit , canRedo , canUndo , die , getPresentationName , getRedoPresentationName , getUndoPresentationName , isSignificant , replaceEdit , toString
 
클래스 java.lang. Object 에서 상속받은 메소드
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

필드의 상세

newAttributes

protected AttributeSet  newAttributes

copy

protected AttributeSet  copy

isReplacing

protected boolean isReplacing

element

protected Element  element
생성자의 상세

DefaultStyledDocument.AttributeUndoableEdit

public DefaultStyledDocument.AttributeUndoableEdit(Element  element,
                                                   AttributeSet  newAttributes,
                                                   boolean isReplacing)
메소드의 상세

redo

public void redo()
          throws CannotRedoException 
변경을 다시 실행합니다.

정의:
인터페이스 UndoableEdit 내의 redo
오버라이드(override):
클래스 AbstractUndoableEdit 내의 redo
예외:
CannotRedoException - 변경을 다시 실행할 수 없는 경우
관련 항목:
AbstractUndoableEdit.canRedo()

undo

public void undo()
          throws CannotUndoException 
변경을 바탕으로 되돌립니다.

정의:
인터페이스 UndoableEdit 내의 undo
오버라이드(override):
클래스 AbstractUndoableEdit 내의 undo
예외:
CannotUndoException - 변경을 바탕으로 되돌릴 수 없는 경우
관련 항목:
AbstractUndoableEdit.canUndo()

JavaTM 2
Platform
Std.  Ed.  v1. 4.0

버그의 보고와 기능의 리퀘스트
이외의 API 레퍼런스 및 개발자용 문서에 대해서는 Java 2 SDK SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Java, Java 2 D, 및 JDBC 는 미국 및 그 외의 나라에 있어서의 미국 Sun Microsystems, Inc. 의 상표 혹은 등록상표입니다.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.