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 Aspects.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAspect(String name, String xAxis, String yAxis) Constructs anAbstractAspectwith a given name and labels for the x-axis and y-axis. -
Method Summary
Modifier and TypeMethodDescriptiondoublegetLower(ReliabilityFunction reliabilityFunction) Returns the lower bound of theReliabilityFunctionunder 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 anAbstractAspectwith 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:AspectReturns the name of theAspect. -
getXAxis
Description copied from interface:AspectReturns the label for the x-axis . -
getYAxis
Description copied from interface:AspectReturns the label for the x-axis. -
getLower
Description copied from interface:AspectReturns the lower bound of theReliabilityFunctionunder the currentAspect.
-