Package org.openpnp.gui.support
Class VolumeCellValue
- java.lang.Object
-
- org.openpnp.gui.support.VolumeCellValue
-
- All Implemented Interfaces:
java.lang.Comparable<VolumeCellValue>
public class VolumeCellValue extends java.lang.Object implements java.lang.Comparable<VolumeCellValue>
-
-
Constructor Summary
Constructors Constructor Description VolumeCellValue(java.lang.String value)
VolumeCellValue(Volume volume)
VolumeCellValue(Volume volume, boolean displayNativeUnits)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(VolumeCellValue other)
Volume
getVolume()
boolean
isDisplayNativeUnits()
static void
setConfiguration(Configuration configuration)
void
setDisplayNativeUnits(boolean displayNativeUnits)
void
setVolume(Volume volume)
java.lang.String
toString()
-
-
-
Method Detail
-
setConfiguration
public static void setConfiguration(Configuration configuration)
-
getVolume
public Volume getVolume()
-
setVolume
public void setVolume(Volume volume)
-
isDisplayNativeUnits
public boolean isDisplayNativeUnits()
-
setDisplayNativeUnits
public void setDisplayNativeUnits(boolean displayNativeUnits)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
compareTo
public int compareTo(VolumeCellValue other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<VolumeCellValue>
-
-