public class BaseSpinnerUI extends BasicSpinnerUI
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseSpinnerUI.SpinButton |
spinner| Constructor and Description |
|---|
BaseSpinnerUI() |
| Modifier and Type | Method and Description |
|---|---|
protected LayoutManager |
createLayout()
Create a
LayoutManager that manages the editor,
nextButton, and previousButton
children of the JSpinner. |
protected Component |
createNextButton() |
protected Component |
createPreviousButton() |
static ComponentUI |
createUI(JComponent c)
Returns a new instance of BaseSpinnerUI.
|
createEditor, createPropertyChangeListener, getBaseline, getBaselineResizeBehavior, installDefaults, installKeyboardActions, installListeners, installNextButtonListeners, installPreviousButtonListeners, installUI, replaceEditor, uninstallDefaults, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, updatepublic static ComponentUI createUI(JComponent c)
c - the JSpinner (not used)ComponentUI.createUI(javax.swing.JComponent)protected LayoutManager createLayout()
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.createLayout in class BasicSpinnerUIcreateNextButton(),
createPreviousButton(),
BasicSpinnerUI.createEditor()protected Component createNextButton()
createNextButton in class BasicSpinnerUIprotected Component createPreviousButton()
createPreviousButton in class BasicSpinnerUICopyright © 2014. All Rights Reserved.