| Frames | No Frames |
Constructors with parameter type javax.swing.text.Element | |
HyperlinkEvent.HyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL url, String description, Element element) Creates a new HyperlinkEvent with the given arguments.
| |
Methods with parameter type javax.swing.text.Element | |
| DocumentEvent.ElementChange | getChange
|
Methods with return type javax.swing.text.Element | |
| Element[] | getChildrenAdded
|
| Element[] | getChildrenRemoved
|
| Element | getElement
|
| Element | Returns the element of the document repesenting this anchor.
|
Classes implementing javax.swing.text.Element | |
| class | |
| class | RunElement represents a section of text that has a set of
HTML character level attributes assigned to it.
|
Constructors with parameter type javax.swing.text.Element | |
Creates a new view that represents an html box.
| |
Creates a new FormView.
| |
HTMLFrameHyperlinkEvent.HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL url, String description, Element element, String frame) Creates a new hypertext link event.
| |
HTMLFrameHyperlinkEvent.HTMLFrameHyperlinkEvent(Object source, HyperlinkEvent.EventType type, URL url, Element element, String frame) Creates a new hypertext link event.
| |
Creates the image view that represents the given element.
| |
Creates a new InlineView that renders the specified element.
| |
Creates a new ListView for the specified element.
| |
Creates a new ObjectView.
| |
Creates a new ParagraphView for the specified element.
| |
Constructs an element that has no children. | |
Methods with parameter type javax.swing.text.Element | |
| void | Writes out the comment.
|
| View | Creates a View for the specified Element.
|
| Element | This method returns an HTMLDocument.BlockElement object representing the
attribute set a and attached to parent.
|
| void | Copies the key/values in elements AttributeSet into set.
|
| Element | This method returns an HTMLDocument.RunElement object attached to
parent representing a run of text from p0 to p1. |
| void | Writes out an empty tag. i.e. a tag without any child elements.
|
| void | Writes out an end tag.
|
| Element | Gets the child element that contains the attribute with the value or null.
|
| 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. |
| Style | Gets the style used to render the given tag. |
| void | Inserts the string after the end of the given element.
|
| void | Inserts the string at the start of the element.
|
| 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 | Inserts the string at the end of the element. |
| void | Inserts the string before the start of the given element. |
| boolean | Returns whether the element contains text or not.
|
| void | Replaces the children of the given element with the contents of
the string. |
| void | Replaces the given element in the parent with the string. |
| void | Writes out a start tag. |
| boolean | Determines if element is a synthesized
javax.swing.text.Element or not.
|
| void | Writes out text, within the appropriate range if it is specified.
|
| void | |
| void | Deliberately unimplemented, handles component elements.
|
| void | Writes the content of an element.
|
| void | Deliberately unimplemented.
|
| void | Writes a non-text leaf element.
|
| void | Write a paragraph start tag.
|
Methods with return type javax.swing.text.Element | |
| Element | This method returns an HTMLDocument.BlockElement object representing the
attribute set a and attached to parent.
|
| Element | This method returns an HTMLDocument.RunElement object attached to
parent representing a run of text from p0 to p1. |
| Element | Gets the deepest element at offset with the
matching tag.
|
| Element | Returns the element that has the given id Attribute (for instance, <p id
='my paragraph >'). |
| Element | Gets the child element that contains the attribute with the value or null.
|
| Element[] | Returns an array of Elements that contain the offset.
|
Methods with parameter type javax.swing.text.Element | |
| View | |
| View | Create the view. |
| View | |
| View | |
| View | |
Constructors with parameter type javax.swing.text.Element | |
Creates a new HTMLLink.
| |
Classes implementing javax.swing.text.Element | |
| class | An abstract base implementation of the Element interface.
|
| class | |
| class | An implementation of Element that represents a leaf in the
document structure. |
| class | An element type for sections. |
Constructors with parameter type javax.swing.text.Element | |
Creates a new instance of AbstractElement with a
specified parent Element and AttributeSet.
| |
Create a new AbstractWriter with the indicated Writer and
Element. | |
Create a new AbstractWriter with the indicated Writer and
Element. | |
Creates a new AsyncBoxView that represents the specified
element and layouts its children along the specified axis.
| |
DefaultStyledDocument.AttributeUndoableEdit.AttributeUndoableEdit(Element el, AttributeSet newAtts, boolean replacing) Creates a new AttributeUndoableEdit.
| |
Creates a new BoxView for the given
Element and axis. | |
Creates a new BranchElement with the specified
parent and attributes.
| |
Creates a new instance of ComponentView for the specified
Element.
| |
Creates a new CompositeView for the given
Element.
| |
Creates a new ElementBuffer for the specified
root element.
| |
AbstractDocument.ElementEdit.ElementEdit(Element elem, int index, Element[] removed, Element[] added) Creates a new ElementEdit.
| |
Create a new ElementIterator to iterate over the given document.
| |
Creates a new View instance.
| |
Creates a new FlowView for the given
Element and axis.
| |
Creates a new GlyphView for the given Element.
| |
Creates a new IconView for the given Element.
| |
Creates a new GlyphView for the given Element.
| |
AbstractDocument.LeafElement.LeafElement(Element parent, AttributeSet attributes, int start, int end) Creates a new LeafElement.
| |
Creates a new ParagraphView for the given
Element.
| |
Creates a new View instance.
| |
Creates a new instance.
| |
Creates a new instance of TableRow.
| |
Creates a new instance of TableView.
| |
Creates a new View instance.
| |
Creates a new CompositeView for the given
Element.
| |
Creates a new ZoneView for the specified element and axis.
| |
Fields of type javax.swing.text.Element | |
| Element | The element that has changed.
|
Methods with parameter type javax.swing.text.Element | |
| Element | Creates and returns a deep clone of the specified clonee
with the specified parent as new parent.
|
| View | Creates a view for a given element.
|
| Element | Creates and returns a branch element with the specified
parent and attributes. |
| void | Copies the text attributes from element to set.
|
| Element | Creates and returns a leaf element with the specified
parent and attributes. |
| TableView.TableCell | Creates a view for a table cell. |
| TableView.TableRow | Creates a view for a table row.
|
| ElementChange | Returns the changes for an element.
|
| String | Return the text of the Document that is associated with the given
Element. |
| boolean | Return true if the Element's range overlaps our desired output
range; false otherwise.
|
| void | Replaces a set of child elements with a new set of child elemens.
|
| void | Output the text of the indicated Element, properly clipping it to
the range of the Document specified when the AbstractWriter was
created.
|
Methods with return type javax.swing.text.Element | |
| Element | Creates and returns a deep clone of the specified clonee
with the specified parent as new parent.
|
| Element | Creates and returns a branch element with the specified
parent and attributes. |
| Element | Creates and returns a leaf element with the specified
parent and attributes. |
| Element | Returns the current element.
|
| Element | Returns the first element in the tree.
|
| Element | Returns the root element for bidirectional content.
|
| Element | Returns the Element that represents the character run at the
current caret position.
|
| Element | DefaultStyledDocument.getCharacterElement(int position) Returns the Element that corresponds to the character at the
specified position.
|
| Element | StyledDocument.getCharacterElement(int position) getCharacterElement
|
| Element[] | Returns the added elements.
|
| Element[] | Returns the removed elements.
|
| Element | Returns the default root Element of this Document.
|
| Element | Returns the default root element.
|
| Element | Returns the default root element. |
| Element | Returns the default root Element of this Document.
|
| Element | Returns the changed element.
|
| Element | |
| Element | AbstractDocument.AbstractElement.getElement(int index) Returns the child element at the specified index.
|
| Element | AbstractDocument.BranchElement.getElement(int index) Returns the child element at the specified index.
|
| Element | AbstractDocument.LeafElement.getElement(int index) Returns null since LeafElements cannot have
children.
|
| Element | Element.getElement(int index) |
| Element | AbstractDocument.getParagraphElement(int pos) Returns the paragraph Element that holds the specified position.
|
| Element | DefaultStyledDocument.getParagraphElement(int position) Returns the paragraph element for the specified position. |
| Element | PlainDocument.getParagraphElement(int pos) Returns the paragraph Element that holds the specified position.
|
| Element | StyledDocument.getParagraphElement(int position) getParagraphElement
|
| Element | Returns the paragraph element in the text component c at
the specified location offset.
|
| Element | Returns the parent element of this element.
|
| Element | |
| Element | Returns the root element of this ElementBuffer.
|
| Element[] | Returns all root elements of this Document. |
| Element[] | Returns the root elements of the document content.
|
| Element | Advance the iterator and return the next element of the tree,
performing an "in-order" traversal.
|
| Element | AbstractDocument.BranchElement.positionToElement(int position) Returns the Element at the specified Document
offset.
|
| Element | Returns the previous item. |