swingwtx.swing.text
Class AbstractDocument.LeafElement
java.lang.Object
swingwtx.swing.text.AbstractDocument.AbstractElement
swingwtx.swing.text.AbstractDocument.LeafElement
- All Implemented Interfaces:
- AttributeSet, Element, MutableAttributeSet, java.io.Serializable, TreeNode
- Enclosing class:
- AbstractDocument
- public class AbstractDocument.LeafElement
- extends AbstractDocument.AbstractElement
- See Also:
- Serialized Form
| Methods inherited from class swingwtx.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 |
AbstractDocument.LeafElement
public AbstractDocument.LeafElement(Element parent,
AttributeSet a,
int offs0,
int offs1)
toString
public java.lang.String toString()
getStartOffset
public int getStartOffset()
- Description copied from class:
AbstractDocument.AbstractElement
- Abstract methods
- Specified by:
getStartOffset in interface Element- Specified by:
getStartOffset in class AbstractDocument.AbstractElement
getEndOffset
public int getEndOffset()
- Specified by:
getEndOffset in interface Element- Specified by:
getEndOffset in class AbstractDocument.AbstractElement
getName
public java.lang.String getName()
- Specified by:
getName in interface Element- Overrides:
getName in class AbstractDocument.AbstractElement
getElementIndex
public int getElementIndex(int pos)
- Specified by:
getElementIndex in interface Element- Specified by:
getElementIndex in class AbstractDocument.AbstractElement
getElement
public Element getElement(int index)
- Specified by:
getElement in interface Element- Specified by:
getElement in class AbstractDocument.AbstractElement
getElementCount
public int getElementCount()
- Specified by:
getElementCount in interface Element- Specified by:
getElementCount in class AbstractDocument.AbstractElement
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf in interface Element- Specified by:
isLeaf in class AbstractDocument.AbstractElement
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren in interface TreeNode- Specified by:
getAllowsChildren in class AbstractDocument.AbstractElement
children
public java.util.Enumeration children()
- Specified by:
children in interface TreeNode- Specified by:
children in class AbstractDocument.AbstractElement