Class SideLegend.CategoryPanel

java.lang.Object
ucar.unidata.idv.ui.LegendPanel
ucar.unidata.idv.ui.SideLegend.CategoryPanel
Enclosing class:
SideLegend

public static class SideLegend.CategoryPanel extends LegendPanel
Class CategoryPanel is used to hold the set of display control legends for a particular display category.
Author:
IDV development team
  • Constructor Details

    • CategoryPanel

      public CategoryPanel(SideLegend legend, String theCategory)
      Create me with the given legend and category
      Parameters:
      legend - The legend we are part of
      theCategory - Our display category
  • Method Details

    • makeDropPanel

      public boolean makeDropPanel()
      _more_
      Overrides:
      makeDropPanel in class LegendPanel
      Returns:
      _more_
    • dropOk

      public boolean dropOk(Object object)
      _more_
      Overrides:
      dropOk in class LegendPanel
      Parameters:
      object - _more_
      Returns:
      _more_
    • doDrop

      public void doDrop(Object object)
      _more_
      Overrides:
      doDrop in class LegendPanel
      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

      public void add(DisplayControl control, JComponent comp)
      Add the given display control and its GUI component to this panel
      Parameters:
      control - The display control to add
      comp - Its GUI component
    • containsDisplayControl

      public boolean containsDisplayControl(DisplayControl control)
      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 class LegendPanel
    • clear

      public void clear()
      clear out contents
      Overrides:
      clear in class LegendPanel