|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.opensha.sha.gcim.ui.GcimEditIMiControlPanel
public class GcimEditIMiControlPanel
Title: GcimEditImiControlPanel
Description: This Control Panel allows a single IMi for which a GCIM distribution is desired to be specified. This includes the specification of the IMi's IMR, IMT, IMCorrRel, and site params
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected static String |
appURL
|
protected static boolean |
D
|
protected ArrayList<Object> |
functionList
List of ArbitrarilyDiscretized functions and Weighted funstions |
protected IMCorrRel_MultiGuiBean |
imCorrRelGuiBean
|
protected IMR_MultiGuiBean |
imrGuiBean
|
protected GcimSite_GuiBean |
siteGuiBean
|
protected CalcProgressBar |
startAppProgressClass
|
protected static String |
versionUpdateInfoURL
|
protected static String |
versionURL
|
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
GcimEditIMiControlPanel(GcimControlPanel parent,
Component parentComponent,
int imiIndex)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
|
void |
getGcimSite()
This gets the GCIM site object |
int |
getImiIndex()
This gets the current imiIndex |
IMR_MultiGuiBean |
getIMRGuiBeanInstance()
It returns the IMR Gui bean, which allows the Cybershake control panel to set the gaussian truncation value in the main application similar to selected for Cybershake. |
IMT_GcimGuiBean |
getIMTGuiBeanInstance()
It returns the IMT Gui bean, which allows the Cybershake control panel to set the same SA period value in the main application similar to selected for Cybershake. |
Parameter<Double> |
getIMTSelectedInIMTGUI()
THis methods returns the IM parameter which is currently selected in the IMT GUI |
ArrayList<String> |
getParentIMiList()
This method gets the current IMiNames list from the GcimControl Panel |
Parameter<Double> |
getParentIMjName()
This method gets the IMjName from the main hazard calcs, used to determine which other IMj are allowable |
void |
getParentSite()
This gets the parent site object which are defined in the hazard curve calculator |
Parameter<Double> |
getSelectedIM()
|
Map<TectonicRegionType,ImCorrelationRelationship> |
getSelectedIMCorrRelMap()
This returns the selected IMCorrRel map |
ArrayList<? extends Map<TectonicRegionType,ImCorrelationRelationship>> |
getSelectedIMikjCorrRelMap()
This returns the selected IMikCorrRel map |
Map<TectonicRegionType,ScalarIMR> |
getSelectedIMRMap()
This returns the selected IMR map |
String |
getSelectedIMT()
|
void |
imCorrRelChange(IMCorrRelChangeEvent event)
Function that must be implemented by all Listeners for ImCorrelationRelationChangeEvents. |
void |
imrChange(ScalarIMRChangeEvent event)
Function that must be implemented by all Listeners for AttenuationRelationshipChangeEvents. |
void |
imtChange(IMTChangeEvent e)
This method will be called when the IMT is changed in an editor |
void |
init()
This method initialises the applet assuming no prior information |
void |
init(int index)
This method initalizes the applet using information which has been previously input |
protected void |
initIMCorrRel_GuiBean()
Initialize the IMCorrRel Gui Bean |
protected void |
initIMR_GuiBean()
Initialize the IMR Gui Bean |
protected void |
initSiteGuiBean()
Initialize the site gui bean |
protected void |
jbInit()
|
void |
parameterChange(ParameterChangeEvent event)
Any time a control paramater or independent paramater is changed by the user in a GUI this function is called, and a paramater change event is passed in. |
boolean |
setDefaultIMCorrRelinGUI()
This method gets the first IMCorrRel which supports the default IMi and IMj |
boolean |
setDefaultIMikCorrRelinGUI()
This method gets the first IMikCorrRel which supports the default IMi and IMk |
boolean |
setDefaultIMikCorrRelinGUI(int index,
String imkName)
This method gets the first IMCorrRel which supports the default IMi and IMk |
boolean |
setDefaultIMRinGUI()
This method gets the first IMR which supports the default IMi |
protected void |
setImtPanel(ParameterListEditor panel,
double resizeWeight)
Provided to allow subclasses to substitute the IMT panel. |
void |
updateGcimSite(Site gcimSite)
This updates the parameters of the GCIM site object |
void |
updateSiteParams()
Updates the Site_GuiBean to reflect the chnaged SiteParams for the selected AttenuationRelationship. |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
protected static final boolean D
protected ArrayList<Object> functionList
protected IMR_MultiGuiBean imrGuiBean
protected IMCorrRel_MultiGuiBean imCorrRelGuiBean
protected GcimSite_GuiBean siteGuiBean
protected CalcProgressBar startAppProgressClass
protected static final String versionURL
protected static final String appURL
protected static final String versionUpdateInfoURL
| Constructor Detail |
|---|
public GcimEditIMiControlPanel(GcimControlPanel parent,
Component parentComponent,
int imiIndex)
| Method Detail |
|---|
public void init(int index)
imiNum - - the imiNum for which the applet is to be created forpublic void init()
protected void jbInit()
throws Exception
Exceptionpublic boolean setDefaultIMRinGUI()
public boolean setDefaultIMikCorrRelinGUI()
public boolean setDefaultIMCorrRelinGUI()
public boolean setDefaultIMikCorrRelinGUI(int index,
String imkName)
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListener
protected void setImtPanel(ParameterListEditor panel,
double resizeWeight)
public void parameterChange(ParameterChangeEvent event)
parameterChange in interface ParameterChangeListenerevent - protected void initIMR_GuiBean()
protected void initIMCorrRel_GuiBean()
protected void initSiteGuiBean()
public String getSelectedIMT()
public Parameter<Double> getSelectedIM()
public Map<TectonicRegionType,ScalarIMR> getSelectedIMRMap()
public Map<TectonicRegionType,ImCorrelationRelationship> getSelectedIMCorrRelMap()
public ArrayList<? extends Map<TectonicRegionType,ImCorrelationRelationship>> getSelectedIMikjCorrRelMap()
public IMT_GcimGuiBean getIMTGuiBeanInstance()
public IMR_MultiGuiBean getIMRGuiBeanInstance()
public void updateSiteParams()
public void imrChange(ScalarIMRChangeEvent event)
ScalarIMRChangeListener
imrChange in interface ScalarIMRChangeListenerevent - The Event which triggered this function callpublic void imCorrRelChange(IMCorrRelChangeEvent event)
IMCorrRelChangeListener
imCorrRelChange in interface IMCorrRelChangeListenerevent - The Event which triggered this function callpublic void imtChange(IMTChangeEvent e)
IMTChangeListener
imtChange in interface IMTChangeListenerpublic void getParentSite()
public int getImiIndex()
public void getGcimSite()
public void updateGcimSite(Site gcimSite)
public Parameter<Double> getParentIMjName()
public ArrayList<String> getParentIMiList()
public Parameter<Double> getIMTSelectedInIMTGUI()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||