Class BooleanValue

java.lang.Object
docking.widgets.values.AbstractValue<Boolean>
docking.widgets.values.BooleanValue

public class BooleanValue extends AbstractValue<Boolean>
Value class for Boolean types. Boolean types use a JCheckBox for displaying and modifying values. Because the checkBox is always either checked or unchecked, BooleanValues don't support the concept of having no value.

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.