org.netbeans.modules.editor.lib/1 1.44.0 9

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.44.0 9

Built on November 22 2009.  |  Portions Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.