public class SonarAction extends AbstractAction implements org.web3d.x3d.sai.X3DFieldEventListener
Contact: Don Brutzman (web.nps.navy.mil/~brutzman) brutzman@nps.navy.mil
DecimalTextField
,
DynamicGridLayout
,
ButtonsPanel
,
MetcastAction
,
MainFrame
,
MetcastPanel
,
SaveAction
,
MetcastEngine
,
ScenePanel
,
SceneAction
,
SonarPanel
,
SonarVisPanel
,
TargetAction
,
ViewAction
,
Xj3DWindowScene
,
Serialized FormModifier and Type | Field and Description |
---|---|
static double |
MAXIMUMX
constant maximum x size
|
static double |
MAXIMUMZ
constant maximum z size
|
static double |
MINIMUMX
constant minimum x size
|
static double |
MINIMUMZ
constant minimum z size
|
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
Constructor and Description |
---|
SonarAction(SonarPanel panel,
org.web3d.x3d.sai.ExternalBrowser browser,
SceneGenerator scene)
Create an instance of the action class.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent evt)
An action has been performed.
|
void |
readableFieldChanged(org.web3d.x3d.sai.X3DFieldEvent evt)
Process an event that has occurred on a node's event output.
|
void |
setFireField(org.web3d.x3d.sai.SFBool field,
org.web3d.x3d.sai.X3DNode building,
org.web3d.x3d.sai.X3DNode timer)
Set the field object used to allow telling the script about the file
that is to be loaded.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public static final double MINIMUMX
public static final double MAXIMUMX
public static final double MINIMUMZ
public static final double MAXIMUMZ
public SonarAction(SonarPanel panel, org.web3d.x3d.sai.ExternalBrowser browser, SceneGenerator scene)
panel
- The frame to use as the parent of the dialogbrowser
- External browser object.scene
- A 3D sonar visualization scene based on inputs from the Metcast Web Service.public void readableFieldChanged(org.web3d.x3d.sai.X3DFieldEvent evt)
readableFieldChanged
in interface org.web3d.x3d.sai.X3DFieldEventListener
evt
- The event that caused this method to be calledpublic void actionPerformed(ActionEvent evt)
actionPerformed
in interface ActionListener
evt
- The event that caused this method to be called.public void setFireField(org.web3d.x3d.sai.SFBool field, org.web3d.x3d.sai.X3DNode building, org.web3d.x3d.sai.X3DNode timer)
timer
- The grouping node that holds the complete, loaded timer.field
- The field object to prod for resets.building
- The grouping node that holds the complete, loaded building.