Interface Feature
-
- All Superinterfaces:
javax.swing.Action,java.awt.event.ActionListener,java.util.EventListener,Initializable,java.beans.PropertyChangeListener
- All Known Subinterfaces:
ActiveLayersManager,FeaturePanel,LayerManager,MenuBar,StatusPanel,WWODialog
- All Known Implementing Classes:
AbstractApplicationFeature,AbstractElevationsFeature,AbstractFeature,AbstractFeatureDialog,AbstractFeatureLayer,AbstractFeaturePanel,AbstractOnDemandLayerFeature,AbstractOpenResourceFeature,ActiveLayersPanel,AppFrameImpl,AppPanelImpl,Compass,ControlsPanelImpl,CoordinatesDisplay,Crosshair,ExternalLinkController,GazetteerPanel,Graticule,GraticuleLayer,IconController,ImportedDataDialog,InfoPanelController,LatLonGraticule,LayerManagerDialog,LayerManagerPanel,Measurement,MeasurementDialog,MeasurementPanel,MenuBarImpl,Navigation,NetworkActivitySignal,OpenFile,OpenURL,ScaleBar,StatusPanelImpl,ToolBarImpl,ToolTipController,UTMGraticule,WMSDialog,WMSPanel,WWPanelImpl,YahooGazetteer
public interface Feature extends Initializable, javax.swing.Action, java.beans.PropertyChangeListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetFeatureID()java.lang.StringgetName()booleanisOn()booleanisTwoState()Indicates whether the feature can be either on or off, without any other states.voidturnOn(boolean tf)-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from interface gov.nasa.worldwindx.applications.worldwindow.core.Initializable
initialize, isInitialized
-
-
-
-
Method Detail
-
getFeatureID
java.lang.String getFeatureID()
-
isOn
boolean isOn()
-
isTwoState
boolean isTwoState()
Indicates whether the feature can be either on or off, without any other states. This is used by the tool bar and menu-bar menus to determine whether the feature's enable/disable button or menu item should be displayed with an indicator that it's either on or off. In the case of a menu the indicator is a check box. In the case of a tool bar button the indicator is a dot above the button.- Returns:
- true if the feature has only two states, otherwise off.
-
turnOn
void turnOn(boolean tf)
-
getName
java.lang.String getName()
-
-