|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
javax.swing.undo.CompoundEdit
javax.swing.text.AbstractDocument.DefaultDocumentEvent
public class AbstractDocument.DefaultDocumentEvent
¹®¼°¡ º¯°æµÇ¾úÀ» °æ¿ì¿¡ ¹®¼ÀÇ º¯°æÀ» Æ÷ÇÔÇÕ´Ï´Ù. ¹®¼ º¯°æ Æ®·£Àè¼Ç(transaction)·Î º¯°æÀ» ÇßÀ» °æ¿ì, º¯°æ ÅëÁö·Î ¹®¼ÀÇ º¯°æÀ» °è¼ÓÇØ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. À̰ÍÀº AbstractDocument Ŭ·¡½º ¹× ¹®¼ ¸®½º³Ê¿¡ ´ëÇØ¼ º¯°æ Á¤º¸¸¦ Àü¼ÛÇÏ´Â È®Àå ±â´ÉÀ¸·Î »ç¿ëµË´Ï´Ù.
Áßø(Nested) Ŭ·¡½º °³¿ä |
---|
ÀÎÅÍÆäÀ̽º javax.swing.event. DocumentEvent ·ÎºÎÅÍ »ó¼ÓµÈ Áßø(Nested) Ŭ·¡½º/ÀÎÅÍÆäÀ̽º |
---|
DocumentEvent.ElementChange,
DocumentEvent.EventType |
ÇÊµå °³¿ä |
---|
Ŭ·¡½º javax.swing.undo. CompoundEdit ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
edits |
Ŭ·¡½º javax.swing.undo. AbstractUndoableEdit ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
RedoName,
UndoName |
»ý¼ºÀÚ °³¿ä | |
---|---|
AbstractDocument.DefaultDocumentEvent (int offs,
int len,
DocumentEvent.EventType type)
º¯°æ ·¹Äڵ带 ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
boolean |
addEdit (UndoableEdit anEdit)
¹®¼ ÆíÁýÀ» Ãß°¡ÇÕ´Ï´Ù. |
DocumentEvent.ElementChange |
getChange (Element elem)
¿ä¼ÒÀÇ º¯°æÀ» ÃëµæÇÕ´Ï´Ù. |
Document |
getDocument ()
º¯°æ À̺¥Æ®ÀÇ ±â°¡ µÈ ¹®¼¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
int |
getLength ()
º¯°æÀÇ ±æÀ̸¦ ¸®ÅÏÇÕ´Ï´Ù. |
int |
getOffset ()
º¯°æÀÇ ½ÃÁ¡ÀÇ ¹®¼³»¿¡¼ÀÇ ¿ÀÇÁ¼Â(offset)¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
String |
getPresentationName ()
º¯°æ ·Î±×µîÀ¸·Î »ç¿ëµÇ´Â ÀÌ ÆíÁý °á°úÀÇ, ÆÇµ¶ °¡´ÉÇÑ Áö¿ª¿¡ ´ëÀÀÇÑ ±â¼úÀ» Á¦°øÇÕ´Ï´Ù. |
String |
getRedoPresentationName ()
[Àç½ÇÇà (Redo)] ¸Þ´º Ç׸ñµîÀ¸·Î »ç¿ëµÇ´Â ÀÌ ÆíÁý °á°úÀÇ, Àç½ÇÇàÇÒ ¼ö ÀÖ´Â Çü½ÄÀÇ ÆÇµ¶ °¡´ÉÇÑ Áö¿ª¿¡ ´ëÀÀÇÑ ±â¼úÀ» Á¦°øÇÕ´Ï´Ù. |
DocumentEvent.EventType |
getType ()
À̺¥Æ®ÀÇ Å¸ÀÔÀ» ¸®ÅÏÇÕ´Ï´Ù. |
String |
getUndoPresentationName ()
[¹ÙÅÁÀ¸·Î µÇµ¹¸®´Â (Undo)] ¸Þ´º Ç׸ñµîÀ¸·Î »ç¿ëµÇ´Â ÀÌ ÆíÁý °á°úÀÇ, ¹ÙÅÁÀ¸·Î µÇµ¹¸± ¼ö ÀÖ´Â Çü½ÄÀÇ ÆÇµ¶ °¡´ÉÇÑ Áö¿ª¿¡ ´ëÀÀÇÑ ±â¼úÀ» Á¦°øÇÕ´Ï´Ù. |
boolean |
isSignificant ()
DefaultDocument À̺¥Æ®´Â Áß¿äÇÕ´Ï´Ù. |
void |
redo ()
º¯°æÀ» Àç½ÇÇàÇÕ´Ï´Ù. |
String |
toString ()
º¯°æ À̺¥Æ®ÀÇ ¼³¸í¹®ÀÚ¿À» ¸®ÅÏÇÕ´Ï´Ù. |
void |
undo ()
º¯°æÀ» ¹ÙÅÁÀ¸·Î µÇµ¹¸³´Ï´Ù. |
Ŭ·¡½º javax.swing.undo. CompoundEdit ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
canRedo,
canUndo,
die,
end,
isInProgress,
lastEdit |
Ŭ·¡½º javax.swing.undo. AbstractUndoableEdit ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
replaceEdit |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
public AbstractDocument.DefaultDocumentEvent(int offs, int len, DocumentEvent.EventType type)
offs
- º¯°æ ¹®¼¿¡ÀÇ ¿ÀÇÁ¼Â(offset) >= 0len
- º¯°æÀÇ ±æÀÌ >= 0type
- À̺¥Æ®ÀÇ Å¸ÀÔ (DocumentEvent.EventType)¸Þ¼µåÀÇ »ó¼¼ |
---|
public String toString()
CompoundEdit
³»ÀÇ toString
public boolean addEdit(UndoableEdit anEdit)
UndoableEdit
³»ÀÇ addEdit
CompoundEdit
³»ÀÇ addEdit
anEdit
- ¹®¼ ÆíÁý ·¹ÄÚµå
UndoableEdit.addEdit(javax.swing.undo.UndoableEdit)
public void redo() throws CannotRedoException
UndoableEdit
³»ÀÇ redo
CompoundEdit
³»ÀÇ redo
CannotRedoException
- º¯°æÀ» Àç½ÇÇàÇÒ ¼ö ¾ø´Â °æ¿ìAbstractUndoableEdit.canRedo()
public void undo() throws CannotUndoException
UndoableEdit
³»ÀÇ undo
CompoundEdit
³»ÀÇ undo
CannotUndoException
- º¯°æÀ» ¹ÙÅÁÀ¸·Î µÇµ¹¸± ¼ö ¾ø´Â °æ¿ìAbstractUndoableEdit.canUndo()
public boolean isSignificant()
UndoableEdit
³»ÀÇ isSignificant
CompoundEdit
³»ÀÇ isSignificant
UndoableEdit.isSignificant()
public String getPresentationName()
UndoableEdit
³»ÀÇ getPresentationName
CompoundEdit
³»ÀÇ getPresentationName
AbstractUndoableEdit.getUndoPresentationName()
,
AbstractUndoableEdit.getRedoPresentationName()
public String getUndoPresentationName()
UndoableEdit
³»ÀÇ getUndoPresentationName
CompoundEdit
³»ÀÇ getUndoPresentationName
AbstractUndoableEdit.getPresentationName()
public String getRedoPresentationName()
UndoableEdit
³»ÀÇ getRedoPresentationName
CompoundEdit
³»ÀÇ getRedoPresentationName
AbstractUndoableEdit.getPresentationName()
public DocumentEvent.EventType getType()
DocumentEvent
³»ÀÇ getType
DocumentEvent.getType()
public int getOffset()
DocumentEvent
³»ÀÇ getOffset
DocumentEvent.getOffset()
public int getLength()
DocumentEvent
³»ÀÇ getLength
DocumentEvent.getLength()
public Document getDocument()
DocumentEvent
³»ÀÇ getDocument
DocumentEvent.getDocument()
public DocumentEvent.ElementChange getChange(Element elem)
DocumentEvent
³»ÀÇ getChange
elem
- ¿ä¼Ò
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.