|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.princeton.wordnet.client.browser.domtree.DefaultDecorator edu.princeton.wordnet.client.browser.domtree.wordnet.LinkDecorator
public class LinkDecorator
Link node decorator
Field Summary | |
---|---|
private static javax.swing.ImageIcon |
theIcon
Icon |
private static javax.swing.text.SimpleAttributeSet |
theNameStyle
Style for name |
Fields inherited from class edu.princeton.wordnet.client.browser.domtree.DefaultDecorator |
---|
theNode |
Constructor Summary | |
---|---|
LinkDecorator(org.w3c.dom.Node thisNode)
Constructor |
Method Summary | |
---|---|
javax.swing.Icon |
getIcon()
Get icon for node |
java.lang.String |
getName()
Get node name |
javax.swing.text.SimpleAttributeSet |
getNameStyle()
Get name style |
java.lang.String |
getValue()
Get node data |
Methods inherited from class edu.princeton.wordnet.client.browser.domtree.DefaultDecorator |
---|
childrenToString, getValueStyle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static javax.swing.text.SimpleAttributeSet theNameStyle
private static javax.swing.ImageIcon theIcon
Constructor Detail |
---|
public LinkDecorator(org.w3c.dom.Node thisNode)
thisNode
- nodeMethod Detail |
---|
public java.lang.String getName()
DefaultDecorator
getName
in class DefaultDecorator
public java.lang.String getValue()
DefaultDecorator
getValue
in class DefaultDecorator
public javax.swing.text.SimpleAttributeSet getNameStyle()
DefaultDecorator
getNameStyle
in class DefaultDecorator
public javax.swing.Icon getIcon()
DefaultDecorator
getIcon
in class DefaultDecorator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |