Class DoubleValue

java.lang.Object
docking.widgets.values.AbstractValue<Double>
docking.widgets.values.DoubleValue

public class DoubleValue extends AbstractValue<Double>
Value class for Double types. This value uses a FloatingPointTextField as it's editor component. It supports the concept of no value, if the text field is empty.

This class and other subclasses of AbstractValue are part of a subsystem for easily defining a set of values that can be displayed in an input dialog (ValuesMapDialog). Typically, these values are created indirectly using a GValuesMap which is then given to the constructor of the dialog. However, an alternate approach is to create the dialog without a ValuesMap and then use its ValuesMapDialog.addValue(AbstractValue) method directly.