public class ScriptComboBoxModel
extends javax.swing.DefaultComboBoxModel
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
log
Used for logging.
|
Constructor and Description |
---|
ScriptComboBoxModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getElementAt(int index)
Gets the name of the script at the given index.
|
int |
getSize()
Gets the number of scripts.
|
addElement, getIndexOf, getSelectedItem, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItem
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
public java.lang.Object getElementAt(int index)
getElementAt
in interface javax.swing.ListModel
getElementAt
in class javax.swing.DefaultComboBoxModel
index
- The index.public int getSize()
getSize
in interface javax.swing.ListModel
getSize
in class javax.swing.DefaultComboBoxModel