|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Object javax.swing.AbstractAction javax.swing.text.TextAction javax.swing.text.StyledEditorKit.StyledTextAction javax.swing.text.html.HTMLEditorKit.HTMLTextAction
public abstract static class HTMLEditorKit.HTMLTextAction
HTML¸¦ ±âÁ¸ÀÇ ¹®¼¿¡ »ðÀÔÇϴµ¥ Æí¸®ÇÑ °£ÀÌ ¸Þ¼µå¸¦ Á¦°øÇÏ´Â abstract Action ÀÔ´Ï´Ù.
ÁÖ : °£ÀÌ ¸Þ¼µå´Â ¹®¼ÀÇ ¶ôÀ» ÃëµæÇÏÁö ¾Ê½À´Ï´Ù. ÅؽºÆ®¸¦ º¯°æÇÏ´Â ´Ù¸¥ thread°¡ ÀÖ´Â °æ¿ì, °£ÀÌ ¸Þ¼µå´Â ÀÏ°ü¼ºÀÌ ¾ø´Â µ¿ÀÛÀ» ÇÏ´ÂÁö, À߸øÇÑ ³»¿ëÀ» µ¹·ÁÁÖ´Â °æ¿ì°¡ ÀÖ½À´Ï´Ù.
ÇÊµå °³¿ä |
---|
Ŭ·¡½º javax.swing. AbstractAction ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
changeSupport,
enabled |
ÀÎÅÍÆäÀ̽º javax.swing. Action ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
---|
ACCELERATOR_KEY,
ACTION_COMMAND_KEY,
DEFAULT,
LONG_DESCRIPTION,
MNEMONIC_KEY,
NAME,
SHORT_DESCRIPTION,
SMALL_ICON |
»ý¼ºÀÚ °³¿ä | |
---|---|
HTMLEditorKit.HTMLTextAction (String name)
|
¸Þ¼µå °³¿ä | |
---|---|
protected int |
elementCountToTag (HTMLDocument doc,
int offset,
HTML.Tag tag)
Á¦ÀÏ ±íÀº ÀÙÀ¸·ÎºÎÅÍ ¼¼¾î, tag ¸¦ ³ªÅ¸³»´Â ¿ä¼Ò¸¦ ¾ò´Â µ¥ ÇÊ¿äÇÑ ¿ä¼ÒÀÇ ¼ö¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
protected Element |
findElementMatchingTag (HTMLDocument doc,
int offset,
HTML.Tag tag)
tag ¿¡ ÀÏÄ¡ÇÏ´Â offset ¿¡
¼ÀÇ, Á¦ÀÏ ±íÀº ¿ä¼Ò¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
protected Element [] |
getElementsAt (HTMLDocument doc,
int offset)
offset ¸¦ Æ÷ÇÔÇÏ´Â Elements ·ÎºÎÅÍ µÇ´Â ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. |
protected HTMLDocument |
getHTMLDocument (JEditorPane e)
|
protected HTMLEditorKit |
getHTMLEditorKit (JEditorPane e)
|
Ŭ·¡½º javax.swing.text. StyledEditorKit.StyledTextAction ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
getEditor,
getStyledDocument,
getStyledEditorKit,
setCharacterAttributes,
setParagraphAttributes |
Ŭ·¡½º 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 HTMLEditorKit.HTMLTextAction(String name)
¸Þ¼µåÀÇ »ó¼¼ |
---|
protected HTMLDocument getHTMLDocument(JEditorPane e)
e
HTMLDocumentprotected HTMLEditorKit getHTMLEditorKit(JEditorPane e)
e
HTMLEditorKitprotected Element [] getElementsAt(HTMLDocument doc, int offset)
offset
¸¦ Æ÷ÇÔÇÏ´Â Elements ·ÎºÎÅÍ µÇ´Â ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. ÃÖÃÊÀÇ ¿ä¼Ò´Â ·çÆ®¿¡ ´ëÀÀÇÕ´Ï´Ù.
protected int elementCountToTag(HTMLDocument doc, int offset, HTML.Tag tag)
tag
¸¦ ³ªÅ¸³»´Â ¿ä¼Ò¸¦ ¾ò´Â µ¥ ÇÊ¿äÇÑ ¿ä¼ÒÀÇ ¼ö¸¦ ¸®ÅÏÇÕ´Ï´Ù. tag
¸¦ ³ªÅ¸³»´Â ¿ä¼Ò°¡ ¹ß°ßµÇÁö ¾Ê´Â °æ¿ì´Â -1À» ¸®ÅÏÇÕ´Ï´Ù. offset
ÀÙÀÇ ºÎ¸ð°¡ tag
¸¦ ³ªÅ¸³»´Â °æ¿ì´Â 0À» ¸®ÅÏÇÕ´Ï´Ù.
protected Element findElementMatchingTag(HTMLDocument doc, int offset, HTML.Tag tag)
tag
¿¡ ÀÏÄ¡ÇÏ´Â offset
¿¡
¼ÀÇ, Á¦ÀÏ ±íÀº ¿ä¼Ò¸¦ ¸®ÅÏÇÕ´Ï´Ù.
|
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 µµ ÂüÁ¶ÇϽʽÿÀ.