| |
|
| org.netbeans.editor.TokenItem
TokenItem | public interface TokenItem (Code) | | Token-item presents a token as a piece information without dependence on a
character buffer and it enables to chain the token-items in both directions.
author: Miloslav Metelka version: 1.00 |
Inner Class :abstract public static class AbstractItem implements TokenItem | |
Inner Class :public static class FilterItem implements TokenItem | |
getImage | public String getImage()(Code) | | Get the image of this token.
|
getNext | public TokenItem getNext()(Code) | | Get next token-item in the text. It returns null if there's no more next
tokens in the text. It can throw IllegalStateException in case
the document was changed so the token-item chain becomes invalid.
|
getOffset | public int getOffset()(Code) | | Get the position of the token in the document
|
getPrevious | public TokenItem getPrevious()(Code) | | Get previous token-item in the text. It returns null if there's no more
previous tokens in the text. It can throw IllegalStateException
in case the document was changed so the token-item chain becomes invalid.
|
getTokenID | public TokenID getTokenID()(Code) | | Get the token-id of this token-item
|
|
|
|