Package org.dawb.common.ui.printing
Class PrintSettings.ValueWithUnits
java.lang.Object
org.dawb.common.ui.printing.PrintSettings.ValueWithUnits
- Enclosing class:
PrintSettings
ValueWithUnits is a simple class that handles a double value and an associates unit. This class is used by
methods that handle String representations of a value with units, e.g. "1.234 cm".
-
Method Summary
-
Method Details
-
getString
- Returns:
- The string representation, e.g. "1.234 cm".
-
getVal
public double getVal()- Returns:
- The value.
-
getUnitsName
- Returns:
- The name of the units.
-