## Uses of Class
javax.swing.JSpinner

- Packages that use JSpinner
  Package | Description
  --- | ---
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.

- - ### Uses of JSpinner in javax.swing

    Methods in javax.swing that return JSpinner
    Modifier and Type | Method and Description
    --- | ---
    `JSpinner` | JSpinner.DefaultEditor.`getSpinner()` Returns the `JSpinner` ancestor of this editor or `null` if none of the ancestors are a `JSpinner`.

    Methods in javax.swing with parameters of type JSpinner
    Modifier and Type | Method and Description
    --- | ---
    `void` | JSpinner.DefaultEditor.`dismiss(JSpinner spinner)` Disconnect `this` editor from the specified `JSpinner`.

    Constructors in javax.swing with parameters of type JSpinner
    Constructor and Description
    `JSpinner.DateEditor(JSpinner spinner)` Construct a `JSpinner` editor that supports displaying and editing the value of a `SpinnerDateModel` with a `JFormattedTextField`.
    `JSpinner.DateEditor(JSpinner spinner, String dateFormatPattern)` Construct a `JSpinner` editor that supports displaying and editing the value of a `SpinnerDateModel` with a `JFormattedTextField`.
    `JSpinner.DefaultEditor(JSpinner spinner)` Constructs an editor component for the specified `JSpinner`.
    `JSpinner.ListEditor(JSpinner spinner)` Construct a `JSpinner` editor that supports displaying and editing the value of a `SpinnerListModel` with a `JFormattedTextField`.
    `JSpinner.NumberEditor(JSpinner spinner)` Construct a `JSpinner` editor that supports displaying and editing the value of a `SpinnerNumberModel` with a `JFormattedTextField`.
    `JSpinner.NumberEditor(JSpinner spinner, String decimalFormatPattern)` Construct a `JSpinner` editor that supports displaying and editing the value of a `SpinnerNumberModel` with a `JFormattedTextField`.

  - ### Uses of JSpinner in javax.swing.plaf.basic

    Fields in javax.swing.plaf.basic declared as JSpinner
    Modifier and Type | Field and Description
    --- | ---
    `protected JSpinner` | BasicSpinnerUI.`spinner` The spinner that we're a UI delegate for.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2019, Oracle and/or its affiliates. All rights reserved.