Bean Builder

com.adventnet.beans.utilbeans
Class BasicSpinnerUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--com.adventnet.beans.utilbeans.SpinnerUI
              |
              +--com.adventnet.beans.utilbeans.BasicSpinnerUI

public class BasicSpinnerUI
extends SpinnerUI
implements java.io.Serializable

The class which extends the SpinnerUI with the arrow buttons in UI.

Since:
1.0
See Also:
SpinnerUI, Serializable, Serialized Form

Field Summary
protected  int ascent
           
protected  java.awt.Dimension d
           
protected  java.awt.FontMetrics fm
           
protected static SpinnerUI spinnerUI
           
 
Constructor Summary
BasicSpinnerUI()
           
 
Method Summary
protected  java.awt.LayoutManager createLayoutManager()
           
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent component)
           
 java.awt.Insets getInsets()
          End createLayoutManager
 java.awt.Dimension getMaximumSize(javax.swing.JComponent jcomponent)
          End getPreferredSize
 java.awt.Dimension getMinimumSize(javax.swing.JComponent jcomponent)
          PaintCurrentValue
 java.awt.Dimension getPreferredSize(javax.swing.JComponent jcomponent)
          End getMaximumSize
 void installUI(javax.swing.JComponent component)
          End createUI
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
          End uninstallUI
 void uninstallUI(javax.swing.JComponent component)
          End installListeners
 
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
 

Field Detail

d

protected java.awt.Dimension d

ascent

protected int ascent

fm

protected java.awt.FontMetrics fm

spinnerUI

protected static SpinnerUI spinnerUI
Constructor Detail

BasicSpinnerUI

public BasicSpinnerUI()
Method Detail

createUI

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

installUI

public void installUI(javax.swing.JComponent component)
End createUI
Overrides:
installUI in class javax.swing.plaf.ComponentUI

uninstallUI

public void uninstallUI(javax.swing.JComponent component)
End installListeners
Overrides:
uninstallUI in class javax.swing.plaf.ComponentUI

paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
End uninstallUI
Overrides:
paint in class javax.swing.plaf.ComponentUI

getMinimumSize

public java.awt.Dimension getMinimumSize(javax.swing.JComponent jcomponent)
PaintCurrentValue
Overrides:
getMinimumSize in class javax.swing.plaf.ComponentUI

getMaximumSize

public java.awt.Dimension getMaximumSize(javax.swing.JComponent jcomponent)
End getPreferredSize
Overrides:
getMaximumSize in class javax.swing.plaf.ComponentUI

getPreferredSize

public java.awt.Dimension getPreferredSize(javax.swing.JComponent jcomponent)
End getMaximumSize
Overrides:
getPreferredSize in class javax.swing.plaf.ComponentUI

createLayoutManager

protected java.awt.LayoutManager createLayoutManager()

getInsets

public java.awt.Insets getInsets()
End createLayoutManager

Bean Builder

© 2001 - 2002 AdventNet Inc. Visit us at: http://www.adventnet.com