MetalCheckboxUI 复选框UI实现
警告: 该类的序列化对象将不兼容未来的Swing版本。当前的序列化支持适用于短期存储或在运行相同版本Swing的应用程序之间的RMI。从1.4开始,已将对所有JavaBeans的长期存储支持添加到java.beans
包中。请参阅XMLEncoder
。
-
Field Summary
Fields declared in class javax.swing.plaf.metal.MetalRadioButtonUI
disabledTextColor, focusColor, selectColor
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.metal.MetalRadioButtonUI
getDisabledTextColor, getFocusColor, getSelectColor, installDefaults
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, 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
-
MetalCheckBoxUI
public MetalCheckBoxUI()构造一个MetalCheckBoxUI
。
-
-
Method Details
-
createUI
返回一个MetalCheckBoxUI
的实例。- 参数:
-
b
- 一个组件 - 返回:
-
一个
MetalCheckBoxUI
的新实例
-
getPropertyPrefix
从类中复制的描述:BasicButtonUI
返回属性前缀。- 覆盖:
-
getPropertyPrefix
在类BasicButtonUI
- 返回:
- 属性前缀
-