|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Object javax.swing.AbstractAction javax.swing.text.TextAction javax.swing.text.StyledEditorKit.StyledTextAction
public abstract static class StyledEditorKit.StyledTextAction
ÀνºÅç µÈ StyledEditorKit (¶Ç´Â ¼ºê Ŭ·¡½º)¿¡ ÀÇÇØ JEditorPane ·Î Æ®¸®°Å µÈ´Ù°í º¸¿©Áö´Â ¾×¼ÇÀÔ´Ï´Ù. ÀÌ ¾×¼ÇÀº ¹®ÀÚ³ª ´Ü¶ôÀÇ ·¹º§ ¼Ó¼ºÀ» º¯°æÇÏ´Â °£ÀÌ ¸Þ¼µåÀÔ´Ï´Ù. StyledDocument, JEditorPane, ¶Ç´Â StyledEditorKit°¡ true°¡ µÇÁö ¾Ê¾Ò´Ù°í º¸¿©Áö´Â °æ¿ì´Â ÀÌ °£ÀÌ ¸Þ¼µå¿¡ ÀÇÇØ IllegalArgumentException°¡ ¹ß»ý µË´Ï´Ù.
¼Ò½º°¡ JEditorPane Çü¿¡ ³×·Î¿ì º¯È¯µÇ´Â °æ¿ì, ÀÌ ¾×¼ÇÀÇ ¿µÇâÀ» ¹Þ´Â ÄÄÆÛ³ÍÆ®´Â ActionEvent ¼Ò½º°¡ µË´Ï´Ù. ¼Ò½º°¡ ³×·Î¿ì º¯È¯ÇÒ ¼ö ¾ø´Â °æ¿ì´Â ¸¶Áö¸·¿¡ Æ÷Ä¿½º°¡ ÀÖ´ø ÅؽºÆ® ÄÄÆÛ³ÍÆ®°¡ º¯°æµË´Ï´Ù. ¾î´À Âʵµ ¾Æ´Ñ °æ¿ì, ¾×¼ÇÀº ½ÇÇàµÇÁö ¾Ê½À´Ï´Ù.
°æ°í: ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ °´Ã¼´Â ÇâÈÄÀÇ 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 |
»ý¼ºÀÚ °³¿ä | |
---|---|
StyledEditorKit.StyledTextAction (String nm)
ij¸¯ÅÍ ¶óÀÎÀÎ ¾×¼Ç¸íÀ¸·ÎºÎÅÍ, »õ·Î¿î StyledTextAction¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
protected JEditorPane |
getEditor (ActionEvent e)
¾×¼ÇÀÇ Å¸°Ù ¿¡µðÅ͸¦ ÃëµæÇÕ´Ï´Ù. |
protected StyledDocument |
getStyledDocument (JEditorPane e)
ÀÌ ¿¡µðÅÍ ±¸È¹¿¡ °ü·ÃÇÑ ¹®¼¸¦ ÃëµæÇÕ´Ï´Ù. |
protected StyledEditorKit |
getStyledEditorKit (JEditorPane e)
ÀÌ ¿¡µðÅÍ ±¸È¹¿¡ °ü·ÃÇÑ ¿¡µðÅÍ Å¶À» ÃëµæÇÕ´Ï´Ù. |
protected void |
setCharacterAttributes (JEditorPane editor,
AttributeSet attr,
boolean replace)
ÁöÁ¤µÈ ¼Ó¼ºÀ» ¹®ÀÚ ÄÁÅÙÃ÷¿¡ Àû¿ëÇÕ´Ï´Ù. |
protected void |
setParagraphAttributes (JEditorPane editor,
AttributeSet attr,
boolean replace)
ÁöÁ¤µÈ ¼Ó¼ºÀ» ´Ü¶ô¿¡ Àû¿ëÇÕ´Ï´Ù. |
Ŭ·¡½º javax.swing.text. TextAction ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
augmentList,
getFocusedComponent,
getTextComponent |
Ŭ·¡½º 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 StyledEditorKit.StyledTextAction(String nm)
nm
- ¾×¼ÇÀÇ À̸§¸Þ¼µåÀÇ »ó¼¼ |
---|
protected final JEditorPane getEditor(ActionEvent e)
e
- ¾×¼Ç À̺¥Æ®
protected final StyledDocument getStyledDocument(JEditorPane e)
e
- ¿¡µðÅÍ
IllegalArgumentException
- ºÎÁ¤ÇÑ ¹®¼ ŸÀÔÀÇ °æ¿ìprotected final StyledEditorKit getStyledEditorKit(JEditorPane e)
e
- ¿¡µðÅÍ ±¸È¹
IllegalArgumentException
- ºÎÁ¤ÇÑ ¹®¼ ŸÀÔÀÇ °æ¿ìprotected final void setCharacterAttributes(JEditorPane editor, AttributeSet attr, boolean replace)
editor
- ¿¡µðÅÍattr
- ¼Ó¼ºreplace
- trueÀÎ °æ¿ì, ±âÁ¸ÀÇ ¼Ó¼ºÀ» ÃÖÃÊ·Î ¿Å°Ü³õÀ» ¼ö ÀÖ´Ùprotected final void setParagraphAttributes(JEditorPane editor, AttributeSet attr, boolean replace)
editor
- ¿¡µðÅÍattr
- ¼Ó¼ºreplace
- trueÀÎ °æ¿ì, ±âÁ¸ÀÇ ¼Ó¼ºÀ» ÃÖÃÊ·Î ¿Å°Ü³õÀ» ¼ö ÀÖ´Ù
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.