FileDocCategorySizeDatePackage
WindowsSpinnerUI.javaAPI DocJava SE 5 API1454Fri Aug 26 14:54:50 BST 2005com.sun.java.swing.plaf.windows

WindowsSpinnerUI

public class WindowsSpinnerUI extends BasicSpinnerUI

Fields Summary
Constructors Summary
Methods Summary
protected java.awt.ComponentcreateNextButton()

	if (XPStyle.getXP() != null) {
	    JButton xpButton = new XPStyle.GlyphButton("spin.up");
	    xpButton.setRequestFocusEnabled(false);
            installNextButtonListeners(xpButton);
	    return xpButton;
        }
        return super.createNextButton();
    
protected java.awt.ComponentcreatePreviousButton()

	if (XPStyle.getXP() != null) {
	    JButton xpButton = new XPStyle.GlyphButton("spin.down");
	    xpButton.setRequestFocusEnabled(false);
            installPreviousButtonListeners(xpButton);
            return xpButton;
        }
        return super.createPreviousButton();
    
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)

        return new WindowsSpinnerUI();
    
private javax.swing.plaf.UIResourcegetUIResource(java.lang.Object[] listeners)

        for (int counter = 0; counter < listeners.length; counter++) {
            if (listeners[counter] instanceof UIResource) {
                return (UIResource)listeners[counter];
            }
        }
        return null;