|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.princeton.wordnet.browser.tree.renderers.domw3c.DefaultDecorator
edu.princeton.wordnet.browser.tree.renderers.domw3c.wordnet.SynsetDecorator
public class SynsetDecorator
Synset 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 | |
|---|---|
SynsetDecorator(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 SynsetDecorator(org.w3c.dom.Node thisNode)
thisNode - node| Method Detail |
|---|
public java.lang.String getName()
DefaultDecorator
getName in class DefaultDecoratorpublic java.lang.String getValue()
DefaultDecorator
getValue in class DefaultDecoratorpublic javax.swing.text.SimpleAttributeSet getNameStyle()
DefaultDecorator
getNameStyle in class DefaultDecoratorpublic javax.swing.text.SimpleAttributeSet getValueStyle()
DefaultDecorator
getValueStyle in class DefaultDecoratorpublic 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 | |||||||||