ucar.unidata.idv.ui
Class BottomLegend
java.lang.Object
ucar.unidata.idv.ui.IdvLegend
ucar.unidata.idv.ui.BottomLegend
- All Implemented Interfaces:
- Removable
public class BottomLegend
- extends IdvLegend
This class provides the bottom legend of display controls shown in a ViewManager.
- Author:
- IDV development team
| Methods inherited from class ucar.unidata.idv.ui.IdvLegend |
doClose, doRemove, fillLegend, floatLegend, getContainer, getContents, getFloatButton, getTitle, makePropertiesButton, setContentsToUse, setTheContainer, setViewManager, showLegend, unFloatLegend |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BottomLegend
public BottomLegend(ViewManager viewManager)
- Create me with the given ViewManager
- Parameters:
viewManager - The view manager I am part of
doMakeContents
protected JComponent doMakeContents()
- Make the GUI contents.
- Specified by:
doMakeContents in class IdvLegend
- Returns:
- The GUI contents
setColors
public void setColors(Color foreground,
Color background)
- Set the colors of the legend.
- Overrides:
setColors in class IdvLegend
- Parameters:
foreground - The foreground color of the ViewManagerbackground - The background color of the ViewManager
fillLegendSafely
protected void fillLegendSafely()
- Override the case class method to refill the legend. This gets called
from within a synchronized block when the display controls we are showing
have changed in some way.
- Specified by:
fillLegendSafely in class IdvLegend