public final class WindowsButtonUI
extends com.sun.java.swing.plaf.windows.WindowsButtonUI
ButtonUI
.Unlike its superclass it returns even and odd preferred heights.
dashedRectGapHeight, dashedRectGapWidth, dashedRectGapX, dashedRectGapY, focusColor
defaultTextIconGap, defaultTextShiftOffset
Constructor and Description |
---|
WindowsButtonUI() |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent b) |
Dimension |
getPreferredSize(JComponent c) |
getFocusColor, installDefaults, paint, paintButtonPressed, paintFocus, paintText, uninstallDefaults
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
public static ComponentUI createUI(JComponent b)
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class com.sun.java.swing.plaf.windows.WindowsButtonUI
Copyright © 2001-2011 JGoodies Karsten Lentzsch. All Rights Reserved.