Checkbox.Checkbox
Class Overview | Class Members |
This Package |
All Packages
public Checkbox()
Description
Creates a check box with no label. The state of this
check box is set to "off," and it is not part of any
check box group.
public Checkbox( String label )
Parameters
- label
- a string label for this check box,
or null for no label.
Description
Creates a check box with the specified label. The state
of this check box is set to "off," and it is not part of
any check box group.
public Checkbox( String label,
boolean state )
Parameters
- label
- a string label for this check box,
or null for no label.
- state
- the initial state of this check box.
Description
Creates a check box with the specified label. The state
of this check box is as specified by the state
argument, and it is not part of any check box group.
public Checkbox( String label,
boolean state,
CheckboxGroup group )
Parameters
- label
- a string label for this check box,
or null for no label.
- state
- the initial state of this check box.
- group
- a check box group for this check box,
or null for no group.
Description
Creates a check box with the specified label, in the specified
check box group, and set to the specified state.
public Checkbox( String label,
CheckboxGroup group,
boolean state )
Description
Constructs a Checkbox with the specified label, set to the
specified state, and in the specified check box group.