Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
PREV | NEXT | SHOW LISTS | HIDE LISTS |
java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----java.awt.swing.JComponent | +----java.awt.swing.AbstractButton | +----java.awt.swing.JToggleButton | +----java.awt.swing.JCheckBox
Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.
Inner Class Summary | |
JCheckBox.AccessibleJCheckBox
|
Inner classes inherited from class java.awt.swing.JToggleButton |
JToggleButton.AccessibleJToggleButton, JToggleButton.ToggleButtonModel |
Inner classes inherited from class java.awt.swing.AbstractButton |
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
Inner classes inherited from class java.awt.swing.JComponent |
JComponent.AccessibleJComponent |
Fields inherited from class java.awt.swing.AbstractButton |
actionListener, changeEvent, changeListener, itemListener, model |
Fields inherited from class java.awt.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Constructor Summary | |
JCheckBox()
|
|
JCheckBox(Icon icon)
|
|
JCheckBox(Icon icon,
boolean selected)
|
|
JCheckBox(String text)
|
|
JCheckBox(String text,
boolean selected)
|
|
JCheckBox(String text,
Icon icon)
|
|
JCheckBox(String text,
Icon icon,
boolean selected)
|
Method Summary | |
AccessibleContext | getAccessibleContext()
|
String | getUIClassID()
|
void | updateUI()
|
Methods inherited from class java.awt.swing.JToggleButton |
getAccessibleContext, getUIClassID, updateUI |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addNotify, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setLayout, update, validate, validateTree |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCheckBox()
public JCheckBox(Icon icon)
icon
- the Icon image to display
public JCheckBox(Icon icon, boolean selected)
icon
- the Icon image to display
selected
- a boolean value indicating the initial selection
state. If true
the checkbox is selected
public JCheckBox(String text)
text
- the text of the checkbox.
public JCheckBox(String text, boolean selected)
text
- the text of the checkbox.
selected
- a boolean value indicating the initial selection
state. If true
the checkbox is selected
public JCheckBox(String text, Icon icon)
text
- the text of the checkbox.
icon
- the Icon image to display
public JCheckBox(String text, Icon icon, boolean selected)
text
- the text of the checkbox.
icon
- the Icon image to display
selected
- a boolean value indicating the initial selection
state. If true
the checkbox is selected
Method Detail |
public void updateUI()
public String getUIClassID()
public AccessibleContext getAccessibleContext()
Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
PREV | NEXT | SHOW LISTS | HIDE LISTS |