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 TypeMethodDescriptionvoid
add
(DisplayControl control, JComponent comp) Add the given display control and its GUI component to this panelvoid
clear()
clear out contentsboolean
containsDisplayControl
(DisplayControl control) Does this category panel contain the given controlvoid
controlVisibilityChanged
(boolean toWhat) Handle when the visibility of a display control has been changedvoid
_more_boolean
_more_boolean
_more_void
Clear 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:
makeDropPanel
in classLegendPanel
- Returns:
- _more_
-
dropOk
_more_- Overrides:
dropOk
in classLegendPanel
- Parameters:
object
- _more_- Returns:
- _more_
-
doDrop
_more_- Overrides:
doDrop
in 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:
reInitialize
in classLegendPanel
-
clear
public void clear()clear out contents- Overrides:
clear
in classLegendPanel
-