public class HTMLDocument.RunElement extends javax.swing.text.AbstractDocument.LeafElement
| Constructor and Description |
|---|
HTMLDocument.RunElement(javax.swing.text.Element parent,
javax.swing.text.AttributeSet a,
int start,
int end)
Constructs an element that has no children.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the name of the element.
|
javax.swing.text.AttributeSet |
getResolveParent()
Gets the resolving parent.
|
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, toStringaddAttribute, addAttributes, containsAttribute, containsAttributes, copyAttributes, dump, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParentpublic HTMLDocument.RunElement(javax.swing.text.Element parent, javax.swing.text.AttributeSet a, int start, int end)
parent - - parent of thisa - - elements attributesstart - - the start offset >= 0end - - the end offsetpublic java.lang.String getName()
getName in interface javax.swing.text.ElementgetName in class javax.swing.text.AbstractDocument.LeafElementpublic javax.swing.text.AttributeSet getResolveParent()
getResolveParent in interface javax.swing.text.AttributeSetgetResolveParent in class javax.swing.text.AbstractDocument.AbstractElementAbstractDocument.AbstractElement.setResolveParent(AttributeSet)