BasicCheckBoxUI (Java 2 Platform SE 5.0) (original) (raw)


javax.swing.plaf.basic

Class BasicCheckBoxUI

java.lang.Object extended by javax.swing.plaf.ComponentUI extended by javax.swing.plaf.ButtonUI extended by javax.swing.plaf.basic.BasicButtonUI extended by javax.swing.plaf.basic.BasicToggleButtonUI extended by javax.swing.plaf.basic.BasicRadioButtonUI extended by javax.swing.plaf.basic.BasicCheckBoxUI


public class BasicCheckBoxUI

extends BasicRadioButtonUI

CheckboxUI implementation for BasicCheckboxUI

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 applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder.


Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
icon
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
Constructor Summary
BasicCheckBoxUI()
Method Summary
static ComponentUI createUI(JComponent b)
String getPropertyPrefix()
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPreferredSize, installDefaults, [paint](../../../../javax/swing/plaf/basic/BasicRadioButtonUI.html#paint%28java.awt.Graphics, javax.swing.JComponent%29), [paintFocus](../../../../javax/swing/plaf/basic/BasicRadioButtonUI.html#paintFocus%28java.awt.Graphics, java.awt.Rectangle, java.awt.Dimension%29), uninstallDefaults
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, [paintIcon](../../../../javax/swing/plaf/basic/BasicToggleButtonUI.html#paintIcon%28java.awt.Graphics, javax.swing.AbstractButton, java.awt.Rectangle%29)
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, [paintButtonPressed](../../../../javax/swing/plaf/basic/BasicButtonUI.html#paintButtonPressed%28java.awt.Graphics, javax.swing.AbstractButton%29), [paintFocus](../../../../javax/swing/plaf/basic/BasicButtonUI.html#paintFocus%28java.awt.Graphics, javax.swing.AbstractButton, java.awt.Rectangle, java.awt.Rectangle, java.awt.Rectangle%29), [paintIcon](../../../../javax/swing/plaf/basic/BasicButtonUI.html#paintIcon%28java.awt.Graphics, javax.swing.JComponent, java.awt.Rectangle%29), [paintText](../../../../javax/swing/plaf/basic/BasicButtonUI.html#paintText%28java.awt.Graphics, javax.swing.AbstractButton, java.awt.Rectangle, java.lang.String%29), [paintText](../../../../javax/swing/plaf/basic/BasicButtonUI.html#paintText%28java.awt.Graphics, javax.swing.JComponent, java.awt.Rectangle, java.lang.String%29), setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
[contains](../../../../javax/swing/plaf/ComponentUI.html#contains%28javax.swing.JComponent, int, int%29), [getAccessibleChild](../../../../javax/swing/plaf/ComponentUI.html#getAccessibleChild%28javax.swing.JComponent, int%29), getAccessibleChildrenCount, [update](../../../../javax/swing/plaf/ComponentUI.html#update%28java.awt.Graphics, javax.swing.JComponent%29)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, [wait](../../../../java/lang/Object.html#wait%28long, int%29)
Constructor Detail

BasicCheckBoxUI

public BasicCheckBoxUI()

Method Detail

createUI

public static ComponentUI createUI(JComponent b)


getPropertyPrefix

public String getPropertyPrefix()

Overrides:

[getPropertyPrefix](../../../../javax/swing/plaf/basic/BasicRadioButtonUI.html#getPropertyPrefix%28%29) in class [BasicRadioButtonUI](../../../../javax/swing/plaf/basic/BasicRadioButtonUI.html "class in javax.swing.plaf.basic")



Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.