public class ActiveLayersPanel extends AbstractFeaturePanel implements ActiveLayersManager
| Modifier and Type | Class and Description |
|---|---|
protected class |
ActiveLayersPanel.ReorderListener |
| Modifier and Type | Field and Description |
|---|---|
protected ActiveLayersList |
jlist |
protected javax.swing.DefaultListModel |
model |
protected static java.lang.String |
TOOL_TIP |
panelcontroller, featureID| Constructor and Description |
|---|
ActiveLayersPanel(Registry registry) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillModel(LayerList layerList) |
void |
initialize(Controller controller) |
boolean |
isIncludeInternalLayers()
Indicates whether to show internal layers, those whose attribute-value list contains
Constants.INTERNAL_LAYER. |
boolean |
isOn() |
boolean |
isTwoState()
Indicates whether the feature can be either on or off, without any other states.
|
protected void |
refresh(java.beans.PropertyChangeEvent event) |
void |
setIncludeInternalLayers(boolean includeInternalLayers)
Specifies whether to show internal layers.
|
void |
turnOn(boolean tf) |
void |
updateLayerList(LayerList layerList)
Replace the contents of the model with the contents of a specified [@link LayerList}.
|
getDialogControls, getJPanelactionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, propertyChange, register, setMenuAccelleratoraddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFeatureID, getNameisInitializedprotected ActiveLayersList jlist
protected javax.swing.DefaultListModel model
protected static final java.lang.String TOOL_TIP
public ActiveLayersPanel(Registry registry)
protected void fillModel(LayerList layerList)
public void initialize(Controller controller)
initialize in interface Initializableinitialize in class AbstractFeaturePanelpublic boolean isIncludeInternalLayers()
ActiveLayersManagerConstants.INTERNAL_LAYER.isIncludeInternalLayers in interface ActiveLayersManagerpublic boolean isOn()
isOn in interface FeatureisOn in class AbstractFeaturepublic boolean isTwoState()
FeatureisTwoState in interface FeatureisTwoState in class AbstractFeatureprotected void refresh(java.beans.PropertyChangeEvent event)
public void setIncludeInternalLayers(boolean includeInternalLayers)
ActiveLayersManagersetIncludeInternalLayers in interface ActiveLayersManagerincludeInternalLayers - true for internal layers to be shown, otherwise false.public void turnOn(boolean tf)
turnOn in interface FeatureturnOn in class AbstractFeaturepublic void updateLayerList(LayerList layerList)
ActiveLayersManagerupdateLayerList in interface ActiveLayersManagerlayerList - the layer list to display.