A mutable version of ComboBoxModel.
A mutable version of ComboBoxModel.
(add-element this item)
Adds an item at the end of the model. The implementation of this method should notify all registered ListDataListeners that the item has been added.
item - the item to be added - E
Adds an item at the end of the model. The implementation of this method should notify all registered ListDataListeners that the item has been added. item - the item to be added - `E`
(insert-element-at this item index)
Adds an item at a specific index. The implementation of this method should notify all registered ListDataListeners that the item has been added.
item - the item to be added - E
index - location to add the object - int
Adds an item at a specific index. The implementation of this method should notify all registered ListDataListeners that the item has been added. item - the item to be added - `E` index - location to add the object - `int`
(remove-element this obj)
Removes an item from the model. The implementation of this method should should notify all registered ListDataListeners that the item has been removed.
obj - the Object to be removed - java.lang.Object
Removes an item from the model. The implementation of this method should should notify all registered ListDataListeners that the item has been removed. obj - the Object to be removed - `java.lang.Object`
(remove-element-at this index)
Removes an item at a specific index. The implementation of this method should notify all registered ListDataListeners that the item has been removed.
index - location of the item to be removed - int
Removes an item at a specific index. The implementation of this method should notify all registered ListDataListeners that the item has been removed. index - location of the item to be removed - `int`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close