|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--javax.swing.AbstractAction | +--javax.swing.text.TextAction | +--javax.swing.text.StyledEditorKit.StyledTextAction
ÀνºÅç µÈ StyledEditorKit (¶Ç´Â ¼ºê Ŭ·¡½º)¿¡ ÀÇÇØ JEditorPane ·Î ¹æ¾Æ¼è µÈ´Ù°í º¸¿©Áö´Â ¾×¼ÇÀÔ´Ï´Ù. ÀÌ ¾×¼ÇÀº ij¸¯Åͳª ´Ü¶ôÀÇ ·¹º§ ¼Ó¼ºÀ» º¯°æÇÏ´Â °£ÀÌ ¸Þ¼ÒµåÀÔ´Ï´Ù. StyledDocument, JEditorPane, ¶Ç´Â StyledEditorKit °¡ true °¡ µÇÁö ¾Ê¾Ò´Ù°í º¸¿©Áö´Â °æ¿ì´Â ÀÌ °£ÀÌ ¸Þ¼Òµå¿¡ ÀÇÇØ IllegalArgumentException °¡ ½½·Î¿ì µË´Ï´Ù.
¼Ò½º°¡ JEditorPane Çü¿¡ ³×·Î¿ì º¯È¯µÇ´Â °æ¿ì, ÀÌ ¾×¼ÇÀÇ ¿µÇâÀ» ¹Þ´Â ÄÄÆÛ³ÍÆ®´Â ActionEvent ÀÇ ¼Ò½º°¡ µË´Ï´Ù. ¼Ò½º°¡ ³×·Î¿ì º¯È¯ÇÒ ¼ö ¾ø´Â °æ¿ì´Â ¸¶Áö¸·¿¡ Æ÷Ä¿½º°¡ ÀÖ´ø ÅØ½ºÆ® ÄÄÆÛ³ÍÆ®°¡ º¯°æµË´Ï´Ù. ¾î´À Âʵµ ¾Æ´Ñ °æ¿ì, ¾×¼ÇÀº ½ÇÇàµÇÁö ¾Ê½À´Ï´Ù.
°æ°í:
ÀÌ Å¬·¡½ºÀÇ Á÷·ÄÈ µÈ ¿ÀºêÁ§Æ®´Â ÇâÈÄÀÇ Swing ÀÇ ¸±¸®½º¿Í´Â ȣȯ¼ºÀ» °¡ÁöÁö ¾Ê½À´Ï´Ù. ÇöÀçÀÇ Á÷·ÄÈ ¼Æ÷Æ®´Â ´Ü±â°£ÀÇ ¿î¿ëÀ̳ª, °°Àº ¹öÁ¯ÀÇ Swing ¸¦ ½ÇÇàÇÏ´Â ¾îÇø®ÄÉÀ̼ǰ£ÀÇ RMI ¿¡ ÀûÀýÇϰí ÀÖ½À´Ï´Ù. 1.4 ¿¡¼´Â ¸ðµç JavaBeansTM ÀÇ Àå±â ¿î¿ë ¼Æ÷Æ®°¡, 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)
ÁöÁ¤µÈ ¼Ó¼ºÀ» ij¸¯ÅÍ ÄÁÅÙÃ÷¿¡ Àû¿ëÇÕ´Ï´Ù. |
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 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.