|
||||||||||
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 look&feel implementation of ButtonUI
.
Unlike its superclass it returns even and odd preferred heights.
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 ComponentUI |
createUI(JComponent b)
|
Dimension |
getPreferredSize(JComponent c)
|
Methods inherited from class com.sun.java.swing.plaf.windows.WindowsButtonUI |
---|
getFocusColor, installDefaults, paint, paintButtonPressed, paintFocus, paintText, uninstallDefaults |
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
---|
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, 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 ComponentUI createUI(JComponent b)
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class com.sun.java.swing.plaf.windows.WindowsButtonUI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |