DhSelectBox Methods

Overview | This Package | All Packages

DhSelectBox Methods

Methods Description
addItem Adds an item to the end of the list.

addOnGotFocus Assigns a delegate to the gotFocus event.

addOnLostFocus Assigns a delegate to the lostFocus event.

addOnResize Assigns a delegate to the resize event.

addOnSelectedIndexChanged Adds a delegate to the selectIndexChanged event.

findString Finds the first item in the list that starts with the specified string.

findStringExact Finds the first item in the list that matches the specified string exactly.

focus Sets the input focus to this control.

getEnabled Retrieves the enabled state of the element.

getItemCount Retrieves the number of items currently in the list.

getItemsSubmitValue Retrieves an array of text items corresponding to the submit value of the items in the list.

getItemsText Retrieves an array of the text items in the list.

getItemSubmitValue Retrieves the submit value for the item at index.

getItemText Retrieves the text for the item at the specified index.

getSelected Retrieves the current selected state of an item.

getSelectedIndex Retrieves the index of the currently selected item.

getSelectedIndices Retrieves an array that contains the zero-based indices of all currently selected items.

getSelectedSubmitValue Retrieves the value for the selected item.

getSubmitName Retrieves the name of the select box.

getText Retrieves the text for the currently selected item.

insertItem Inserts an item into the list at the selected index.

removeAll Removes all items from the control.

removeItem Removes an indexed item from the list.

removeOnGotFocus Removes the delegate that is assigned to the onGotFocus event.

removeOnLostFocus Removes the delegate that is assigned to the lostFocus event.

removeOnResize Removes the delegate that is assigned to the resize event.

removeOnSelectedIndexChanged Removes the delegate that is assigned to the selectedIndexChanged event.

setEnabled Sets the enabled state of the element.

setItem Updates the attributes of a particular item.

setItems Sets the items in the list.

setItemSubmitValue Updates the value attribute of an item.

setItemText Sets the text attribute of the specified item.

setSelected Sets the selected state of a particular item in the list.

setSelectedIndex Sets the current selected index.

setSubmitName Sets the name of the select box.