Package com.jgoodies.looks.plastic
Class PlasticXPSpinnerUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.SpinnerUI
-
- javax.swing.plaf.basic.BasicSpinnerUI
-
- com.jgoodies.looks.plastic.PlasticSpinnerUI
-
- com.jgoodies.looks.plastic.PlasticXPSpinnerUI
-
public final class PlasticXPSpinnerUI extends PlasticSpinnerUI
The JGoodies PlasticXP Look&Feel implementation ofSpinnerUI
. Configures the default editor to adjust font baselines and component bounds. Also, changes the border of the buttons and the size of the arrows.- Version:
- $Revision: 1.11 $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
PlasticXPSpinnerUI.SpinnerXPArrowButton
It differs from its superclass in that it uses the same formula as JDK to calculate the arrow height.
-
Constructor Summary
Constructors Constructor Description PlasticXPSpinnerUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.awt.Component
createArrowButton(int direction)
static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent b)
-
Methods inherited from class com.jgoodies.looks.plastic.PlasticSpinnerUI
createEditor, createLayout, replaceEditor
-
Methods inherited from class javax.swing.plaf.basic.BasicSpinnerUI
createNextButton, createPreviousButton, createPropertyChangeListener, getBaseline, getBaselineResizeBehavior, installDefaults, installKeyboardActions, installListeners, installNextButtonListeners, installPreviousButtonListeners, installUI, uninstallDefaults, uninstallListeners, uninstallUI
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
-
createArrowButton
protected java.awt.Component createArrowButton(int direction)
- Overrides:
createArrowButton
in classPlasticSpinnerUI
-
-