|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.opensha.sha.gui.beans.Site_GuiBean
public class Site_GuiBean
Title:SiteParamListEditor
Description: this class will make the site parameter editor.
Copyright: Copyright (c) 2002
Company:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| 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 |
C
|
static String |
LATITUDE
|
static String |
LONGITUDE
Latitude and longitude are added to the site paraattenRelImplmeters |
protected static String |
SITE_PARAMS
|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
Site_GuiBean()
constuctor which builds up mapping between IMRs and their related sites |
|
| Method Summary | |
|---|---|
void |
addSiteParams(Iterator it)
This function adds the site params to the existing list. |
void |
addSiteParamsClone(Iterator it)
This function adds the site params to the existing list. |
ParameterListEditor |
getParameterListEditor()
|
Site |
getSite()
get the site object from the site params |
Site |
getSiteClone()
get the clone of site object from the site params |
void |
parameterChange(ParameterChangeEvent e)
this function when longitude or latitude are updated So, we update the site object as well |
void |
parameterChangeFailed(ParameterChangeFailEvent e)
Shown when a Constraint error is thrown on a ParameterEditor |
void |
replaceSiteParams(Iterator it)
This function removes the previous site parameters and adds as passed in iterator |
void |
setSite(Site site)
Display the site params based on the site passed as the parameter |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final String C
public static final String LONGITUDE
public static final String LATITUDE
protected static final String SITE_PARAMS
| Constructor Detail |
|---|
public Site_GuiBean()
| Method Detail |
|---|
public void addSiteParams(Iterator it)
it - : Iterator over the site params in the IMRpublic void addSiteParamsClone(Iterator it)
it - : Iterator over the site params in the IMRpublic void replaceSiteParams(Iterator it)
it - public void setSite(Site site)
public Site getSite()
public Site getSiteClone()
public void parameterChange(ParameterChangeEvent e)
parameterChange in interface ParameterChangeListenere - public void parameterChangeFailed(ParameterChangeFailEvent e)
parameterChangeFailed in interface ParameterChangeFailListenere - Description of the Parameterpublic ParameterListEditor getParameterListEditor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||