| |
|
| java.lang.Object org.netbeans.editor.BaseElement
All known Subclasses: org.netbeans.editor.LeafElement,
BaseElement | abstract public class BaseElement implements Element(Code) | | Element implementation. It serves as parent class for both leaf and branch
elements.
author: Miloslav Metelka version: 1.00 |
ElementNameAttribute | final public static String ElementNameAttribute(Code) | | Element name attribute
|
getDocument | public Document getDocument()(Code) | | Get document this element is part of
|
getElement | abstract public Element getElement(int index)(Code) | | Get child of this element at specified index
|
getElementCount | abstract public int getElementCount()(Code) | | Get number of children of this element
|
getElementIndex | abstract public int getElementIndex(int offset)(Code) | | Gets the child element index closest to the given offset.
|
getEndMark | abstract public Mark getEndMark()(Code) | | Get end mark of this element
|
getEndOffset | abstract public int getEndOffset()(Code) | | Get end offset of this element
|
getName | public String getName()(Code) | | Get element name if defined
|
getParentElement | public Element getParentElement()(Code) | | Get parent element
|
getStartMark | abstract public Mark getStartMark()(Code) | | Get start mark of this element
|
getStartOffset | abstract public int getStartOffset()(Code) | | Get start offset of this element
|
isLeaf | abstract public boolean isLeaf()(Code) | | Does this element have any children?
|
|
|
|