JavaTM Platform
Standard Ed. 6

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 Platform
Standard Ed. 6

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

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.