public class SideLegend extends IdvLegend
Modifier and Type | Class and Description |
---|---|
static class |
SideLegend.CategoryPanel
Class CategoryPanel is used to hold the set of display control
legends for a particular display category.
|
ICON_DOCKED, ICON_FLOAT, ICON_PROPERTIES, ICON_REMOVE, STATE_DOCKED, STATE_FLOAT, STATE_HIDDEN, viewManager
Constructor and Description |
---|
SideLegend()
Parameterless constructor for xml encoding.
|
SideLegend(ViewManager viewManager)
Create me with the given ViewManager
|
Modifier and Type | Method and Description |
---|---|
protected javax.swing.JComponent |
doMakeContents()
Override the base class method to create the GUI contents.
|
protected void |
fillLegendSafely()
Override the case class method to refill the legend.
|
java.util.Hashtable |
getCategoryToPanelOpen()
Get the CategoryToPanel property.
|
java.util.List<java.lang.String> |
getDisplayCategories()
_more_
|
void |
initWith(SideLegend that)
Apply the category visibility state from the given that legend
to this legend
|
void |
setCategoryToPanelOpen(java.util.Hashtable value)
Set the CategoryToPanel property.
|
doClose, doRemove, fillLegend, floatLegend, getContainer, getContents, getFloatButton, getTitle, makePropertiesButton, setColors, setContentsToUse, setTheContainer, setViewManager, showLegend, unFloatLegend
public SideLegend()
public SideLegend(ViewManager viewManager)
viewManager
- The view manager I am part ofprotected javax.swing.JComponent doMakeContents()
doMakeContents
in class IdvLegend
public java.util.List<java.lang.String> getDisplayCategories()
public void initWith(SideLegend that)
that
- The that legendprotected void fillLegendSafely()
fillLegendSafely
in class IdvLegend
public void setCategoryToPanelOpen(java.util.Hashtable value)
value
- The new value for CategoryToPanelpublic java.util.Hashtable getCategoryToPanelOpen()