java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.basic.BasicToggleButtonUI
javax.swing.plaf.basic.BasicRadioButtonUI
javax.swing.plaf.basic.BasicCheckBoxUI
复选框基本UI实现
警告: 该类的序列化对象将不兼容未来的Swing版本。当前的序列化支持适用于短期存储或在运行相同版本Swing的应用程序之间的RMI。从1.4版本开始,已经向java.beans
包添加了对所有JavaBeans的长期存储支持。请参阅XMLEncoder
。
-
Field Summary
Fields declared in class javax.swing.plaf.basic.BasicRadioButtonUI
icon
Fields declared in class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Constructor Summary
-
Method Summary
Methods declared in class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPreferredSize, paint, paintFocus
Methods declared in class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIcon
Methods declared in class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, installDefaults, installKeyboardActions, installListeners, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
Methods declared in class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, installUI, uninstallUI, update
-
Constructor Details
-
BasicCheckBoxUI
public BasicCheckBoxUI()构造一个BasicCheckBoxUI
。
-
-
Method Details
-
createUI
返回BasicCheckBoxUI
的实例。- 参数:
-
b
- 一个组件 - 返回:
-
BasicCheckBoxUI
的实例
-
getPropertyPrefix
从类中复制的描述:BasicButtonUI
返回属性前缀。- 覆盖:
-
getPropertyPrefix
在类BasicButtonUI
中 - 返回:
- 属性前缀
-