Package pulse.math
Class Parameter
- java.lang.Object
-
- pulse.math.Parameter
-
- All Implemented Interfaces:
Serializable
public class Parameter extends Object implements Serializable
Parameter class- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Parameter(Parameter p)Parameter(ParameterIdentifier index)Parameter(ParameterIdentifier index, Transformable transform, Segment bound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Parametercopy()doublegetApparentValue()SegmentgetBounds()ParameterIdentifiergetIdentifier()TransformablegetTransform()SegmentgetTransformedBounds()If transform ofiis not null, applies the transformation to the component boundsdoubleinverseTransform()voidsetBounds(Segment bounds)voidsetTransform(Transformable transform)voidsetValue(double value)voidsetValue(double value, boolean ignoreTransform)
-
-
-
Constructor Detail
-
Parameter
public Parameter(ParameterIdentifier index, Transformable transform, Segment bound)
-
Parameter
public Parameter(ParameterIdentifier index)
-
Parameter
public Parameter(Parameter p)
-
-
Method Detail
-
getIdentifier
public ParameterIdentifier getIdentifier()
-
setBounds
public void setBounds(Segment bounds)
-
getBounds
public Segment getBounds()
-
getTransformedBounds
public Segment getTransformedBounds()
If transform ofiis not null, applies the transformation to the component bounds- Parameters:
i- the index of the component- Returns:
- the transformed bounds
-
getTransform
public Transformable getTransform()
-
setTransform
public void setTransform(Transformable transform)
-
inverseTransform
public double inverseTransform()
-
copy
public Parameter copy()
-
getApparentValue
public double getApparentValue()
-
setValue
public void setValue(double value, boolean ignoreTransform)
-
setValue
public void setValue(double value)
-
-