javax.swing.text
Class AbstractDocument.BidiElement
java.lang.Object
javax.swing.text.AbstractDocument.AbstractElement
javax.swing.text.AbstractDocument.LeafElement
javax.swing.text.AbstractDocument.BidiElement
- All Implemented Interfaces:
- AttributeSet, Element, MutableAttributeSet, Serializable, TreeNode
- Enclosing class:
- AbstractDocument
- class AbstractDocument.BidiElement
- extends AbstractDocument.LeafElement
Represents an element of the bidirectional element structure.
Methods inherited from class javax.swing.text.AbstractDocument.AbstractElement |
addAttribute, addAttributes, containsAttribute, containsAttributes, copyAttributes, dump, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, getResolveParent, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParent |
AbstractDocument.BidiElement
AbstractDocument.BidiElement(Element parent,
int start,
int end,
int level)
- Creates a new BidiElement.
getName
public String getName()
- Gets the name of the element.
- Specified by:
getName
in interface Element
- Overrides:
getName
in class AbstractDocument.LeafElement
- Returns:
- the name
getLevel
int getLevel()
isLeftToRight
boolean isLeftToRight()