Class AngleDegreesConverter
- java.lang.Object
-
- org.bidib.wizard.mvc.stepcontrol.view.converter.AngleDegreesConverter
-
-
Constructor Summary
Constructors Constructor Description AngleDegreesConverter(long totalSteps)Constructs aStringConverteron the given subject using the default DecimalFormat.AngleDegreesConverter(Format format, long totalSteps)Constructs aStringConverteron the given subject using the specifiedFormat.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NumbersourceValue(String targetValue)Parses the given String encoding and sets it as the subject's new value.StringtargetValue(Number sourceValue)Formats the source value and returns a String representation.
-
-
-
Constructor Detail
-
AngleDegreesConverter
public AngleDegreesConverter(Format format, long totalSteps)
Constructs aStringConverteron the given subject using the specifiedFormat.- Parameters:
format- theFormatused to format and parse- Throws:
NullPointerException- if the subject or the format is null.
-
AngleDegreesConverter
public AngleDegreesConverter(long totalSteps)
Constructs aStringConverteron the given subject using the default DecimalFormat.
-
-