com.jgoodies.looks.windows
Class WindowsToggleButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.basic.BasicToggleButtonUI
com.sun.java.swing.plaf.windows.WindowsToggleButtonUI
com.jgoodies.looks.windows.WindowsToggleButtonUI
public final class WindowsToggleButtonUI
- extends com.sun.java.swing.plaf.windows.WindowsToggleButtonUI
Allows to use an optional narrow button margin.
- Version:
- $Revision: 1.3 $
- Author:
- Karsten Lentzsch
- See Also:
Options.IS_NARROW_KEY
| Fields inherited from class com.sun.java.swing.plaf.windows.WindowsToggleButtonUI |
dashedRectGapHeight, dashedRectGapWidth, dashedRectGapX, dashedRectGapY, focusColor |
| Fields inherited from class javax.swing.plaf.basic.BasicButtonUI |
defaultTextIconGap, defaultTextShiftOffset |
|
Method Summary |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b)
|
protected void |
installDefaults(javax.swing.AbstractButton b)
Installs defaults and honors the client property isNarrow. |
void |
installListeners(javax.swing.AbstractButton b)
Installs an extra listener for a change of the isNarrow property. |
void |
uninstallListeners(javax.swing.AbstractButton b)
Uninstalls the extra listener for a change of the isNarrow property. |
| Methods inherited from class com.sun.java.swing.plaf.windows.WindowsToggleButtonUI |
getFocusColor, getPreferredSize, paint, paintButtonPressed, paintFocus, paintText, uninstallDefaults |
| Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI |
getPropertyPrefix, getTextShiftOffset, paintIcon |
| Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installUI, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowsToggleButtonUI
public WindowsToggleButtonUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
installDefaults
protected void installDefaults(javax.swing.AbstractButton b)
- Installs defaults and honors the client property
isNarrow.
- Overrides:
installDefaults in class com.sun.java.swing.plaf.windows.WindowsToggleButtonUI
installListeners
public void installListeners(javax.swing.AbstractButton b)
- Installs an extra listener for a change of the isNarrow property.
- Overrides:
installListeners in class javax.swing.plaf.basic.BasicButtonUI
uninstallListeners
public void uninstallListeners(javax.swing.AbstractButton b)
- Uninstalls the extra listener for a change of the isNarrow property.
- Overrides:
uninstallListeners in class javax.swing.plaf.basic.BasicButtonUI
Copyright © 2001-2005 JGoodies Karsten Lentzsch. All Rights Reserved.