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
- 所有已实现的接口:
-
PropertyChangeListener
,EventListener
,SynthConstants
,SynthUI
- 直接已知的子类:
-
SynthRadioButtonUI
为
JToggleButton
提供 Synth L&F 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
Methods declared in class javax.swing.plaf.synth.SynthButtonUI
getContext, getDefaultIcon, getIcon, getSizingIcon, 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
-
SynthToggleButtonUI
public SynthToggleButtonUI()构造一个SynthToggleButtonUI
。
-
-
Method Details
-
createUI
为给定的组件创建一个新的UI对象。- 参数:
-
b
- 要为其创建UI对象的组件 - 返回值:
- UI对象
-