- 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
public class SynthToggleButtonUIextends SynthButtonUI
为JToggleButton
提供Synth L&F UI 代理 。- 从以下版本开始:
- 1.7
-
-
字段汇总
-
声明的属性在类 javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
Fields declared in interface javax.swing.plaf.synth.SynthConstants
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED
-
-
构造方法摘要
构造方法 构造器 描述 SynthToggleButtonUI()
-
方法摘要
所有方法 静态方法 具体的方法 变量和类型 方法 描述 static ComponentUI
createUI(JComponent b)
为给定组件创建新的UI对象。-
声明方法的类 javax.swing.plaf.synth.SynthButtonUI
getDefaultIcon, getIcon, getSizingIcon, paint, paint, update
-
声明方法的类 javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
-
声明方法的类 javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, uninstallUI
-
声明方法的类 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
声明方法的接口 java.beans.PropertyChangeListener
propertyChange
-
声明方法的接口 javax.swing.plaf.synth.SynthUI
getContext, paintBorder
-
-
-
-
方法详细信息
-
createUI
public static ComponentUI createUI(JComponent b)
为给定组件创建新的UI对象。- 参数
-
b
- 为其创建UI对象的组件 - 结果
- UI对象
-
-