|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.swing.AbstractAction
javax.swing.text.TextAction
public abstract class TextAction
¸¹Àº ´Ù¸¥ ÅØ½ºÆ® ÄÄÆÛ³ÍÆ®·Î °øÀ¯µÇ´Â Ű ¹ÙÀεù¿¡ Æí¸®ÇÑ, ¾×¼ÇÀÇ ±¸ÇöÀÔ´Ï´Ù. ¾×¼ÇÀº °øÀ¯µÇ¹Ç·Î ±×°ÍÀÌ ÀÛ¿ëÇϴ Ÿ°ÙÀ» ¾ò´Â ¼ö´ÜÀ» °¡ÁöÁö ¾ÊÀ¸¸é ¾ÈµË´Ï´Ù. ÀÌ Å¬·¡½º´Â ÀÛ¿ëÇÏ´Â ÅØ½ºÆ® ÄÄÆÛ³ÍÆ®¸¦ ã¾Æ³»±â À§ÇÑ Áö¿ø¸¦ Á¦°øÇÕ´Ï´Ù. ÀÛ¿ëÇÏ´Â ÄÄÆÛ³ÍÆ®¸¦ ÃëµæÇϱâ À§ÇÑ ÀûÀýÇÑ ¹æ¹ýÀº ¼ö½ÅµÇ´Â ActionEvent¸¦ °³ÀÔ½ÃÄÑ ¾ò´Â °ÍÀÔ´Ï´Ù. getSource ·Î ¸®ÅÏµÈ Object°¡ ÅØ½ºÆ® ÄÄÆÛ³ÍÆ®¿¡ Ãà¼ÒÇÒ ¼ö ÀÖ´Â °æ¿ì, ±×°ÍÀÌ »ç¿ëµË´Ï´Ù. ¾×¼Ç À̺¥Æ®°¡ null Àΰ¡ ¶Ç´Â Ãà¼ÒÇÒ ¼ö ¾ø´Â °æ¿ì, ¸¶Áö¸·¿¡ Æ÷Ä¿½º¸¦ °¡Áø ÅØ½ºÆ® ÄÄÆÛ³ÍÆ®°¡ ½ÃÇè ¹Þ½À´Ï´Ù. À̰ÍÀº TextAction¿Í ±× Á¤º¸¸¦ °øÀ¯Çϱâ À§ÇÑ Á¶Á¤À» ÇÏ´Â JTextController¿Í ÇÔ²² »ç¿ëµÇ´Â °Í¿¡ ÀÇÇØ Á¤ÇØÁý´Ï´Ù.
°æ°í: ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ °´Ã¼´Â ÇâÈÄÀÇ Swing ¸±¸®Áî¿Í
ȣȯµÇÁö ¾ÊÀ» ¿¹Á¤ÀÔ´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈÀÇ Áö¿øÀº
´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÀüÀÇ Swing¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. JDK ¹öÀü
1.4 ÀÌÈÄ, ¸ðµç JavaBeans™
Àå±â°£ÀÇ ¿î¿ë Áö¿øÀº
java.beans
ÆÐŰÁö¿¡ Ãß°¡µÇ°í ÀÖ½À´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº XMLEncoder
¸¦
ÂüÁ¶ÇϽʽÿÀ.
ÇÊµå °³¿ä |
---|
Ŭ·¡½º javax.swing. AbstractAction ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
changeSupport,
enabled |
ÀÎÅÍÆäÀ̽º javax.swing. Action ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
ACCELERATOR_KEY,
ACTION_COMMAND_KEY,
DEFAULT,
LONG_DESCRIPTION,
MNEMONIC_KEY,
NAME,
SHORT_DESCRIPTION,
SMALL_ICON |
»ý¼ºÀÚ °³¿ä | |
---|---|
TextAction (String name)
»õ·Î¿î JTextAction °´Ã¼¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
static Action [] |
augmentList (Action [] list1,
Action [] list2)
1°³ÀÇ Ä¿¸àµå ¸®½ºÆ®¸¦ ÃëµæÇØ, ±×°ÍÀ» ÀÌÁ¦(ÀÌ¹Ì ) 1°³ÀÇ Ä¿¸àµå ¸®½ºÆ®·Î È®ÀåÇÕ´Ï´Ù. |
protected JTextComponent |
getFocusedComponent ()
ÇöÀç Æ÷Ä¿½º¸¦ °¡Áö´Â ÅØ½ºÆ® ÄÄÆÛ³ÍÆ®¸¦ ²¨³À´Ï´Ù. |
protected JTextComponent |
getTextComponent (ActionEvent e)
¾×¼Ç¿¡ »ç¿ëÇÏ´Â ÄÄÆÛ³ÍÆ®¸¦ ÁöÁ¤ÇÕ´Ï´Ù. |
Ŭ·¡½º javax.swing. AbstractAction ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
addPropertyChangeListener,
clone,
firePropertyChange,
getKeys,
getPropertyChangeListeners,
getValue,
isEnabled,
putValue,
removePropertyChangeListener,
setEnabled |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ÀÎÅÍÆäÀ̽º java.awt.event. ActionListener ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
actionPerformed |
»ý¼ºÀÚ »ó¼¼ |
---|
public TextAction(String name)
name
- ¾×¼ÇÀÇ À̸§¸Þ¼µåÀÇ »ó¼¼ |
---|
protected final JTextComponent getTextComponent(ActionEvent e)
e
- ActionEvent
public static final Action [] augmentList(Action [] list1, Action [] list2)
list1
- ÃÖÃÊÀÇ ¸®½ºÆ®. °ø¹éµµ °¡´ÉÇÏÁö¸¸ null
Àº ºÒ°¡list2
- 2¹øÂ°ÀÇ ¸®½ºÆ®. °ø¹éµµ °¡´ÉÇÏÁö¸¸ null
Àº ºÒ°¡
protected final JTextComponent getFocusedComponent()
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.