Package com.jtattoo.plaf.base
Class BaseSpinnerUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SpinnerUI
javax.swing.plaf.basic.BasicSpinnerUI
com.jtattoo.plaf.base.BaseSpinnerUI
- Direct Known Subclasses:
AcrylSpinnerUI
BaseSpinnerUI class.
Author Michael Hagen-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicSpinnerUI
spinner -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LayoutManagerCreate a LayoutManager that manages the editor, nextButton, and previousButton children of the JSpinner.protected Componentprotected Componentstatic ComponentUIReturns a new instance of BaseSpinnerUI.Methods inherited from class javax.swing.plaf.basic.BasicSpinnerUI
createEditor, createPropertyChangeListener, getBaseline, getBaselineResizeBehavior, installDefaults, installKeyboardActions, installListeners, installNextButtonListeners, installPreviousButtonListeners, installUI, replaceEditor, uninstallDefaults, uninstallListeners, uninstallUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
-
Constructor Details
-
BaseSpinnerUI
public BaseSpinnerUI()
-
-
Method Details
-
createUI
Returns a new instance of BaseSpinnerUI. SpinnerListUI delegates are allocated one per JSpinner.- See Also:
-
createLayout
Create a LayoutManager that manages the editor, nextButton, and previousButton children of the JSpinner. These three children must be added with a constraint that identifies their role: "Editor", "Next", and "Previous". The default layout manager can handle the absence of any of these children.- Overrides:
createLayoutin classBasicSpinnerUI- See Also:
-
createNextButton
- Overrides:
createNextButtonin classBasicSpinnerUI
-
createPreviousButton
- Overrides:
createPreviousButtonin classBasicSpinnerUI
-