ComboBox
Lets the user make a selection from a list of predefined items. Visually,
this is implemented as a button-like component with a pull-down menu.
this is implemented as a button-like component with a pull-down menu.
- See also
- javax.swing.JComboBox
- Companion
- object
class Component
trait PeerContainer
trait UIElement
trait LazyPublisher
trait Publisher
trait Reactor
trait Proxy
class Object
trait Matchable
class Any
class SpinnerComboBox[A]
Type members
Classlikes
Value members
Methods
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.
Fields
Inherited methods
def deafTo(ps: Publisher*): Unit
Implicitly added by stringEditor
Installed reaction won't receive events from the given publisher anylonger.
- Inhertied from
- Reactor
def publish(e: Event): Unit
Implicitly added by stringEditor
Notify all registered reactions.
- Inhertied from
- Publisher
def listenTo(ps: Publisher*): Unit
Implicitly added by stringEditor
Listen to the given publisher as long as deafTo isn't called for
them.
them.
- Inhertied from
- Reactor
def deafTo(ps: Publisher*): Unit
Implicitly added by intEditor
Installed reaction won't receive events from the given publisher anylonger.
- Inhertied from
- Reactor
def publish(e: Event): Unit
Implicitly added by intEditor
Notify all registered reactions.
- Inhertied from
- Publisher
def listenTo(ps: Publisher*): Unit
Implicitly added by intEditor
Listen to the given publisher as long as deafTo isn't called for
them.
them.
- Inhertied from
- Reactor
def deafTo(ps: Publisher*): Unit
Implicitly added by floatEditor
Installed reaction won't receive events from the given publisher anylonger.
- Inhertied from
- Reactor
def publish(e: Event): Unit
Implicitly added by floatEditor
Notify all registered reactions.
- Inhertied from
- Publisher
def listenTo(ps: Publisher*): Unit
Implicitly added by floatEditor
Listen to the given publisher as long as deafTo isn't called for
them.
them.
- Inhertied from
- Reactor
def deafTo(ps: Publisher*): Unit
Implicitly added by doubleEditor
Installed reaction won't receive events from the given publisher anylonger.
- Inhertied from
- Reactor
def publish(e: Event): Unit
Implicitly added by doubleEditor
Notify all registered reactions.
- Inhertied from
- Publisher
def listenTo(ps: Publisher*): Unit
Implicitly added by doubleEditor
Listen to the given publisher as long as deafTo isn't called for
them.
them.
- Inhertied from
- Reactor
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
Inherited fields
val reactions: Reactions
Implicitly added by stringEditor
All reactions of this reactor.
- Inhertied from
- Reactor
val reactions: Reactions
Implicitly added by intEditor
All reactions of this reactor.
- Inhertied from
- Reactor
val reactions: Reactions
Implicitly added by floatEditor
All reactions of this reactor.
- Inhertied from
- Reactor
val reactions: Reactions
Implicitly added by doubleEditor
All reactions of this reactor.
- Inhertied from
- Reactor