org.opensha.sha.gui.controls
Class CyberShakeSiteSetterControlPanel

java.lang.Object
  extended by org.opensha.commons.gui.ControlPanel
      extended by org.opensha.sha.gui.controls.CyberShakeSiteSetterControlPanel
All Implemented Interfaces:
ActionListener, EventListener, Named, ParameterChangeListener

public class CyberShakeSiteSetterControlPanel
extends ControlPanel
implements ParameterChangeListener, ActionListener


Field Summary
static boolean ALL_SITES_PARAM_DEFAULT
           
static String ALL_SITES_PARAM_NAME
           
static String NAME
           
 
Constructor Summary
CyberShakeSiteSetterControlPanel(Site_GuiBean siteGuiBean)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void doinit()
          This method will be called the first time the control panel is displayed.
 Window getComponent()
           
 void parameterChange(ParameterChangeEvent event)
          Function that must be implemented by all Listeners for ParameterChangeEvents.
 
Methods inherited from class org.opensha.commons.gui.ControlPanel
getName, init, isInitialized, showControlPanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

ALL_SITES_PARAM_NAME

public static final String ALL_SITES_PARAM_NAME
See Also:
Constant Field Values

ALL_SITES_PARAM_DEFAULT

public static final boolean ALL_SITES_PARAM_DEFAULT
See Also:
Constant Field Values
Constructor Detail

CyberShakeSiteSetterControlPanel

public CyberShakeSiteSetterControlPanel(Site_GuiBean siteGuiBean)
Method Detail

doinit

public void doinit()
Description copied from class: ControlPanel
This method will be called the first time the control panel is displayed. All setup should be in this method and not in the constructor, so that the apps can start quickly.

Specified by:
doinit in class ControlPanel

parameterChange

public void parameterChange(ParameterChangeEvent event)
Description copied from interface: ParameterChangeListener
Function that must be implemented by all Listeners for ParameterChangeEvents.

Specified by:
parameterChange in interface ParameterChangeListener
Parameters:
event - The Event which triggered this function call

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

getComponent

public Window getComponent()
Specified by:
getComponent in class ControlPanel