Package com.jtattoo.plaf
Class BaseSpinnerUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SpinnerUI
javax.swing.plaf.basic.BasicSpinnerUI
com.jtattoo.plaf.BaseSpinnerUI
- Direct Known Subclasses:
AcrylSpinnerUI
BaseSpinnerUI class.
Author Michael Hagen-
Nested Class Summary
-
Field Summary
Fields inherited from class javax.swing.plaf.basic.BasicSpinnerUI
spinner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LayoutManager
Create a LayoutManager that manages the editor, nextButton, and previousButton children of the JSpinner.protected Component
protected Component
static ComponentUI
Returns 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, uninstallUI
Methods 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:
createLayout
in classBasicSpinnerUI
- See Also:
-
createNextButton
- Overrides:
createNextButton
in classBasicSpinnerUI
-
createPreviousButton
- Overrides:
createPreviousButton
in classBasicSpinnerUI
-