org.geotools.gui.swing.legend
Class LegendNodeInfo
java.lang.Object
org.geotools.gui.swing.legend.LegendNodeInfo
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- LegendLayerNodeInfo, LegendRootNodeInfo, LegendRuleNodeInfo
- public abstract class LegendNodeInfo
- extends java.lang.Object
- implements java.io.Serializable
in a legend, three kind node involves: Root Node, Layer Node, Rule Node this
is a interface for simplify coding some common features in those three
class.
- Author:
- jianhuij
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LegendNodeInfo
public LegendNodeInfo()
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
toString
public abstract java.lang.String toString()
getIcon
public abstract javax.swing.Icon getIcon(boolean selected)
getBackground
public abstract java.awt.Color getBackground(boolean selected)
isSelected
public abstract boolean isSelected()
Copyright © GeoTools. All Rights Reserved.