public final class PlasticXPSpinnerUI extends PlasticSpinnerUI
SpinnerUI.
Configures the default editor to adjust font baselines and component
bounds. Also, changes the border of the buttons and the size of the arrows.| Constructor and Description |
|---|
PlasticXPSpinnerUI() |
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.Component |
createNextButton()
Create a component that will replace the spinner models value
with the object returned by
spinner.getNextValue. |
protected java.awt.Component |
createPreviousButton()
Create a component that will replace the spinner models value
with the object returned by
spinner.getPreviousValue. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b) |
createEditor, createLayout, replaceEditorcreatePropertyChangeListener, getBaseline, getBaselineResizeBehavior, installDefaults, installKeyboardActions, installListeners, installNextButtonListeners, installPreviousButtonListeners, installUI, uninstallDefaults, uninstallListeners, uninstallUIpublic static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
protected java.awt.Component createPreviousButton()
spinner.getPreviousValue.
By default the previousButton is a JButton
who's ActionListener updates it's JSpinner
ancestors model. If a previousButton isn't needed (in a subclass)
then override this method to return null.createPreviousButton in class PlasticSpinnerUIBasicSpinnerUI.installUI(javax.swing.JComponent),
createNextButton()protected java.awt.Component createNextButton()
spinner.getNextValue.
By default the nextButton is a JButton
who's ActionListener updates it's JSpinner
ancestors model. If a nextButton isn't needed (in a subclass)
then override this method to return null.createNextButton in class PlasticSpinnerUIBasicSpinnerUI.installUI(javax.swing.JComponent),
createPreviousButton()Copyright © 2001-2008 JGoodies Karsten Lentzsch. All Rights Reserved.