Module com.iamsoft.util.ui
Class UriRequestComboBoxModel
- java.lang.Object
-
- javax.swing.AbstractListModel<URL>
-
- com.iamsoft.util.ui.requestcache.swing.UriRequestComboBoxModel
-
- All Implemented Interfaces:
Serializable
,ComboBoxModel<URL>
,ListModel<URL>
public class UriRequestComboBoxModel extends AbstractListModel<URL> implements ComboBoxModel<URL>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description UriRequestComboBoxModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(URL pUrl)
URL
getElementAt(int pIdx)
URL
getSelectedItem()
int
getSize()
void
setSelectedItem(Object pSelectedItem)
-
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
-
-
-
-
Method Detail
-
setSelectedItem
public void setSelectedItem(Object pSelectedItem)
- Specified by:
setSelectedItem
in interfaceComboBoxModel<URL>
-
getSelectedItem
public URL getSelectedItem()
- Specified by:
getSelectedItem
in interfaceComboBoxModel<URL>
-
getElementAt
public URL getElementAt(int pIdx)
- Specified by:
getElementAt
in interfaceListModel<URL>
-
add
public void add(URL pUrl)
-
-