|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CheckboxPeer
Disabled: no SafeJ information.
The peer interface for Checkbox
.
The peer interfaces are intended only for use in porting
the AWT. They are not intended for use by application
developers, and developers should not implement peers
nor invoke any of the peer methods directly on the peer
instances.
Field Summary |
---|
Fields inherited from interface java.awt.peer.ComponentPeer |
---|
DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE |
Method Summary | |
---|---|
void |
setCheckboxGroup(CheckboxGroup g)
Sets the checkbox group for this checkbox. |
void |
setLabel(String label)
Sets the label that should be displayed on the ckeckbox. |
void |
setState(boolean state)
Sets the state of the checkbox to be checked ( true ) or
unchecked (false ). |
Method Detail |
---|
void setState(boolean state)
true
) or
unchecked (false
).
t
- the state to set on the checkboxCheckbox.setState(boolean)
void setCheckboxGroup(CheckboxGroup g)
null
removes this checkbox from any checkbox group.
g
- the checkbox group to set, or null
when this
checkbox should not be placed in any groupCheckbox.setCheckboxGroup(CheckboxGroup)
void setLabel(String label)
null
means that no label should be displayed.
label
- the label to be displayed on the checkbox, or
null
when no label should be displayed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |