edu.princeton.wordnet.browser.tree.renderers.domw3c
Class TextDecorator

java.lang.Object
  extended by edu.princeton.wordnet.browser.tree.renderers.domw3c.DefaultDecorator
      extended by edu.princeton.wordnet.browser.tree.renderers.domw3c.TextDecorator

public class TextDecorator
extends DefaultDecorator

Decorates text node

Author:
Bernard Bou

Field Summary
private static javax.swing.ImageIcon theIcon
          Icon
 
Fields inherited from class edu.princeton.wordnet.browser.tree.renderers.domw3c.DefaultDecorator
theNode
 
Constructor Summary
TextDecorator(org.w3c.dom.Node thisNode)
          Constructor
 
Method Summary
 javax.swing.Icon getIcon()
          Get icon for node
 
Methods inherited from class edu.princeton.wordnet.browser.tree.renderers.domw3c.DefaultDecorator
childrenToString, getName, getNameStyle, getValue, getValueStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theIcon

private static javax.swing.ImageIcon theIcon
Icon

Constructor Detail

TextDecorator

public TextDecorator(org.w3c.dom.Node thisNode)
Constructor

Parameters:
thisNode - node to decorate
Method Detail

getIcon

public javax.swing.Icon getIcon()
Get icon for node

Overrides:
getIcon in class DefaultDecorator
Returns:
icon