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, setSelectedItemaddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerpublic 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.ListModelgetElementAt in class javax.swing.DefaultComboBoxModelindex - The index.public int getSize()
getSize in interface javax.swing.ListModelgetSize in class javax.swing.DefaultComboBoxModelpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener