All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.JCheckbox
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----com.sun.java.swing.JComponent
|
+----com.sun.java.swing.AbstractButton
|
+----com.sun.java.swing.JToggleButton
|
+----com.sun.java.swing.JCheckbox
- public class JCheckbox
- extends JToggleButton
An implementation of a Checkbox
-
JCheckbox()
- Creates a checkboxbutton with no set text
-
JCheckbox(Icon)
- Creates a checkbox with a icon.
-
JCheckbox(Icon, boolean)
- Creates a checkbox with a icon.
-
JCheckbox(String)
- Creates a checkbox with text
-
JCheckbox(String, boolean)
- Creates a checkbox.
-
JCheckbox(String, Icon)
- Creates a checkbox.
-
JCheckbox(String, Icon, boolean)
- Creates a checkbox.
-
updateUI()
- Gets a new UI object from the default UIFactory.
JCheckbox
public JCheckbox()
- Creates a checkboxbutton with no set text
JCheckbox
public JCheckbox(Icon icon)
- Creates a checkbox with a icon.
JCheckbox
public JCheckbox(Icon icon,
boolean selected)
- Creates a checkbox with a icon.
JCheckbox
public JCheckbox(String text)
- Creates a checkbox with text
JCheckbox
public JCheckbox(String text,
boolean selected)
- Creates a checkbox.
- Parameters:
- text - the text of the checkbox.
JCheckbox
public JCheckbox(String text,
Icon icon)
- Creates a checkbox.
- Parameters:
- text - the text of the button.
JCheckbox
public JCheckbox(String text,
Icon icon,
boolean selected)
- Creates a checkbox.
- Parameters:
- text - the text of the checkbox.
updateUI
public void updateUI()
- Gets a new UI object from the default UIFactory.
- Overrides:
- updateUI in class JToggleButton
All Packages Class Hierarchy This Package Previous Next Index