| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private static final Insets | |
| private int | |
| private int | |
| pack-priv CheckboxGroup | |
| private static final int | |
| private int | |
| private Color | |
| private static final Insets | |
| private Rectangle | |
| pack-priv String | |
| private static final PlatformLogger | |
| private static final Polygon | |
| private static final double | |
| private Shape | |
| private boolean | |
| private boolean | |
| private Rectangle |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | focusGained(FocusEvent e)
Overrides sun. Called when component receives focus |
| public void | focusLost(FocusEvent e)
Overrides sun. Called when component loses focus |
| private int | |
| public Dimension | getMinimumSize()
Overrides sun. Implements java. Determines the minimum size of the component. |
| pack-priv void | |
| pack-priv void | |
| public boolean | isFocusable()
Overrides sun. Implements java. Returns |
| public void | |
| public void | |
| public void | |
| public void | layout()
Overrides sun. Implements java. Used by lightweight implementations to tell a ComponentPeer to layout its sub-elements. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| pack-priv void | |
| public void | |
| protected void | |
| pack-priv void | |
| public void | |
| protected void | |
| public void | preInit(XCreateWindowParams params)
Overrides sun. Called before window creation, descendants should override to initialize the data, initialize params. |
| public void | setBackground(Color c)
Overrides sun. Implements java. Sets the background color of this component. |
| public void | setCheckboxGroup(final CheckboxGroup g)
Implements java. Sets the checkbox group for this checkbox. |
| public void | setLabel(String label)
Implements java. Sets the label that should be displayed on the checkbox. |
| public void | setState(boolean state)
Implements java. Sets the state of the checkbox to be checked |
| armed | back to summary |
|---|---|
| private boolean armed | |
| borderInsets | back to summary |
|---|---|
| private static final Insets borderInsets | |
| cbX | back to summary |
|---|---|
| private int cbX | |
| cbY | back to summary |
|---|---|
| private int cbY | |
| checkBoxGroup | back to summary |
|---|---|
| pack-priv CheckboxGroup checkBoxGroup | |
| checkBoxInsetFromText | back to summary |
|---|---|
| private static final int checkBoxInsetFromText | |
| checkBoxSize | back to summary |
|---|---|
| private int checkBoxSize | |
| focusColor | back to summary |
|---|---|
| private Color focusColor | |
| focusInsets | back to summary |
|---|---|
| private static final Insets focusInsets | |
| focusRect | back to summary |
|---|---|
| private Rectangle focusRect | |
| label | back to summary |
|---|---|
| pack-priv String label | |
| log | back to summary |
|---|---|
| private static final PlatformLogger log | |
| MASTER_CHECKMARK | back to summary |
|---|---|
| private static final Polygon MASTER_CHECKMARK | |
| MASTER_SIZE | back to summary |
|---|---|
| private static final double MASTER_SIZE | |
| myCheckMark | back to summary |
|---|---|
| private Shape myCheckMark | |
| pressed | back to summary |
|---|---|
| private boolean pressed | |
| selected | back to summary |
|---|---|
| private boolean selected | |
| textRect | back to summary |
|---|---|
| private Rectangle textRect | |
| XCheckboxPeer | back to summary |
|---|---|
| pack-priv XCheckboxPeer(Checkbox target) | |
| action | back to summary |
|---|---|
| pack-priv void action(boolean state) | |
| focusGained | back to summary |
|---|---|
| public void focusGained(FocusEvent e) Overrides sun. Doc from sun. Called when component receives focus
| |
| focusLost | back to summary |
|---|---|
| public void focusLost(FocusEvent e) Overrides sun. Doc from sun. Called when component loses focus
| |
| getCheckboxSize | back to summary |
|---|---|
| private int getCheckboxSize(FontMetrics fm) | |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize() Overrides sun. Implements java. Doc from java. Determines the minimum size of the component.
| |
| handleJavaKeyEvent | back to summary |
|---|---|
| pack-priv void handleJavaKeyEvent(KeyEvent e) Overrides sun.
| |
| handleJavaMouseEvent | back to summary |
|---|---|
| pack-priv void handleJavaMouseEvent(MouseEvent e) Overrides sun.
| |
| isFocusable | back to summary |
|---|---|
| public boolean isFocusable() Overrides sun. Implements java. Doc from java. Returns
| |
| keyPressed | back to summary |
|---|---|
| public void keyPressed(KeyEvent e) | |
| keyReleased | back to summary |
|---|---|
| public void keyReleased(KeyEvent e) | |
| keyTyped | back to summary |
|---|---|
| public void keyTyped(KeyEvent e) | |
| layout | back to summary |
|---|---|
| public void layout() Overrides sun. Implements java. Doc from java. Used by lightweight implementations to tell a ComponentPeer to layout its sub-elements. For instance, a lightweight Checkbox needs to layout the box, as well as the text label.
| |
| mouseClicked | back to summary |
|---|---|
| public void mouseClicked(MouseEvent e) | |
| mouseEntered | back to summary |
|---|---|
| public void mouseEntered(MouseEvent e) | |
| mouseExited | back to summary |
|---|---|
| public void mouseExited(MouseEvent e) | |
| mousePressed | back to summary |
|---|---|
| public void mousePressed(MouseEvent e) | |
| mouseReleased | back to summary |
|---|---|
| public void mouseReleased(MouseEvent e) | |
| notifyStateChanged | back to summary |
|---|---|
| pack-priv void notifyStateChanged(boolean state) | |
| paintCheckbox | back to summary |
|---|---|
| public void paintCheckbox(Graphics g, int x, int y, int w, int h) | |
| paintFocus | back to summary |
|---|---|
| protected void paintFocus(Graphics g, int x, int y, int w, int h) | |
| paintPeer | back to summary |
|---|---|
| pack-priv void paintPeer(final Graphics g) Overrides sun.
| |
| paintRadioButton | back to summary |
|---|---|
| public void paintRadioButton(Graphics g, int x, int y, int w, int h) | |
| paintText | back to summary |
|---|---|
| protected void paintText(Graphics g, Rectangle textRect, String text) | |
| preInit | back to summary |
|---|---|
| public void preInit(XCreateWindowParams params) Overrides sun. Doc from sun. Called before window creation, descendants should override to initialize the data, initialize params.
| |
| setBackground | back to summary |
|---|---|
| public void setBackground(Color c) Overrides sun. Implements java. Doc from java. Sets the background color of this component.
| |
| setCheckboxGroup | back to summary |
|---|---|
| public void setCheckboxGroup(final CheckboxGroup g) Implements java. Doc from java. Sets the checkbox group for this checkbox. Checkboxes in one checkbox
group can only be selected exclusively (like radio buttons). A value
of
| |
| setLabel | back to summary |
|---|---|
| public void setLabel(String label) Implements java. Doc from java. Sets the label that should be displayed on the checkbox. A value of
| |
| setState | back to summary |
|---|---|
| public void setState(boolean state) Implements java. Doc from java. Sets the state of the checkbox to be checked
| |