fable.framework.imageprint
Class PrintSettings.ValueWithUnits

java.lang.Object
  extended by fable.framework.imageprint.PrintSettings.ValueWithUnits
Enclosing class:
PrintSettings

public class PrintSettings.ValueWithUnits
extends java.lang.Object

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".

Author:
Kenneth Evans, Jr.

Method Summary
 java.lang.String getString()
           
 java.lang.String getUnitsName()
           
 double getVal()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getString

public java.lang.String getString()
Returns:
The string representation, e.g. "1.234 cm".

getVal

public double getVal()
Returns:
The value.

getUnitsName

public java.lang.String getUnitsName()
Returns:
The name of the units.