|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.undo.UndoableEditSupport
public class UndoableEditSupport
UndoableEdit
¸®½º³Ê¸¦ °ü¸®Çϱâ À§Çؼ »ç¿ëÇÏ´Â Áö¿ø
Ŭ·¡½ºÀÔ´Ï´Ù.
ÇÊµå °³¿ä | |
---|---|
protected CompoundEdit |
compoundEdit
|
protected Vector <UndoableEditListener > |
listeners
|
protected Object |
realSource
|
protected int |
updateLevel
|
»ý¼ºÀÚ °³¿ä | |
---|---|
UndoableEditSupport ()
UndoableEditSupport °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
UndoableEditSupport (Object r)
UndoableEditSupport °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
protected void |
_postEdit (UndoableEdit e)
postEdit ¸Þ¼µå¿Í endUpdate ¸Þ¼µå·ÎºÎÅ͸¸ È£ÃâÇÕ´Ï´Ù. |
void |
addUndoableEditListener (UndoableEditListener l)
UndoableEditListener ¸¦ µî·ÏÇÕ´Ï´Ù. |
void |
beginUpdate ()
|
protected CompoundEdit |
createCompoundEdit ()
beginUpdate ¸Þ¼µå·ÎºÎÅ͸¸ È£ÃâÇÕ´Ï´Ù. |
void |
endUpdate ()
µ¥µå ·Ï °æ°í: ÀÌ ¸Þ¼µå¸¦ È£ÃâÇϸé, ¸ðµç ¸®½º³Ê·Î undoableEditHappened °¡ È£ÃâµË´Ï´Ù. |
UndoableEditListener [] |
getUndoableEditListeners ()
addUndoableEditListener()¿¡ ÀÇÇØ ÀÌ UndoableEditSupport¿¡ Ãß°¡µÈ ¸ðµç UndoableEditListener ·Î
ºÎÅÍ ¿Ï¼ºµÇ´Â ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. |
int |
getUpdateLevel ()
°»½Å ·¹º§ÀÇ °ªÀ» ¸®ÅÏÇÕ´Ï´Ù. |
void |
postEdit (UndoableEdit e)
µ¥µå ·Ï °æ°í: ÀÌ ¸Þ¼µå¸¦ È£ÃâÇϸé, ¸ðµç ¸®½º³Ê·Î undoableEditHappened °¡ È£ÃâµË´Ï´Ù. |
void |
removeUndoableEditListener (UndoableEditListener l)
UndoableEditListener ¸¦ »èÁ¦ÇÕ´Ï´Ù. |
String |
toString ()
ÀÌ °´Ã¼ÀÇ ÇÁ·ÎÆÛƼ¸¦ Ç¥½Ã ¹× ½Äº°Çϴ ij¸¯ÅÍ ¶óÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
protected int updateLevel
protected CompoundEdit compoundEdit
protected Vector <UndoableEditListener > listeners
protected Object realSource
»ý¼ºÀÚ »ó¼¼ |
---|
public UndoableEditSupport()
UndoableEditSupport
°´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù.
public UndoableEditSupport(Object r)
UndoableEditSupport
°´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù.
r
- Object
¸Þ¼µåÀÇ »ó¼¼ |
---|
public void addUndoableEditListener(UndoableEditListener l)
UndoableEditListener
¸¦ µî·ÏÇÕ´Ï´Ù. ¹ÙÅÁÀ¸·Î µÇµ¹¸± ¼ö ÀÖ´Â ÆíÁýÀÌ ¹ß»ýÇϸé, ¹Ýµå½Ã ¸®½º³Ê¿¡°Ô ÅëÁöµË´Ï´Ù.
l
- UndoableEditListener
°´Ã¼removeUndoableEditListener(javax.swing.event.UndoableEditListener)
public void removeUndoableEditListener(UndoableEditListener l)
UndoableEditListener
¸¦ »èÁ¦ÇÕ´Ï´Ù.
l
- »èÁ¦ÇÏ´Â UndoableEditListener
°´Ã¼addUndoableEditListener(javax.swing.event.UndoableEditListener)
public UndoableEditListener [] getUndoableEditListeners()
UndoableEditListener
·Î
ºÎÅÍ ¿Ï¼ºµÇ´Â ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù.
UndoableEditListener
. Ãß°¡µÈ ¸®½º³Ê°¡ ¾ø´Â °æ¿ì´Â ºñ¾îÀÖ´Â ¹è¿protected void _postEdit(UndoableEdit e)
postEdit
¸Þ¼µå¿Í endUpdate
¸Þ¼µå·ÎºÎÅ͸¸ È£ÃâÇÕ´Ï´Ù. ¸ðµç ¸®½º³Ê·Î undoableEditHappened
¸¦ È£ÃâÇÕ´Ï´Ù. 2°³ÀÇ È£ÃâÃø ¸Þ¼µå´Â µ¿±â¸¦ »©¾Ñ±â¹Ç·Î ¿©±â¼ µ¿±â´Â ½ÇÇàµÇÁö ¾Ê½À´Ï´Ù.
public void postEdit(UndoableEdit e)
undoableEditHappened
°¡ È£ÃâµË´Ï´Ù. ÀÌ ¸Þ¼µå¸¦ ±× ¸®½º³ÊÀÇ 1°³
·ÎºÎÅÍ È£ÃâÇÏ´Â °ÍÀº ÁÁÀº ¹æ¹ýÀÌ ¾Æ´Õ´Ï´Ù.
public int getUpdateLevel()
public void beginUpdate()
protected CompoundEdit createCompoundEdit()
beginUpdate
¸Þ¼µå·ÎºÎÅ͸¸ È£ÃâÇÕ´Ï´Ù. ¼ºê Ŭ·¡½º¿¡¼ »ç¿ëÇϱâ À§Çؼ
¿©±â¿¡ °ø°³µÇ°í ÀÖ½À´Ï´Ù.
public void endUpdate()
undoableEditHappened
°¡ È£ÃâµË´Ï´Ù. ÀÌ ¸Þ¼µå¸¦ ±× ¸®½º³ÊÀÇ 1°³
·ÎºÎÅÍ È£ÃâÇÏ´Â °ÍÀº ÁÁÀº ¹æ¹ýÀÌ ¾Æ´Õ´Ï´Ù.
public String toString()
Object
³»ÀÇ toString
String
Ç¥Çö
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.