public class SceneAction 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, 
SonarAction, 
SonarPanel, 
SonarVisPanel, 
TargetAction, 
ViewAction, 
Xj3DWindowScene, 
Serialized Form| Modifier and Type | Field and Description | 
|---|---|
| static double | MAXIMUMXconstant maximum x size | 
| static double | MAXIMUMZconstant maximum z size | 
| static double | MINIMUMXconstant minimum x size | 
| static double | MINIMUMZconstant minimum z size | 
changeSupport, enabledACCELERATOR_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 | 
|---|
| SceneAction(ScenePanel 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. | 
| String | getGeneratedScene()Gets String value of generated sonar vis scene. | 
| 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, setEnabledpublic static final double MINIMUMX
public static final double MAXIMUMX
public static final double MINIMUMZ
public static final double MAXIMUMZ
public SceneAction(ScenePanel 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.X3DFieldEventListenerevt - The event that caused this method to be calledpublic String getGeneratedScene()
public void actionPerformed(ActionEvent evt)
actionPerformed in interface ActionListenerevt - 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.