| java.lang.Object org.netbeans.editor.BaseElement org.netbeans.editor.LeafElement
LeafElement | public class LeafElement extends BaseElement (Code) | | Leaf element is used on the leaf level of element tree.
author: Miloslav Metelka version: 0.10 |
bol | protected boolean bol(Code) | | Does this view begin at line begining
|
endMark | protected Mark endMark(Code) | | Mark giving end offset of this element
|
eol | protected boolean eol(Code) | | Does this view end at line end
|
startMark | protected Mark startMark(Code) | | Mark giving start offset of this element
|
getElement | public Element getElement(int index)(Code) | | Get child of this element at specified index or itself if the index is
too big
|
getElementCount | public int getElementCount()(Code) | | Get number of children of this element
|
getElementIndex | public int getElementIndex(int offset)(Code) | | Gets the child element index closest to the given offset. For leaf
element this returns -1.
|
getEndMark | final public Mark getEndMark()(Code) | | Get end mark of this element
|
getEndOffset | final public int getEndOffset()(Code) | | Get end offset of this element
|
getStartMark | final public Mark getStartMark()(Code) | | Get start mark of this element
|
getStartOffset | final public int getStartOffset()(Code) | | Get start offset of this element
|
isBOL | final public boolean isBOL()(Code) | | Is this view begining at begin of line
|
isEOL | final public boolean isEOL()(Code) | | Is this view ending at end of line ?
|
isLeaf | public boolean isLeaf()(Code) | | Does this element have any children?
|
|
|