|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.sra.gui.components.StructureDescriptorBean
public class StructureDescriptorBean
Title: StructureDescriptorBean
Description: A bean to gather and store information about a structure.
While this can be expanding upon to include more specific information about a structure,
its current implementation holds only the information for the purposes of the BenefitCostRatio
application.
BRC_Application| Field Summary |
|---|
| Fields inherited from interface org.opensha.sra.gui.components.GuiBeanAPI |
|---|
APPLET, APPLICATION, BUTTON, EMBED, MENUOPT, SPLASH, WEB |
| Constructor Summary | |
|---|---|
StructureDescriptorBean(List<AbstractVulnerability> vulns)
Creates an unnamed StructureDescriptorBean |
|
StructureDescriptorBean(String name,
List<AbstractVulnerability> vulns)
Creates a new StructureDescriptorBean with the given name. |
|
| Method Summary | |
|---|---|
double |
getReplaceCost()
|
Object |
getVisualization(int type)
See the general contract in GuiBeanAPI. |
String |
getVisualizationClassName(int type)
See the general contract in GuiBeanAPI. |
VulnerabilityBean |
getVulnerabilityBean()
|
AbstractVulnerability |
getVulnerabilityModel()
|
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 StructureDescriptorBean(List<AbstractVulnerability> vulns)
public StructureDescriptorBean(String name,
List<AbstractVulnerability> vulns)
name - The title of this bean.| Method Detail |
|---|
public VulnerabilityBean getVulnerabilityBean()
public AbstractVulnerability getVulnerabilityModel()
public double getReplaceCost()
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 | |||||||||