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 에 더해진 변경을 기억하기 위해서 사용합니다.
메소드의 개요 |
void |
redo ()
변경을 다시 합니다. |
void |
undo ()
변경을 바탕으로 되돌립니다. |
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()
버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다. Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.