Class AbstractFeatureDialog
- java.lang.Object
-
- javax.swing.AbstractAction
-
- gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
-
- gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeatureDialog
-
- 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
- Direct Known Subclasses:
ImportedDataDialog,MeasurementDialog,WMSDialog
public class AbstractFeatureDialog extends AbstractFeature implements WWODialog
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JPanelcenterButtonPanelprotected javax.swing.JButtoncloseButtonprotected javax.swing.JDialogdialogprotected javax.swing.JPaneldialogPanelprotected javax.swing.JPanelleftButtonPanelprotected booleanpositionInitializedprotected javax.swing.JPanelrightButtonPanel-
Fields inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
controller, featureID
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractFeatureDialog(java.lang.String name, java.lang.String featureID, Registry registry)protectedAbstractFeatureDialog(java.lang.String name, java.lang.String featureID, java.lang.String largeIconPath, Registry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JDialoggetJDialog()voidinitialize(Controller controller)protected voidinsertCenterDialogComponent(javax.swing.JComponent component)protected voidinsertDialogComponent(javax.swing.JComponent component)protected voidinsertLeftDialogComponent(javax.swing.JComponent component)protected voidinsertRightDialogComponent(javax.swing.JComponent component)protected voidsetLocation(int horizontal, int vertical)protected voidsetTaskComponent(javax.swing.JComponent component)protected voidsetTaskPanel(FeaturePanel panel)protected voidsetTaskPanel(java.lang.String featureID)voidsetTitle(java.lang.String title)voidsetVisible(boolean tf)voidturnOn(boolean tf)-
Methods inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
actionPerformed, addToToolBar, doActionPerformed, doPropertyChange, getController, getFeatureID, getName, getStringValue, isInitialized, isOn, isTwoState, 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, isOn, isTwoState
-
Methods inherited from interface gov.nasa.worldwindx.applications.worldwindow.core.Initializable
isInitialized
-
-
-
-
Field Detail
-
dialog
protected javax.swing.JDialog dialog
-
dialogPanel
protected javax.swing.JPanel dialogPanel
-
leftButtonPanel
protected javax.swing.JPanel leftButtonPanel
-
rightButtonPanel
protected javax.swing.JPanel rightButtonPanel
-
centerButtonPanel
protected javax.swing.JPanel centerButtonPanel
-
closeButton
protected javax.swing.JButton closeButton
-
positionInitialized
protected boolean positionInitialized
-
-
Constructor Detail
-
AbstractFeatureDialog
protected AbstractFeatureDialog(java.lang.String name, java.lang.String featureID, Registry registry)
-
AbstractFeatureDialog
protected AbstractFeatureDialog(java.lang.String name, java.lang.String featureID, java.lang.String largeIconPath, Registry registry)
-
-
Method Detail
-
initialize
public void initialize(Controller controller)
- Specified by:
initializein interfaceInitializable- Overrides:
initializein classAbstractFeature
-
getJDialog
public javax.swing.JDialog getJDialog()
- Specified by:
getJDialogin interfaceWWODialog
-
setTitle
public void setTitle(java.lang.String title)
-
setTaskPanel
protected void setTaskPanel(FeaturePanel panel)
-
setTaskPanel
protected void setTaskPanel(java.lang.String featureID)
-
setTaskComponent
protected void setTaskComponent(javax.swing.JComponent component)
-
insertLeftDialogComponent
protected void insertLeftDialogComponent(javax.swing.JComponent component)
-
insertRightDialogComponent
protected void insertRightDialogComponent(javax.swing.JComponent component)
-
insertCenterDialogComponent
protected void insertCenterDialogComponent(javax.swing.JComponent component)
-
insertDialogComponent
protected void insertDialogComponent(javax.swing.JComponent component)
-
setLocation
protected void setLocation(int horizontal, int vertical)
-
turnOn
public void turnOn(boolean tf)
- Specified by:
turnOnin interfaceFeature- Overrides:
turnOnin classAbstractFeature
-
setVisible
public void setVisible(boolean tf)
- Specified by:
setVisiblein interfaceWWODialog
-
-