|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.undo.UndoableEditSupport
UndoableEdit
ûÃëÀÚ¸¦ °ü¸®Çϱâ À§Çؼ »ç¿ëÇÏ´Â ¼Æ÷Æ® Ŭ·¡½ºÀÔ´Ï´Ù.
ÇʵåÀÇ °³¿ä | |
protected CompoundEdit |
compoundEdit
|
protected Vector |
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 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 Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
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.