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, 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
public void refreshInternalModel(javax.swing.JComboBox cmbBox)
cmbBox
- The JComboBox
on which this model
operates.