public class WHButtonUI extends BasicButtonUI
| Modifier and Type | Field and Description |
|---|---|
protected static Color |
DISABLED_COLOR |
defaultTextIconGap, defaultTextShiftOffset| Constructor and Description |
|---|
WHButtonUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent c) |
void |
installUI(JComponent c) |
boolean |
isShowDownArrow() |
protected void |
paintText(Graphics g,
JComponent c,
Rectangle textRect,
String text) |
void |
setShowDownArrow(boolean showDownArrow) |
void |
uninstallUI(JComponent c) |
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, paint, paintButtonPressed, paintFocus, paintIcon, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListenerscontains, getAccessibleChild, getAccessibleChildrenCount, updateprotected static final Color DISABLED_COLOR
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI in class BasicButtonUIpublic void uninstallUI(JComponent c)
uninstallUI in class BasicButtonUIprotected void paintText(Graphics g, JComponent c, Rectangle textRect, String text)
paintText in class BasicButtonUIpublic boolean isShowDownArrow()
public void setShowDownArrow(boolean showDownArrow)
Copyright © 2022 WSO2. All rights reserved.