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.JPanel
centerButtonPanel
protected javax.swing.JButton
closeButton
protected javax.swing.JDialog
dialog
protected javax.swing.JPanel
dialogPanel
protected javax.swing.JPanel
leftButtonPanel
protected boolean
positionInitialized
protected javax.swing.JPanel
rightButtonPanel
-
Fields inherited from class gov.nasa.worldwindx.applications.worldwindow.features.AbstractFeature
controller, featureID
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractFeatureDialog(java.lang.String name, java.lang.String featureID, Registry registry)
protected
AbstractFeatureDialog(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.JDialog
getJDialog()
void
initialize(Controller controller)
protected void
insertCenterDialogComponent(javax.swing.JComponent component)
protected void
insertDialogComponent(javax.swing.JComponent component)
protected void
insertLeftDialogComponent(javax.swing.JComponent component)
protected void
insertRightDialogComponent(javax.swing.JComponent component)
protected void
setLocation(int horizontal, int vertical)
protected void
setTaskComponent(javax.swing.JComponent component)
protected void
setTaskPanel(FeaturePanel panel)
protected void
setTaskPanel(java.lang.String featureID)
void
setTitle(java.lang.String title)
void
setVisible(boolean tf)
void
turnOn(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:
initialize
in interfaceInitializable
- Overrides:
initialize
in classAbstractFeature
-
getJDialog
public javax.swing.JDialog getJDialog()
- Specified by:
getJDialog
in 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:
turnOn
in interfaceFeature
- Overrides:
turnOn
in classAbstractFeature
-
setVisible
public void setVisible(boolean tf)
- Specified by:
setVisible
in interfaceWWODialog
-
-