java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.synth.SynthButtonUI
javax.swing.plaf.synth.SynthToggleButtonUI
javax.swing.plaf.synth.SynthRadioButtonUI
- 所有已实现的接口:
-
PropertyChangeListener
,EventListener
,SynthConstants
,SynthUI
- 直接已知的子类:
-
SynthCheckBoxUI
为
JRadioButton
提供Synth外观UI代理。
- 自版本:
- 1.7
-
Field Summary
Fields declared in class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
Fields declared in interface javax.swing.plaf.synth.SynthConstants
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
为给定的组件创建一个新的UI对象。protected Icon
返回用于计算首选/最小/最大大小的图标。Methods declared in class javax.swing.plaf.synth.SynthButtonUI
getContext, getDefaultIcon, getIcon, paint, paint, paintBorder, propertyChange, update
Methods declared in class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getPropertyPrefix, getTextShiftOffset, 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, getPreferredSize, installUI, uninstallUI
-
Constructor Details
-
SynthRadioButtonUI
public SynthRadioButtonUI()构造一个SynthRadioButtonUI
。
-
-
Method Details
-
createUI
为给定的组件创建一个新的UI对象。- 参数:
-
b
- 要为其创建UI对象的组件 - 返回:
- UI对象
-
getSizingIcon
返回用于计算首选/最小/最大大小的图标。- 覆盖:
-
getSizingIcon
在类SynthButtonUI
- 参数:
-
b
- 指定在计算首选/最小/最大大小时使用的AbstractButton
- 返回:
- 用于计算首选/最小/最大大小的图标。
-