The editor component used for JComboBox components.
The editor component used for JComboBox components.
(add-action-listener this l)Add an ActionListener. An action event is generated when the edited item changes
l - java.awt.event.ActionListener
Add an ActionListener. An action event is generated when the edited item changes l - `java.awt.event.ActionListener`
(get-editor-component this)Return the component that should be added to the tree hierarchy for this editor
returns: java.awt.Component
Return the component that should be added to the tree hierarchy for this editor returns: `java.awt.Component`
(get-item this)Return the edited item
returns: java.lang.Object
Return the edited item returns: `java.lang.Object`
(remove-action-listener this l)Remove an ActionListener
l - java.awt.event.ActionListener
Remove an ActionListener l - `java.awt.event.ActionListener`
(select-all this)Ask the editor to start editing and to select everything
Ask the editor to start editing and to select everything
(set-item this an-object)Set the item that should be edited. Cancel any editing if necessary
an-object - java.lang.Object
Set the item that should be edited. Cancel any editing if necessary an-object - `java.lang.Object`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |