public static class SideLegend.CategoryPanel extends LegendPanel
contents, extraRight
Constructor and Description |
---|
CategoryPanel(SideLegend legend,
java.lang.String theCategory)
Create me with the given legend and category
|
Modifier and Type | Method and Description |
---|---|
void |
add(DisplayControl control,
javax.swing.JComponent comp)
Add the given display control and its GUI component to this panel
|
void |
clear()
clear out contents
|
boolean |
containsDisplayControl(DisplayControl control)
Does this category panel contain the given control
|
void |
controlVisibilityChanged(boolean toWhat)
Handle when the visibility of a display control has been changed
|
void |
doDrop(java.lang.Object object)
_more_
|
boolean |
dropOk(java.lang.Object object)
_more_
|
boolean |
makeDropPanel()
_more_
|
void |
reInitialize()
Clear out the current state
|
add, add, doMakeContents, getContents, getExtraRight, getInnerVisible, setComponents, setInnerVisible, toggleInnerVisible, walkMe
public CategoryPanel(SideLegend legend, java.lang.String theCategory)
legend
- The legend we are part oftheCategory
- Our display categorypublic boolean makeDropPanel()
makeDropPanel
in class LegendPanel
public boolean dropOk(java.lang.Object object)
dropOk
in class LegendPanel
object
- _more_public void doDrop(java.lang.Object object)
doDrop
in class LegendPanel
object
- _more_public void controlVisibilityChanged(boolean toWhat)
toWhat
- What the visibility was changed topublic void add(DisplayControl control, javax.swing.JComponent comp)
control
- The display control to addcomp
- Its GUI componentpublic boolean containsDisplayControl(DisplayControl control)
control
- The controlpublic void reInitialize()
reInitialize
in class LegendPanel
public void clear()
clear
in class LegendPanel