org.geotools.gui.swing.legend
Class LegendRootNodeInfo
java.lang.Object
org.geotools.gui.swing.legend.LegendNodeInfo
org.geotools.gui.swing.legend.LegendRootNodeInfo
- All Implemented Interfaces:
- java.io.Serializable
- public class LegendRootNodeInfo
- extends LegendNodeInfo
stores Context Object reference and others
- Author:
- jianhuij
- See Also:
- Serialized Form
Constructor Summary |
LegendRootNodeInfo(MapContext context,
java.lang.String name,
boolean selected)
Creates a new instance of LegendRootNoteInfo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LegendRootNodeInfo
public LegendRootNodeInfo(MapContext context,
java.lang.String name,
boolean selected)
- Creates a new instance of LegendRootNoteInfo
- Parameters:
context
- DOCUMENT ME!name
- DOCUMENT ME!selected
- DOCUMENT ME!
getBackground
public java.awt.Color getBackground(boolean selected)
- Specified by:
getBackground
in class LegendNodeInfo
getMapContext
public MapContext getMapContext()
setMapContext
public void setMapContext(MapContext context)
setSelected
public void setSelected(boolean selected)
isSelected
public boolean isSelected()
- Specified by:
isSelected
in class LegendNodeInfo
toString
public java.lang.String toString()
- Specified by:
toString
in class LegendNodeInfo
getIcon
public javax.swing.Icon getIcon(boolean selected)
- Specified by:
getIcon
in class LegendNodeInfo
- See Also:
LegendNodeInfo.getIcon(boolean)
Copyright © GeoTools. All Rights Reserved.