org.opensha.sha.gui.controls
Class SiteDataControlPanel

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

public class SiteDataControlPanel
extends ControlPanel
implements ScalarIMRChangeListener, ActionListener, ChangeListener


Field Summary
static String NAME
           
 
Constructor Summary
SiteDataControlPanel(Component parent, IMR_MultiGuiBean imrGuiBean, Site_GuiBean siteGuiBean)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void displayData(ArrayList<SiteDataValue<?>> datas)
           
 void doinit()
          This method will be called the first time the control panel is displayed.
 Window getComponent()
           
 void imrChange(ScalarIMRChangeEvent event)
          Function that must be implemented by all Listeners for AttenuationRelationshipChangeEvents.
 boolean isSetAllSelected()
           
 void setSiteParams()
           
 void stateChanged(ChangeEvent e)
           
 
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
Constructor Detail

SiteDataControlPanel

public SiteDataControlPanel(Component parent,
                            IMR_MultiGuiBean imrGuiBean,
                            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

isSetAllSelected

public boolean isSetAllSelected()

imrChange

public void imrChange(ScalarIMRChangeEvent event)
Description copied from interface: ScalarIMRChangeListener
Function that must be implemented by all Listeners for AttenuationRelationshipChangeEvents.

Specified by:
imrChange in interface ScalarIMRChangeListener
Parameters:
event - The Event which triggered this function call

setSiteParams

public void setSiteParams()

displayData

public void displayData(ArrayList<SiteDataValue<?>> datas)

actionPerformed

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

stateChanged

public void stateChanged(ChangeEvent e)
Specified by:
stateChanged in interface ChangeListener

getComponent

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