javax.swing.text
Class AbstractDocument.BidiElement

java.lang.Object
  extended byjavax.swing.text.AbstractDocument.AbstractElement
      extended byjavax.swing.text.AbstractDocument.LeafElement
          extended byjavax.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.


Nested Class Summary
 
Nested classes inherited from class javax.swing.text.AttributeSet
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute
 
Field Summary
 
Fields inherited from class javax.swing.text.AbstractDocument.LeafElement
 
Fields inherited from class javax.swing.text.AbstractDocument.AbstractElement
 
Fields inherited from interface javax.swing.text.AttributeSet
NameAttribute, ResolveAttribute
 
Constructor Summary
(package private) AbstractDocument.BidiElement(Element parent, int start, int end, int level)
          Creates a new BidiElement.
 
Method Summary
(package private)  int getLevel()
           
 String getName()
          Gets the name of the element.
(package private)  boolean isLeftToRight()
           
 
Methods inherited from class javax.swing.text.AbstractDocument.LeafElement
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractDocument.BidiElement

AbstractDocument.BidiElement(Element parent,
                             int start,
                             int end,
                             int level)
Creates a new BidiElement.

Method Detail

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()