|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
com.sun.java.swing.plaf.windows.WindowsButtonUI
com.jgoodies.looks.windows.WindowsButtonUI
public final class WindowsButtonUI
The JGoodies Windows L&F implementation of ButtonUI.
It differs from its superclass in that it it listens to the
jgoodies.isNarrow property to choose an appropriate margin.
Options.IS_NARROW_KEY| Field Summary |
|---|
| Fields inherited from class com.sun.java.swing.plaf.windows.WindowsButtonUI |
|---|
dashedRectGapHeight, dashedRectGapWidth, dashedRectGapX, dashedRectGapY, focusColor |
| Fields inherited from class javax.swing.plaf.basic.BasicButtonUI |
|---|
defaultTextIconGap, defaultTextShiftOffset |
| Constructor Summary | |
|---|---|
WindowsButtonUI()
|
|
| 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.WindowsButtonUI |
|---|
getFocusColor, getPreferredSize, paint, paintButtonPressed, paintFocus, paintText, uninstallDefaults |
| Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
|---|
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPropertyPrefix, getTextShiftOffset, 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 |
| Constructor Detail |
|---|
public WindowsButtonUI()
| Method Detail |
|---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
protected void installDefaults(javax.swing.AbstractButton b)
isNarrow.
installDefaults in class com.sun.java.swing.plaf.windows.WindowsButtonUIpublic void installListeners(javax.swing.AbstractButton b)
installListeners in class javax.swing.plaf.basic.BasicButtonUIpublic void uninstallListeners(javax.swing.AbstractButton b)
uninstallListeners in class javax.swing.plaf.basic.BasicButtonUI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||