aicas logoJamaica 6.1 release 1

java.awt.peer
Interface CheckboxPeer

All Superinterfaces:
ComponentPeer

public interface CheckboxPeer
extends ComponentPeer

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).
 
Methods inherited from interface java.awt.peer.ComponentPeer
applyShape, canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, dispose, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, isFocusable, isObscured, isReparentSupported, layout, paint, prepareImage, print, reparent, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, updateCursorImmediately
 

Method Detail

setState

void setState(boolean state)
Sets the state of the checkbox to be checked (true) or unchecked (false).

Parameters:
t - the state to set on the checkbox
See Also:
Checkbox.setState(boolean)

setCheckboxGroup

void setCheckboxGroup(CheckboxGroup g)
Sets the checkbox group for this checkbox. Checkboxes in one checkbox group can only be selected exclusively (like radio buttons). A value of null removes this checkbox from any checkbox group.

Parameters:
g - the checkbox group to set, or null when this checkbox should not be placed in any group
See Also:
Checkbox.setCheckboxGroup(CheckboxGroup)

setLabel

void setLabel(String label)
Sets the label that should be displayed on the ckeckbox. A value of null means that no label should be displayed.

Parameters:
label - the label to be displayed on the checkbox, or null when no label should be displayed.

aicas logoJamaica 6.1 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2012 aicas GmbH. All Rights Reserved.