|
||||||||||
| 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.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.browser.tree.renderers.domw3c.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.browser.tree.renderers.domw3c.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 - 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.Icon getIcon()
DefaultDecorator
getIcon in class DefaultDecorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||