org.opensha.sra.gui.portfolioeal.gui
Class SitePanel

java.lang.Object
  extended by org.opensha.sra.gui.portfolioeal.gui.SitePanel

public class SitePanel
extends Object

This class creates an instance of SiteGuiBeanFacade.

Author:
Jeremy Leakakos
See Also:
SiteGuiBeanFacade

Constructor Summary
SitePanel(ScalarIMR imr)
          The constructor for the SitePanel.
 
Method Summary
 JPanel getPanel()
           
 SiteGuiBeanFacade getSiteBean()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SitePanel

public SitePanel(ScalarIMR imr)
The constructor for the SitePanel. It creates a SiteGuiBeanFacade, which is a facade of Site_GuiBean. It sets the parameters in the site bean from the initial imr.

Parameters:
imr - The intensity measure relationship used; gotten from the view
Method Detail

getSiteBean

public SiteGuiBeanFacade getSiteBean()
Returns:
The underlying SiteGuiBeanFacade

getPanel

public JPanel getPanel()
Returns:
The JPanel created to show to the view.