public class HTMLDocument.RunElement extends AbstractDocument.LeafElement
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttributeNameAttribute, ResolveAttribute| Constructor and Description |
|---|
HTMLDocument.RunElement(Element parent,
AttributeSet a,
int start,
int end)
Constructs an element that has no children.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the element.
|
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(Element parent, AttributeSet a, int start, int end)
parent - - parent of thisa - - elements attributesstart - - the start offset >= 0end - - the end offsetpublic String getName()
getName in interface ElementgetName in class AbstractDocument.LeafElementpublic AttributeSet getResolveParent()
getResolveParent in interface AttributeSetgetResolveParent in class AbstractDocument.AbstractElementAbstractDocument.AbstractElement.setResolveParent(AttributeSet)