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

TokenID (Editor Library) - NetBeans API Javadoc (Current Development Version)

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

org.netbeans.editor
Interface TokenID

All Superinterfaces:
TokenCategory
All Known Subinterfaces:
ImageTokenID
All Known Implementing Classes:
BaseImageTokenID, BaseTokenID

public interface TokenID
extends TokenCategory

Token-id is a unique identifier of a particular token. It's not a classical token, because it doesn't contain the image of the token. The token image is handled separately in general. The common place where the tokens should be defined is the appropriate token-context for which they are being created. The fact that TokenID extends TokenCategory helps to treat the colorings more easily by working with TokenCategory only (it can be TokenID too).


Method Summary
 TokenCategory getCategory()
          Get the optional category of the token.
 
Methods inherited from interface org.netbeans.editor.TokenCategory
getName, getNumericID
 

Method Detail

getCategory

TokenCategory getCategory()
Get the optional category of the token.


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.