|
||||||||||
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.pojos.DefaultDecorator
public class DefaultDecorator
Node decorator
Field Summary | |
---|---|
static Style |
theDefaultStyle
Default name style |
protected java.lang.Object |
theObject
Object to decorate |
Constructor Summary | |
---|---|
DefaultDecorator(java.lang.Object thisObject)
Constructor |
Method Summary | |
---|---|
protected java.lang.String |
childrenToString()
Convert children's value to string |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Style theDefaultStyle
protected java.lang.Object theObject
Constructor Detail |
---|
public DefaultDecorator(java.lang.Object thisObject)
thisObject
- object to decorateMethod Detail |
---|
public java.lang.String getName()
public java.lang.String getValue()
public javax.swing.text.SimpleAttributeSet getNameStyle()
public javax.swing.text.SimpleAttributeSet getValueStyle()
public javax.swing.Icon getIcon()
protected java.lang.String childrenToString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |