This trait is used to redirect certain calls from the peer to the wrapper and back.
Installed reaction won't receive events from the given publisher anylonger.
Installed reaction won't receive events from the given publisher anylonger.
Listen to the given publisher as long as deafTo
isn't called for
them.
Listen to the given publisher as long as deafTo
isn't called for
them.
Makes this combo box editable.
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.
Contains publishers for various mouse events.
For custom painting, users should usually override this method.
For custom painting, users should usually override this method.
The underlying Swing peer.
Notify all registered reactions.
Notify all registered reactions.
All reactions of this reactor.
All reactions of this reactor.
Sets the renderer for this combo box's items.
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).
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
.
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 suprise.
Used by certain layout managers, e.
Used by certain layout managers, e.g., BoxLayout or OverlayLayout to align components relative to each other.
Let's 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.
javax.swing.JComboBox