public class ComponentRiskProfile
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ComponentRiskProfile.RiskProfile
A specific profile that can be added
|
Constructor and Description |
---|
ComponentRiskProfile(org.eclipse.swt.widgets.Composite parent,
Controller controller)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Composite |
getControl()
Returns the root composite
|
void |
reset()
Resets the component
|
void |
setOtherProfile(ComponentRiskProfile other)
Adds another synchronized profile
|
void |
setProfiles(double[] lower,
double[] upper,
ComponentRiskProfile.RiskProfile... profiles)
Sets a set of profiles
|
void |
setXAxisTitle(java.lang.String title)
Sets the x-axis title
|
void |
setYAxisTitle(java.lang.String title)
Sets the y-axis title
|
public ComponentRiskProfile(org.eclipse.swt.widgets.Composite parent, Controller controller)
parent
- controller
- public org.eclipse.swt.widgets.Composite getControl()
public void reset()
public void setOtherProfile(ComponentRiskProfile other)
other
- public void setProfiles(double[] lower, double[] upper, ComponentRiskProfile.RiskProfile... profiles)
lower
- Lower bounds of x-bucketsupper
- Upper bounds of x-bucketsprofiles
- public void setXAxisTitle(java.lang.String title)
title
- public void setYAxisTitle(java.lang.String title)
title
-