|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractListModel | +--javax.swing.DefaultListModel | +--net.aerith.misao.gui.OpenCatalogPanel.CatalogSelectionComboBoxModel
The CatalogSelectionComboBoxModel
is a model of
the combo box to select a catalog.
Field Summary | |
private java.util.Vector |
catalog_list
The list of catalog readers to be selected. |
private java.lang.Object |
selected_item
The selected item. |
Fields inherited from class javax.swing.DefaultListModel |
delegate |
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Constructor Summary | |
OpenCatalogPanel.CatalogSelectionComboBoxModel()
Constructs an empty CatalogSelectionComboBoxModel . |
Method Summary | |
void |
addCatalogReader(CatalogReader reader)
Adds a catalog reader. |
CatalogReader |
getCatalogReaderAt(int index)
Gets the catalog reader at the specified location. |
int |
getIndexOf(CatalogReader reader)
Gets the location of the specified catalog reader. |
java.lang.Object |
getSelectedItem()
Gets the selected item. |
void |
setSelectedItem(java.lang.Object item)
Sets the item to be selected. |
Methods inherited from class javax.swing.DefaultListModel |
add,
addElement,
capacity,
clear,
contains,
copyInto,
elementAt,
elements,
ensureCapacity,
firstElement,
get,
getElementAt,
getSize,
indexOf,
indexOf,
insertElementAt,
isEmpty,
lastElement,
lastIndexOf,
lastIndexOf,
remove,
removeAllElements,
removeElement,
removeElementAt,
removeRange,
set,
setElementAt,
setSize,
size,
toArray,
toString,
trimToSize |
Methods inherited from class javax.swing.AbstractListModel |
addListDataListener,
fireContentsChanged,
fireIntervalAdded,
fireIntervalRemoved,
removeListDataListener |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.util.Vector catalog_list
private java.lang.Object selected_item
Constructor Detail |
public OpenCatalogPanel.CatalogSelectionComboBoxModel()
CatalogSelectionComboBoxModel
.Method Detail |
public java.lang.Object getSelectedItem()
public void setSelectedItem(java.lang.Object item)
item
- the item to be selected.public void addCatalogReader(CatalogReader reader)
reader
- a catalog reader to add to this combo box.public CatalogReader getCatalogReaderAt(int index)
index
- the location of the catalog reader to get.public int getIndexOf(CatalogReader reader)
reader
- a catalog reader to get the location.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |