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.