|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sra.gui.components.VulnerabilityBean
public class VulnerabilityBean
Title: VulnerabilityBean
Description: A bean to gather and store information about a vulnerabilty
model (function).
VulnerabilityModel| Field Summary |
|---|
| Fields inherited from interface org.opensha.sra.gui.components.GuiBeanAPI |
|---|
APPLET, APPLICATION, BUTTON, EMBED, MENUOPT, SPLASH, WEB |
| Constructor Summary | |
|---|---|
VulnerabilityBean(List<AbstractVulnerability> vms)
Creates a new VulnerabilityBean that is ready to be displayed by
an application through a call to its getVisualization(...) method. |
|
| Method Summary | |
|---|---|
AbstractVulnerability |
getCurrentModel()
|
ParameterList |
getDisplayParameters()
|
StringParameter |
getParameter()
|
Object |
getVisualization(int type)
See the general contract in GuiBeanAPI. |
String |
getVisualizationClassName(int type)
See the general contract in GuiBeanAPI. |
boolean |
isVisualizationSupported(int type)
See the general contract in GuiBeanAPI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VulnerabilityBean(List<AbstractVulnerability> vms)
VulnerabilityBean that is ready to be displayed by
an application through a call to its getVisualization(...) method.
| Method Detail |
|---|
public AbstractVulnerability getCurrentModel()
public StringParameter getParameter()
public ParameterList getDisplayParameters()
public Object getVisualization(int type)
getVisualization in interface GuiBeanAPItype - An int defining the type of application visualization desired.
JComponent in
the case of an applet/application, but might just be an HTML String in the
case of a web application. Implementation can vary greatly.public String getVisualizationClassName(int type)
getVisualizationClassName in interface GuiBeanAPItype - The type of visualization desired.
getVisualization. If the given type is not supported, then
null is returned.public boolean isVisualizationSupported(int type)
isVisualizationSupported in interface GuiBeanAPItype - The type of application the visualization is desired for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||