edu.princeton.wordnet.browser.tree.renderers.pojos.Renderer Class Reference

Inherits javax::swing::tree::TreeCellRenderer.

Collaboration diagram for edu.princeton.wordnet.browser.tree.renderers.pojos.Renderer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Renderer ()
Component getTreeCellRendererComponent (final JTree tree, final Object value, final boolean selected, final boolean expanded, final boolean leaf, final int row, final boolean hasFocus)

Protected Member Functions

void registerPatterns ()
DefaultDecorator makeDecorator (final DefaultMutableTreeNode thisNode)

Protected Attributes

List< Pattern > thePatterns
Map< Pattern, SimpleAttributeSet > thePatternToStyleMap

Static Package Functions

 [static initializer]

Static Package Attributes

static Color theValueColor = new Color(175, 175, 175)

Detailed Description

WordNet-specific renderer

Author:
Bernard Bou

Constructor & Destructor Documentation

edu.princeton.wordnet.browser.tree.renderers.pojos.Renderer.Renderer (  ) 

Constructor


Member Function Documentation

edu.princeton.wordnet.browser.tree.renderers.pojos.Renderer.[static initializer] (  )  [static, package]

Initialize

DefaultDecorator edu.princeton.wordnet.browser.tree.renderers.pojos.Renderer.makeDecorator ( final DefaultMutableTreeNode  thisNode  )  [protected]

Make node decorator as per node content

Parameters:
thisNode node
Returns:
node decorator
void edu.princeton.wordnet.browser.tree.renderers.pojos.Renderer.registerPatterns (  )  [protected]

Register patterns


Member Data Documentation

Pattern list

MappedStyle for patterns

Color edu.princeton.wordnet.browser.tree.renderers.pojos.Renderer.theValueColor = new Color(175, 175, 175) [static, package]

Default value color


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations
Generated on Tue May 25 16:43:57 2010 for WordNetScope by  doxygen 1.6.3