Package noaa.coastwatch.gui.visual
Class VisualBoolean
java.lang.Object
noaa.coastwatch.gui.visual.AbstractVisualObject
noaa.coastwatch.gui.visual.VisualBoolean
- All Implemented Interfaces:
ComponentProducer
,VisualObject
The
VisualBoolean
class represents a Boolean as a
checkbox button. When the button is pressed, the Boolean changes
value.- Since:
- 3.1.7
- Author:
- Peter Hollemans
-
Field Summary
Fields inherited from class noaa.coastwatch.gui.visual.AbstractVisualObject
VALUE_PROPERTY
-
Constructor Summary
ConstructorDescriptionVisualBoolean
(Boolean value) Creates a new visual Boolean object using the specified Boolean. -
Method Summary
Methods inherited from class noaa.coastwatch.gui.visual.AbstractVisualObject
addPropertyChangeListener, firePropertyChange, firePropertyChange, hasChooser, refreshComponent, setRestrictions, showChooser
-
Constructor Details
-
VisualBoolean
Creates a new visual Boolean object using the specified Boolean.
-
-
Method Details
-
getComponent
Gets the button used to represent the Boolean. -
getValue
Gets the Boolean value.- Returns:
- the value that this visual object currently holds.
-
main
Tests this class.- Parameters:
argv
- the array of command line parameters.
-