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

Inherits edu::princeton::wordnet::browser::tree::renderers::pojos::DefaultDecorator.

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

List of all members.

Public Member Functions

 LinkDecorator (final Link thisLexLink)
Link getLink ()
String getName ()
String getValue ()
SimpleAttributeSet getNameStyle ()
Icon getIcon ()

Static Public Attributes

static Style theStyle = new Style("Link")

Static Package Functions

 [static initializer]
static Map< Integer, ImageIcon > makeIcons ()

Detailed Description

Link node decorator

Author:
Bernard Bou

Constructor & Destructor Documentation

edu.princeton.wordnet.browser.tree.renderers.pojos.LinkDecorator.LinkDecorator ( final Link  thisLexLink  ) 

Constructor

Parameters:
thisLexLink lex link

Member Function Documentation

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

Initialize

Icon edu.princeton.wordnet.browser.tree.renderers.pojos.LinkDecorator.getIcon (  ) 

Get icon for node

Returns:
icon

Reimplemented from edu.princeton.wordnet.browser.tree.renderers.pojos.DefaultDecorator.

Link edu.princeton.wordnet.browser.tree.renderers.pojos.LinkDecorator.getLink (  ) 

Get semlink

Returns:
semlink
String edu.princeton.wordnet.browser.tree.renderers.pojos.LinkDecorator.getName (  ) 

Get node name

Returns:
node name

Reimplemented from edu.princeton.wordnet.browser.tree.renderers.pojos.DefaultDecorator.

SimpleAttributeSet edu.princeton.wordnet.browser.tree.renderers.pojos.LinkDecorator.getNameStyle (  ) 

Get name style

Returns:
value style

Reimplemented from edu.princeton.wordnet.browser.tree.renderers.pojos.DefaultDecorator.

String edu.princeton.wordnet.browser.tree.renderers.pojos.LinkDecorator.getValue (  ) 

Get node data

Returns:
node data

Reimplemented from edu.princeton.wordnet.browser.tree.renderers.pojos.DefaultDecorator.

static Map<Integer, ImageIcon> edu.princeton.wordnet.browser.tree.renderers.pojos.LinkDecorator.makeIcons (  )  [static, package]

Make icon map

Returns:
linkid-icon map

Member Data Documentation

Style for name


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