Package org.jreliability.gui.aspect
Class AbstractAspect
java.lang.Object
org.jreliability.gui.aspect.AbstractAspect
- All Implemented Interfaces:
Aspect
- Direct Known Subclasses:
DensityAspect
,FailureRateAspect
,ReliabilityFunctionAspect
,UnreliabilityFunctionAspect
The
AbstractAspect
is the basic class for all Aspect
s.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAspect
(String name, String xAxis, String yAxis) Constructs anAbstractAspect
with a given name and labels for the x-axis and y-axis. -
Method Summary
Modifier and TypeMethodDescriptiondouble
getLower
(ReliabilityFunction reliabilityFunction) Returns the lower bound of theReliabilityFunction
under the currentAspect
.getName()
Returns the name of theAspect
.getXAxis()
Returns the label for the x-axis .getYAxis()
Returns the label for the x-axis.
-
Field Details
-
name
The name of theAspect
. -
xAxis
The label of the x-axis. -
yAxis
The label of the y-axis. -
lower
protected double lowerThe standard lower bound is0
.
-
-
Constructor Details
-
AbstractAspect
Constructs anAbstractAspect
with a given name and labels for the x-axis and y-axis.- Parameters:
name
- the name of the aspectxAxis
- the label of the x-axisyAxis
- the label of the y-axis
-
-
Method Details
-
getName
Description copied from interface:Aspect
Returns the name of theAspect
. -
getXAxis
Description copied from interface:Aspect
Returns the label for the x-axis . -
getYAxis
Description copied from interface:Aspect
Returns the label for the x-axis. -
getLower
Description copied from interface:Aspect
Returns the lower bound of theReliabilityFunction
under the currentAspect
.
-