uic.themes
Class UICButtonUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.basic.BasicButtonUI
javax.swing.plaf.metal.MetalButtonUI
uic.themes.UICButtonUI
- public class UICButtonUI
- extends MetalButtonUI
Needed to give the Button it's original behaviour back after adding the UICListUI for lists.
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI |
clearTextShiftOffset, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UICButtonUI
public UICButtonUI()
createUI
public static ComponentUI createUI(JComponent c)
paint
public void paint(Graphics g,
JComponent c)
- Overrides the default paint
Does not paint the original focus
and calls paintFocus implemented here
paintButton
protected void paintButton(Graphics g,
AbstractButton button)
- Paints the default non-pressed button
paintFocus
protected void paintFocus(Graphics g,
AbstractButton button)
paintButtonPressed
protected void paintButtonPressed(Graphics g,
AbstractButton button)
- Paints the focus non-pressed button
installDefaults
public void installDefaults(AbstractButton b)
- Since our TableSorterHeader extends JButton we load the tableHeader stuff here.
getDisabledTextColor
protected Color getDisabledTextColor()
Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence