public class ScrapingSessionComboBoxModel
extends javax.swing.DefaultComboBoxModel
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log
Used for logging.
|
| Constructor and Description |
|---|
ScrapingSessionComboBoxModel() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getElementAt(int index)
Gets the name of the scraping session at the given index.
|
int |
getSize()
Gets the number of scraping sessions.
|
void |
refreshInternalModel(javax.swing.JComboBox cmbBox)
Refreshes the internal model.
|
addElement, getIndexOf, getSelectedItem, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItemaddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerpublic java.lang.Object getElementAt(int index)
getElementAt in interface javax.swing.ListModelgetElementAt in class javax.swing.DefaultComboBoxModelindex - The index.public int getSize()
getSize in interface javax.swing.ListModelgetSize in class javax.swing.DefaultComboBoxModelpublic void refreshInternalModel(javax.swing.JComboBox cmbBox)
cmbBox - The JComboBox on which this model
operates.