|
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 µµ ÂüÁ¶ÇϽʽÿÀ.