public class VisualBoolean extends AbstractVisualObject
VisualBoolean
class represents a Boolean as a
checkbox button. When the button is pressed, the Boolean changes
value.VALUE_PROPERTY
Constructor and Description |
---|
VisualBoolean(java.lang.Boolean value)
Creates a new visual Boolean object using the specified Boolean.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getComponent()
Gets the button used to represent the Boolean.
|
java.lang.Object |
getValue()
Gets the Boolean value.
|
static void |
main(java.lang.String[] argv)
Tests this class.
|
addPropertyChangeListener, firePropertyChange, firePropertyChange, hasChooser, refreshComponent, setRestrictions, showChooser
public VisualBoolean(java.lang.Boolean value)
public java.awt.Component getComponent()
public java.lang.Object getValue()
public static void main(java.lang.String[] argv)
argv
- the array of command line parameters.