org.netbeans.modules.editor.lib/3 3.23.0 19

org.netbeans.editor
Class TokenItem.FilterItem

java.lang.Object
  extended by org.netbeans.editor.TokenItem.FilterItem
All Implemented Interfaces:
TokenItem
Enclosing interface:
TokenItem

public static class TokenItem.FilterItem
extends Object
implements TokenItem

Implementation useful for delegation.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.netbeans.editor.TokenItem
TokenItem.AbstractItem, TokenItem.FilterItem
 
Field Summary
protected  TokenItem delegate
           
 
Constructor Summary
TokenItem.FilterItem(TokenItem delegate)
           
 
Method Summary
 String getImage()
          Get the image of this token.
 TokenItem getNext()
          Get next token-item in the text.
 int getOffset()
          Get the position of the token in the document
 TokenItem getPrevious()
          Get previous token-item in the text.
 TokenContextPath getTokenContextPath()
          Get the token-id of this token-item
 TokenID getTokenID()
          Get the token-id of this token-item
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

delegate

protected TokenItem delegate
Constructor Detail

TokenItem.FilterItem

public TokenItem.FilterItem(TokenItem delegate)
Method Detail

getTokenID

public TokenID getTokenID()
Description copied from interface: TokenItem
Get the token-id of this token-item

Specified by:
getTokenID in interface TokenItem

getTokenContextPath

public TokenContextPath getTokenContextPath()
Description copied from interface: TokenItem
Get the token-id of this token-item

Specified by:
getTokenContextPath in interface TokenItem

getOffset

public int getOffset()
Description copied from interface: TokenItem
Get the position of the token in the document

Specified by:
getOffset in interface TokenItem

getImage

public String getImage()
Description copied from interface: TokenItem
Get the image of this token.

Specified by:
getImage in interface TokenItem

getNext

public TokenItem getNext()
Description copied from interface: TokenItem
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.

Specified by:
getNext in interface TokenItem

getPrevious

public TokenItem getPrevious()
Description copied from interface: TokenItem
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.

Specified by:
getPrevious in interface TokenItem

toString

public String toString()
Overrides:
toString in class Object

org.netbeans.modules.editor.lib/3 3.23.0 19

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.