de.muntjak.tinylookandfeel
Class TinySpinnerButtonUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.basic.BasicButtonUI
              extended by javax.swing.plaf.metal.MetalButtonUI
                  extended by de.muntjak.tinylookandfeel.TinyButtonUI
                      extended by de.muntjak.tinylookandfeel.TinySpinnerButtonUI

public class TinySpinnerButtonUI
extends TinyButtonUI

TinySpinnerButtonUI


Field Summary
protected static java.awt.Dimension xpSize
           
 
Fields inherited from class de.muntjak.tinylookandfeel.TinyButtonUI
BG_CHANGE_AMOUNT
 
Fields inherited from class javax.swing.plaf.metal.MetalButtonUI
disabledTextColor, focusColor, selectColor
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Method Summary
static void clearCache()
           
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
           
 java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
           
static javax.swing.JSpinner getSpinner(java.awt.Component button)
           
static java.awt.Container getSpinnerParent(java.awt.Component button)
           
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
           
 
Methods inherited from class de.muntjak.tinylookandfeel.TinyButtonUI
installDefaults, installUI, paintButtonPressed, paintFocus, paintIcon, paintToggleButtonIcon, paintToolBarButton, update
 
Methods inherited from class javax.swing.plaf.metal.MetalButtonUI
createButtonListener, getDisabledTextColor, getFocusColor, getSelectColor, paintText, uninstallDefaults
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, installListeners, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xpSize

protected static final java.awt.Dimension xpSize
Method Detail

clearCache

public static void clearCache()

getSpinnerParent

public static java.awt.Container getSpinnerParent(java.awt.Component button)
Parameters:
button - a JSpinner's increment/decrement button
Returns:
the spinner's parent container

getSpinner

public static javax.swing.JSpinner getSpinner(java.awt.Component button)
Parameters:
button - a JSpinner's increment/decrement button
Returns:
the spinner

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)

paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
Overrides:
paint in class TinyButtonUI

getPreferredSize

public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
Overrides:
getPreferredSize in class javax.swing.plaf.basic.BasicButtonUI
See Also:
BasicButtonUI.getPreferredSize(javax.swing.JComponent)