Liking cljdoc? Tell your friends :D

javax.swing.DefaultComboBoxModel

The default model for combo boxes.

The default model for combo boxes.
raw docstring

->default-combo-box-modelclj

(->default-combo-box-model)
(->default-combo-box-model items)

Constructor.

Constructs a DefaultComboBoxModel object initialized with an array of objects.

items - an array of Object objects - E[]

Constructor.

Constructs a DefaultComboBoxModel object initialized with
 an array of objects.

items - an array of Object objects - `E[]`
raw docstring

add-elementclj

(add-element this an-object)

Description copied from interface: MutableComboBoxModel

an-object - the item to be added - E

Description copied from interface: MutableComboBoxModel

an-object - the item to be added - `E`
raw docstring

get-element-atclj

(get-element-at this index)

Description copied from interface: ListModel

index - the requested index - int

returns: the value at index - E

Description copied from interface: ListModel

index - the requested index - `int`

returns: the value at index - `E`
raw docstring

get-index-ofclj

(get-index-of this an-object)

Returns the index-position of the specified object in the list.

an-object - java.lang.Object

returns: an int representing the index position, where 0 is the first position - int

Returns the index-position of the specified object in the list.

an-object - `java.lang.Object`

returns: an int representing the index position, where 0 is
         the first position - `int`
raw docstring

get-selected-itemclj

(get-selected-item this)

Description copied from interface: ComboBoxModel

returns: The selected item or null if there is no selection - java.lang.Object

Description copied from interface: ComboBoxModel

returns: The selected item or null if there is no selection - `java.lang.Object`
raw docstring

get-sizeclj

(get-size this)

Description copied from interface: ListModel

returns: the length of the list - int

Description copied from interface: ListModel

returns: the length of the list - `int`
raw docstring

insert-element-atclj

(insert-element-at this an-object index)

Description copied from interface: MutableComboBoxModel

an-object - the item to be added - E index - location to add the object - int

Description copied from interface: MutableComboBoxModel

an-object - the item to be added - `E`
index - location to add the object - `int`
raw docstring

remove-all-elementsclj

(remove-all-elements this)

Empties the list.

Empties the list.
raw docstring

remove-elementclj

(remove-element this an-object)

Description copied from interface: MutableComboBoxModel

an-object - the Object to be removed - java.lang.Object

Description copied from interface: MutableComboBoxModel

an-object - the Object to be removed - `java.lang.Object`
raw docstring

remove-element-atclj

(remove-element-at this index)

Description copied from interface: MutableComboBoxModel

index - location of the item to be removed - int

Description copied from interface: MutableComboBoxModel

index - location of the item to be removed - `int`
raw docstring

set-selected-itemclj

(set-selected-item this an-object)

Set the value of the selected item. The selected item may be null.

an-object - The combo box value or null for no selection. - java.lang.Object

Set the value of the selected item. The selected item may be null.

an-object - The combo box value or null for no selection. - `java.lang.Object`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close