站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

TokenItem.AbstractItem (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

org.netbeans.editor
Class TokenItem.AbstractItem

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

public abstract static class TokenItem.AbstractItem
extends Object
implements TokenItem

Abstract implementation that doesn't contain chaining methods.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.netbeans.editor.TokenItem
TokenItem.AbstractItem, TokenItem.FilterItem
 
Constructor Summary
TokenItem.AbstractItem(TokenID tokenID, TokenContextPath tokenContextPath, int offset, String image)
           
 
Method Summary
 String getImage()
          Get the image of this token.
 int getOffset()
          Get the position of the token in the document
 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
 
Methods inherited from interface org.netbeans.editor.TokenItem
getNext, getPrevious
 

Constructor Detail

TokenItem.AbstractItem

public TokenItem.AbstractItem(TokenID tokenID,
                              TokenContextPath tokenContextPath,
                              int offset,
                              String image)
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

toString

public String toString()
Overrides:
toString in class Object

org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.