API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text.html. HTMLEditorKit.HTMLTextAction View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      AbstractAction
          TextAction
              StyledEditorKit.StyledTextAction
                  HTMLEditorKit.HTMLTextAction
Implements
Subclasses
Description
publicabstractstatic abstract class HTMLEditorKit.HTMLTextAction
  An abstract Action providing some convenience methods that may be useful in inserting HTML into an existing document.
See also:   
Constructors
public HTMLEditorKit.HTMLTextAction (String name)
Methods
Hide/Show inherited methods
publicsynchronized void addPropertyChangeListener (PropertyChangeListener listener) [Inherited From AbstractAction]
  Adds a PropertyChangeListener to the listener list.
publicfinalstatic Action augmentList (Action list1, Action list2) [Inherited From TextAction]
  Takes one list of commands and augments it with another list of commands.
protected Object clone () throws CloneNotSupportedException [Inherited From AbstractAction]
  Clones the abstract action.
protected int elementCountToTag (HTMLDocument doc, int offset, Tag tag)
  Returns number of elements, starting at the deepest leaf, needed to get to an element representing tag.
protected Element findElementMatchingTag (HTMLDocument doc, int offset, Tag tag)
Returns the deepest element at offset matching tag.
protected void firePropertyChange (String propertyName, Object oldValue, Object newValue) [Inherited From AbstractAction]
  Supports reporting bound property changes.
protectedfinal JEditorPane getEditor (ActionEvent e) [Inherited From StyledEditorKit.StyledTextAction]
  Gets the target editor for an action.
protected Element getElementsAt (HTMLDocument doc, int offset)
  Returns an array of the Elements that contain offset.
protectedfinal JTextComponent getFocusedComponent () [Inherited From TextAction]
  Fetches the text component that currently has focus.
protected HTMLDocument getHTMLDocument (JEditorPane e)
 
protected HTMLEditorKit getHTMLEditorKit (JEditorPane e)
 
public Object getKeys () [Inherited From AbstractAction]
  Returns an array of Objects which are keys for which values have been set for this AbstractAction, or null if no keys have values set.
publicsynchronized PropertyChangeListener getPropertyChangeListeners () [Inherited From AbstractAction]
  Returns an array of all the PropertyChangeListeners added to this AbstractAction with addPropertyChangeListener().
protectedfinal StyledDocument getStyledDocument (JEditorPane e) [Inherited From StyledEditorKit.StyledTextAction]
  Gets the document associated with an editor pane.
protectedfinal StyledEditorKit getStyledEditorKit (JEditorPane e) [Inherited From StyledEditorKit.StyledTextAction]
  Gets the editor kit associated with an editor pane.
protectedfinal JTextComponent getTextComponent (ActionEvent e) [Inherited From TextAction]
  Determines the component to use for the action.
public Object getValue (String key) [Inherited From AbstractAction]
  Gets the Object associated with the specified key.
public boolean isEnabled () [Inherited From AbstractAction]
  Returns true if the action is enabled.
public void putValue (String key, Object newValue) [Inherited From AbstractAction]
  Sets the Value associated with the specified key.
publicsynchronized void removePropertyChangeListener (PropertyChangeListener listener) [Inherited From AbstractAction]
  Removes a PropertyChangeListener from the listener list.
protectedfinal void setCharacterAttributes (JEditorPane editor, AttributeSet attr, boolean replace) [Inherited From StyledEditorKit.StyledTextAction]
  Applies the given attributes to character content.
public void setEnabled (boolean newValue) [Inherited From AbstractAction]
  Enables or disables the action.
protectedfinal void setParagraphAttributes (JEditorPane editor, AttributeSet attr, boolean replace) [Inherited From StyledEditorKit.StyledTextAction]
  Applies the given attributes to paragraphs.
Fields
Hide/Show inherited fields
protected SwingPropertyChangeSupport changeSupport [Inherited From AbstractAction]
If any PropertyChangeListeners have been registered, the changeSupport field describes them.
protected boolean enabled [Inherited From AbstractAction]
Specifies whether action is enabled; the default is true.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar