JavaTM 2 Platform
Standard Ed. 5.0

javax.swing.text.html
Ŭ·¡½º HTMLEditorKit.HTMLTextAction

java.lang.Object 
  »óÀ§¸¦ È®Àå javax.swing.AbstractAction 
      »óÀ§¸¦ È®Àå javax.swing.text.TextAction 
          »óÀ§¸¦ È®Àå javax.swing.text.StyledEditorKit.StyledTextAction 
              »óÀ§¸¦ È®Àå javax.swing.text.html.HTMLEditorKit.HTMLTextAction
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
ActionListener, Serializable, Cloneable, EventListener, Action
¾Ë·ÁÁø Á÷°è ¼­ºê Ŭ·¡½º:
HTMLEditorKit.InsertHTMLTextAction
Æ÷ÇԵǾî Àִ Ŭ·¡½º:
HTMLEditorKit

public abstract static class HTMLEditorKit.HTMLTextAction
extends StyledEditorKit.StyledTextAction

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
 

»ý¼ºÀÚ »ó¼¼

HTMLEditorKit.HTMLTextAction

public HTMLEditorKit.HTMLTextAction(String  name)
¸Þ¼­µåÀÇ »ó¼¼

getHTMLDocument

protected HTMLDocument  getHTMLDocument(JEditorPane  e)
¹Ýȯ°ª:
e HTMLDocument

getHTMLEditorKit

protected HTMLEditorKit  getHTMLEditorKit(JEditorPane  e)
¹Ýȯ°ª:
e HTMLEditorKit

getElementsAt

protected Element [] getElementsAt(HTMLDocument  doc,
                                  int offset)
offset¸¦ Æ÷ÇÔÇÏ´Â Elements ·ÎºÎÅÍ µÇ´Â ¹è¿­À» ¸®ÅÏÇÕ´Ï´Ù. ÃÖÃÊÀÇ ¿ä¼Ò´Â ·çÆ®¿¡ ´ëÀÀÇÕ´Ï´Ù.


elementCountToTag

protected int elementCountToTag(HTMLDocument  doc,
                                int offset,
                                HTML.Tag  tag)
Á¦ÀÏ ±íÀº ÀÙÀ¸·ÎºÎÅÍ ¼¼¾î, tag¸¦ ³ªÅ¸³»´Â ¿ä¼Ò¸¦ ¾ò´Â µ¥ ÇÊ¿äÇÑ ¿ä¼ÒÀÇ ¼ö¸¦ ¸®ÅÏÇÕ´Ï´Ù. tag¸¦ ³ªÅ¸³»´Â ¿ä¼Ò°¡ ¹ß°ßµÇÁö ¾Ê´Â °æ¿ì´Â -1À» ¸®ÅÏÇÕ´Ï´Ù. offset ÀÙÀÇ ºÎ¸ð°¡ tag¸¦ ³ªÅ¸³»´Â °æ¿ì´Â 0À» ¸®ÅÏÇÕ´Ï´Ù.


findElementMatchingTag

protected Element  findElementMatchingTag(HTMLDocument  doc,
                                         int offset,
                                         HTML.Tag  tag)
tag¿¡ ÀÏÄ¡ÇÏ´Â offset¿¡ ¼­ÀÇ, Á¦ÀÏ ±íÀº ¿ä¼Ò¸¦ ¸®ÅÏÇÕ´Ï´Ù.


JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.