|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.princeton.wordnet.browser.tree.renderers.domw3c.DefaultDecorator edu.princeton.wordnet.browser.tree.renderers.domw3c.wordnet.DefinitionDecorator
public class DefinitionDecorator
Definition node decorator
Field Summary | |
---|---|
private static javax.swing.ImageIcon |
theIcon
Icon |
private static javax.swing.text.SimpleAttributeSet |
theNameStyle
Style for name |
private static javax.swing.text.SimpleAttributeSet |
theValueStyle
Style for data |
Fields inherited from class edu.princeton.wordnet.browser.tree.renderers.domw3c.DefaultDecorator |
---|
theNode |
Constructor Summary | |
---|---|
DefinitionDecorator(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 |
javax.swing.text.SimpleAttributeSet |
getValueStyle()
Get value style |
Methods inherited from class edu.princeton.wordnet.browser.tree.renderers.domw3c.DefaultDecorator |
---|
childrenToString |
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.text.SimpleAttributeSet theValueStyle
private static javax.swing.ImageIcon theIcon
Constructor Detail |
---|
public DefinitionDecorator(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.text.SimpleAttributeSet getValueStyle()
DefaultDecorator
getValueStyle
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 |