public abstract class AbstractApplicationFeature extends AbstractFeature implements NetworkActivitySignal.NetworkUser
Modifier and Type | Field and Description |
---|---|
protected LayerList |
appLayers |
protected boolean |
autoSelectLayers |
protected Thread |
createLayersThread |
protected boolean |
on |
controller, featureID
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Modifier | Constructor and Description |
---|---|
protected |
AbstractApplicationFeature(String name,
String featureID,
String largeIconPath,
Registry registry) |
Modifier and Type | Method and Description |
---|---|
protected void |
addLayer(Layer layer,
LayerPath path) |
protected void |
addLayers(LayerList layerList) |
protected LayerTree |
addLayerTree(LayerTree layerTree) |
protected void |
createLayers() |
protected void |
destroyLayer(Layer layer) |
protected void |
destroyLayers() |
protected void |
doAddLayer(Layer layer,
LayerPath path) |
protected abstract void |
doCreateLayers() |
LayerList |
getAppLayers() |
protected abstract String |
getLayerGroupName() |
protected void |
handleInterrupt() |
boolean |
hasNetworkActivity() |
void |
initialize(Controller controller) |
boolean |
isAutoSelectLayers() |
boolean |
isOn() |
protected void |
killPopulateLayerThread() |
protected void |
removeLayers() |
void |
setAutoSelectLayers(boolean autoSelectLayers) |
protected void |
setOn(boolean tf) |
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, isTwoState, propertyChange, register, setMenuAccellerator, turnOn
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected LayerList appLayers
protected boolean autoSelectLayers
protected Thread createLayersThread
protected boolean on
protected void addLayers(LayerList layerList)
protected void createLayers()
protected void destroyLayer(Layer layer)
protected void destroyLayers()
protected abstract void doCreateLayers()
public LayerList getAppLayers()
protected abstract String getLayerGroupName()
protected void handleInterrupt()
public boolean hasNetworkActivity()
hasNetworkActivity
in interface NetworkActivitySignal.NetworkUser
public void initialize(Controller controller)
initialize
in interface Initializable
initialize
in class AbstractFeature
public boolean isAutoSelectLayers()
public boolean isOn()
isOn
in interface Feature
isOn
in class AbstractFeature
protected void killPopulateLayerThread()
protected void removeLayers()
public void setAutoSelectLayers(boolean autoSelectLayers)
protected void setOn(boolean tf)