|
||||||||||
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.ElementDecorator edu.princeton.wordnet.client.browser.domtree.wordnet.SenseDecorator
public class SenseDecorator
Sense 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.client.browser.domtree.DefaultDecorator |
---|
theNode |
Constructor Summary | |
---|---|
SenseDecorator(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 for node |
java.lang.String |
getValue()
Get node data |
javax.swing.text.SimpleAttributeSet |
getValueStyle()
Get value style for node |
Methods inherited from class edu.princeton.wordnet.client.browser.domtree.ElementDecorator |
---|
getAttributes, getText |
Methods inherited from class edu.princeton.wordnet.client.browser.domtree.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 SenseDecorator(org.w3c.dom.Node thisNode)
thisNode
- DOM nodeMethod Detail |
---|
public java.lang.String getName()
DefaultDecorator
getName
in class ElementDecorator
public java.lang.String getValue()
DefaultDecorator
getValue
in class ElementDecorator
public javax.swing.text.SimpleAttributeSet getNameStyle()
ElementDecorator
getNameStyle
in class ElementDecorator
public javax.swing.text.SimpleAttributeSet getValueStyle()
ElementDecorator
getValueStyle
in class ElementDecorator
public javax.swing.Icon getIcon()
DefaultDecorator
getIcon
in class ElementDecorator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |