
public static class HTMLEditorKit.HTMLFactor y implements Vie wFactory {
// Public Constructors
public HTMLFactor y();
// Methods Implementing ViewFactory
public Vie w create(javax.swing .text.Element elem);
}
HTMLEditorKit.HTMLTextAction Ja va 1.2
javax.swing .text.html cloneable serializable
This class is an abstract Action implementation that provides protected convenience
methods that may be helpful to Action implementations that manipulate or edit an HTML-
Document.
public abstract static class HTMLEditorKit.HTMLTextAction extends StyledEditorKit.StyledTextAction {
// Public Constructors
public HTMLTextAction(String name);
// Protected Instance Methods
protected int elementCountToTag(HTMLDocument doc, int offset, HTML.Tag tag);
protected javax.swing.text.Element findElementMatchingTag(HTMLDocument doc, int offset, HTML.Tag tag);
protected javax.swing.text.Element[ ] getElementsAt(HTMLDocument doc, int offset);
protected HTMLDocument getHTMLDocument(JEditorPane e);
protected HTMLEditorKit getHTMLEditorKit(JEditorPane e);
}
Subc lasses: HTMLEditorKit.Inser tHTMLTextAction
HTMLEditorKit.Inser tHTMLTextAction Ja va 1.2
javax.swing .text.html cloneable serializable
This Action implementation can be used to insert HTML text into an HTML document at
the current location. You can create custom instances of this class and bind them to
KeyStroke objects to provide custom editing actions for your users. When ...