public class MappingSetComboBoxModel
extends javax.swing.DefaultComboBoxModel
implements java.awt.event.ActionListener
ComboBox
of MappingSet
objects.Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
log
Used for logging.
|
static java.lang.String |
NO_MAPPING_SET
Indicates that no mapping set is to be used.
|
Constructor and Description |
---|
MappingSetComboBoxModel()
Constructs the model, adding the default value.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
java.lang.Object |
getElementAt(int index)
Gets the name of the mapping set at the given index.
|
int |
getSize()
Gets the number of scraping sessions.
|
addElement, getIndexOf, getSelectedItem, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItem
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
public static org.apache.log4j.Logger log
public static java.lang.String NO_MAPPING_SET
public MappingSetComboBoxModel()
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 actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener