Uses of Class javax.swing.text.html.HTML.Tag

Uses in package javax.swing.text.html.parser

Methods with return type javax.swing.text.html.HTML.Tag

HTML.Tag
Get the corresponding HTML tag.

Uses in package javax.swing.text.html

Classes derived from javax.swing.text.html.HTML.Tag

class
Represents an unknown HTML tag.

Constructors with parameter type javax.swing.text.html.HTML.Tag

HTMLDocument.HTMLReader.HTMLReader(int offset, int popDepth, int pushDepth, HTML.Tag insertTag)
Initializes all fields.
HTMLEditorKit.InsertHTMLTextAction.InsertHTMLTextAction(String name, String html, HTML.Tag parentTag, HTML.Tag addTag, HTML.Tag alternateParentTag, HTML.Tag alternateAddTag)
Initializes all fields and calls super

Fields of type javax.swing.text.html.HTML.Tag

HTML.Tag
The <a> tag
HTML.Tag
The <address> tag
HTML.Tag
The <applet> tag
HTML.Tag
The <area> tag
HTML.Tag
The <b> tag
HTML.Tag
The <base> tag
HTML.Tag
The <basefont> tag
HTML.Tag
The <big> tag
HTML.Tag
The <blockquote> tag , breaks flow, block tag.
HTML.Tag
The <body> tag , breaks flow, block tag.
HTML.Tag
The <br> tag , breaks flow.
HTML.Tag
The <caption> tag
HTML.Tag
The <center> tag , breaks flow.
HTML.Tag
The <cite> tag
HTML.Tag
The <code> tag
HTML.Tag
All comments are labeled with this tag.
HTML.Tag
All text content is labeled with this tag.
HTML.Tag
The <dd> tag , breaks flow, block tag.
HTML.Tag
The <dfn> tag
HTML.Tag
The <dir> tag , breaks flow, block tag.
HTML.Tag
The <div> tag , breaks flow, block tag.
HTML.Tag
The <dl> tag , breaks flow, block tag.
HTML.Tag
The <dt> tag , breaks flow, block tag.
HTML.Tag
The <em> tag
HTML.Tag
The <font> tag
HTML.Tag
The <form> tag , breaks flow.
HTML.Tag
The <frame> tag
HTML.Tag
The <frameset> tag
HTML.Tag
The <h1> tag , breaks flow, block tag.
HTML.Tag
The <h2> tag , breaks flow, block tag.
HTML.Tag
The <h3> tag , breaks flow, block tag.
HTML.Tag
The <h4> tag , breaks flow, block tag.
HTML.Tag
The <h5> tag , breaks flow, block tag.
HTML.Tag
The <h6> tag , breaks flow, block tag.
HTML.Tag
The <head> tag , breaks flow, block tag.
HTML.Tag
The <hr> tag , breaks flow.
HTML.Tag
The <html> tag , breaks flow.
HTML.Tag
The <i> tag
HTML.Tag
The <img> tag
HTML.Tag
All text content must be in a paragraph element.
HTML.Tag
The <input> tag
HTML.Tag
The <isindex> tag , breaks flow.
HTML.Tag
The <kbd> tag
HTML.Tag
The <li> tag , breaks flow, block tag.
HTML.Tag
The <link> tag
HTML.Tag
The <map> tag
HTML.Tag
The <menu> tag , breaks flow, block tag.
HTML.Tag
The <meta> tag
HTML.Tag
The <noframes> tag , breaks flow, block tag.
HTML.Tag
The <object> tag
HTML.Tag
The <ol> tag , breaks flow, block tag.
HTML.Tag
The <option> tag
HTML.Tag
The <p> tag , breaks flow, block tag.
HTML.Tag
The <param> tag
HTML.Tag
The <pre> tag , breaks flow, block tag, preformatted.
HTML.Tag
The <s> tag
HTML.Tag
The <samp> tag
HTML.Tag
The <script> tag
HTML.Tag
The <select> tag
HTML.Tag
The <small> tag
HTML.Tag
The <span> tag
HTML.Tag
The <strike> tag
HTML.Tag
The <strong> tag
HTML.Tag
The <style> tag
HTML.Tag
The <sub> tag
HTML.Tag
The <sup> tag
HTML.Tag
The <table> tag , block tag.
HTML.Tag
The <td> tag , breaks flow, block tag.
HTML.Tag
The <textarea> tag , preformatted.
HTML.Tag
The <th> tag , breaks flow, block tag.
HTML.Tag
The <title> tag , breaks flow, block tag.
HTML.Tag
The <tr> tag , block tag.
HTML.Tag
The <tt> tag
HTML.Tag
The <u> tag
HTML.Tag
The <ul> tag , breaks flow, block tag.
HTML.Tag
The <var> tag
HTML.Tag
Tag in HTML to start adding tags from.
HTML.Tag
Alternate tag in HTML to start adding tags from if parentTag is not found and alternateParentTag is not found.
HTML.Tag
Alternate tag to check if parentTag is not found.
HTML.Tag
Tag to check for in the document.

Methods with parameter type javax.swing.text.html.HTML.Tag

void
Adds content that is specified in the attribute set.
void
Instructs the parse buffer to close the block element associated with the given HTML.Tag
void
Instructs the parse buffer to create a block element with the given attributes.
int
Returns the number of elements, starting at the deepest point, needed to get an element representing tag.
void
Called when an end tag is seen for one of the types of tags associated with this Action.
void
Called when an end tag is seen for one of the types of tags associated with this Action.
void
Called when an end tag is seen for one of the types of tags associated with this Action.
void
Called when an end tag is seen for one of the types of tags associated with this Action.
void
Called when an end tag is seen for one of the types of tags associated with this Action.
void
Called when an end tag is seen for one of the types of tags associated with this Action.
void
Called when an end tag is seen for one of the types of tags associated with this Action.
Element
Gets the deepest element at offset with the matching tag.
HTMLEditorKit.ParserCallback
HTMLDocument.getInsertingReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag, Element parent)
Gets the reader for the parser to use when inserting the HTML fragment into the document.
HTMLDocument.Iterator
Gets an iterator for the given HTML.Tag.
HTMLEditorKit.ParserCallback
HTMLDocument.getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)
Gets the reader for the parser to use when loading the document with HTML.
Style
Gets the style used to render the given tag.
void
This method is called by the parser and should route the call to the proper handler for the tag.
void
The method is called when the HTML closing tag ((like </table>) is found or if the parser concludes that the one should be present in the current position.
void
This is a callback from the parser that should be routed to the appropriate handler for the tag.
void
Handle the tag with no content, like <br>.
void
This method is called by the parser and should route the call to the proper handler for the tag.
void
The method is called when the HTML opening tag ((like <table>) is found or if the parser concludes that the one should be present in the current position.
void
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundary(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
Invoked when inserting at a boundary.
void
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
Invoked when inserting at a boundary.
void
HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag)
HTMLEditorKit.insertHTML is called.
void
HTMLEditorKit.insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag)
Inserts HTML into an existing document.
boolean
Determines if javax.swing.text.StyleConstants.NameAttribute matches tag or not.
void
Registers a given tag with a given Action.
void
This method is called when a start tag is seen for one of the types of tags associated with this Action.
void
This method is called when a start tag is seen for one of the types of tags associated with this Action.
void
This method is called when a start tag is seen for one of the types of tags associated with this Action.
void
This method is called when a start tag is seen for one of the types of tags associated with this Action.
void
This method is called when a start tag is seen for one of the types of tags associated with this Action.
void
This method is called when a start tag is seen for one of the types of tags associated with this Action.
void
This method is called when a start tag is seen for one of the types of tags associated with this Action.
void
void
This method is called when a start tag is seen for one of the types of tags associated with this Action.

Methods with return type javax.swing.text.html.HTML.Tag

HTML.Tag[]
Returns the set of actual HTML tags that are recognized by the default HTML reader.
HTML.Tag
Type of tag this iterator represents.
HTML.Tag
HTML.getTag(String tagName)
Returns a HTML tag constant for the given HTML attribute name.