Class WMSDialog
- java.lang.Object
-
- javax.swing.AbstractAction
-
- gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
-
- gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeatureDialog
-
- gov.nasa.worldwindx.applications.worldwindow.features.WMSDialog
-
- All Implemented Interfaces:
Initializable,WWODialog,Feature,java.awt.event.ActionListener,java.beans.PropertyChangeListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class WMSDialog extends AbstractFeatureDialog
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringFEATURE_TITLEprotected static java.lang.StringICON_PATHprotected javax.swing.JTabbedPanetabbedPane-
Fields inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeatureDialog
centerButtonPanel, closeButton, dialog, dialogPanel, leftButtonPanel, positionInitialized, rightButtonPanel
-
Fields inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
controller, featureID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WMSPaneladdNewPanel(javax.swing.JTabbedPane tabPane)protected voiddeleteCurrentPanel()voidinitialize(Controller controller)booleanisOn()booleanisTwoState()Indicates whether the feature can be either on or off, without any other states.-
Methods inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeatureDialog
getJDialog, insertCenterDialogComponent, insertDialogComponent, insertLeftDialogComponent, insertRightDialogComponent, setLocation, setTaskComponent, setTaskPanel, setTaskPanel, setTitle, setVisible, turnOn
-
Methods inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, propertyChange, register, setMenuAccellerator
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from interface gov.nasa.worldwindx.applications.worldwindow.features.Feature
getFeatureID, getName
-
Methods inherited from interface gov.nasa.worldwindx.applications.worldwindow.core.Initializable
isInitialized
-
-
-
-
Field Detail
-
FEATURE_TITLE
protected static final java.lang.String FEATURE_TITLE
- See Also:
- Constant Field Values
-
ICON_PATH
protected static final java.lang.String ICON_PATH
- See Also:
- Constant Field Values
-
tabbedPane
protected javax.swing.JTabbedPane tabbedPane
-
-
Constructor Detail
-
WMSDialog
public WMSDialog(Registry registry)
-
-
Method Detail
-
isTwoState
public boolean isTwoState()
Description copied from interface:FeatureIndicates 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.- Specified by:
isTwoStatein interfaceFeature- Overrides:
isTwoStatein classAbstractFeature- Returns:
- true if the feature has only two states, otherwise off.
-
isOn
public boolean isOn()
- Specified by:
isOnin interfaceFeature- Overrides:
isOnin classAbstractFeature
-
initialize
public void initialize(Controller controller)
- Specified by:
initializein interfaceInitializable- Overrides:
initializein classAbstractFeatureDialog
-
deleteCurrentPanel
protected void deleteCurrentPanel()
-
addNewPanel
protected WMSPanel addNewPanel(javax.swing.JTabbedPane tabPane)
-
-