Methods Summary |
---|
protected java.awt.Component | createNextButton()
if (XPStyle.getXP() != null) {
JButton xpButton = new XPStyle.GlyphButton("spin.up");
xpButton.setRequestFocusEnabled(false);
installNextButtonListeners(xpButton);
return xpButton;
}
return super.createNextButton();
|
protected java.awt.Component | createPreviousButton()
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.ComponentUI | createUI(javax.swing.JComponent c)
return new WindowsSpinnerUI();
|
private javax.swing.plaf.UIResource | getUIResource(java.lang.Object[] listeners)
for (int counter = 0; counter < listeners.length; counter++) {
if (listeners[counter] instanceof UIResource) {
return (UIResource)listeners[counter];
}
}
return null;
|