Package ucar.unidata.idv.ui
Class SideLegend.CategoryPanel
java.lang.Object
ucar.unidata.idv.ui.LegendPanel
ucar.unidata.idv.ui.SideLegend.CategoryPanel
- Enclosing class:
SideLegend
Class CategoryPanel is used to hold the set of display control
legends for a particular display category.
- Author:
- IDV development team
-
Field Summary
Fields inherited from class ucar.unidata.idv.ui.LegendPanel
contents, extraRight -
Constructor Summary
ConstructorsConstructorDescriptionCategoryPanel(SideLegend legend, String theCategory) Create me with the given legend and category -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(DisplayControl control, JComponent comp) Add the given display control and its GUI component to this panelvoidclear()clear out contentsbooleancontainsDisplayControl(DisplayControl control) Does this category panel contain the given controlvoidcontrolVisibilityChanged(boolean toWhat) Handle when the visibility of a display control has been changedvoid_more_boolean_more_boolean_more_voidClear out the current stateMethods inherited from class ucar.unidata.idv.ui.LegendPanel
add, add, doMakeContents, getContents, getExtraRight, getInnerVisible, setComponents, setInnerVisible, toggleInnerVisible, walkMe
-
Constructor Details
-
CategoryPanel
Create me with the given legend and category- Parameters:
legend- The legend we are part oftheCategory- Our display category
-
-
Method Details
-
makeDropPanel
public boolean makeDropPanel()_more_- Overrides:
makeDropPanelin classLegendPanel- Returns:
- _more_
-
dropOk
_more_- Overrides:
dropOkin classLegendPanel- Parameters:
object- _more_- Returns:
- _more_
-
doDrop
_more_- Overrides:
doDropin classLegendPanel- Parameters:
object- _more_
-
controlVisibilityChanged
public void controlVisibilityChanged(boolean toWhat) Handle when the visibility of a display control has been changed- Parameters:
toWhat- What the visibility was changed to
-
add
Add the given display control and its GUI component to this panel- Parameters:
control- The display control to addcomp- Its GUI component
-
containsDisplayControl
Does this category panel contain the given control- Parameters:
control- The control- Returns:
- Contains the control
-
reInitialize
public void reInitialize()Clear out the current state- Overrides:
reInitializein classLegendPanel
-
clear
public void clear()clear out contents- Overrides:
clearin classLegendPanel
-