SpinnerComboBox
class SpinnerComboBox[A](value0: A, minimum: A, maximum: A, step: A, items: Seq[A])(num: Numeric[A]) extends ComboBox[A]
A
inside a
ComboBox
for editable numbers. Numbers such as Int
or Double
are presentedinside a
Spinner
editor component. The combo-box carries a list of preset numbers.Type members
Value members
Inherited methods
def scala$swing$LazyPublisher$$super$unsubscribe(listener: Reaction): Unit
- Inhertied from
- LazyPublisher
def deafTo(ps: Publisher*): Unit
Installed reaction won't receive events from the given publisher anylonger.
- Inhertied from
- Reactor
def listenTo(ps: Publisher*): Unit
Listen to the given publisher as long as deafTo isn't called for
them.
them.
- Inhertied from
- Reactor
override def unsubscribe(listener: Reaction): Unit
- Definition Classes
- LazyPublisher -> Publisher
- Inhertied from
- LazyPublisher
override def subscribe(listener: Reaction): Unit
- Definition Classes
- LazyPublisher -> Publisher
- Inhertied from
- LazyPublisher
def xLayoutAlignment: Double
Used by certain layout managers, e.g., BoxLayout or OverlayLayout to
align components relative to each other.
align components relative to each other.
- Inhertied from
- Component
Makes this combo box editable. In order to do so, this combo needs an
editor which is supplied by the implicit argument. For default
editors, see ComboBox companion object.
editor which is supplied by the implicit argument. For default
editors, see ComboBox companion object.
- Inhertied from
- ComboBox
Sets the renderer for this combo box's items. Index -1 is
passed to the renderer for the selected item (not in the pull-down menu).
passed to the renderer for the selected item (not in the pull-down menu).
The underlying combo box renders all items in a ListView
(both, in the pull-down menu as well as in the box itself), hence the
ListView.Renderer.
(both, in the pull-down menu as well as in the box itself), hence the
ListView.Renderer.
Note that the UI peer of a combo box usually changes the colors
of the component to its own defaults after the renderer has been
configured. That's Swing's principle of most surprise.
of the component to its own defaults after the renderer has been
configured. That's Swing's principle of most surprise.
- Inhertied from
- ComboBox