biz.chitec.quarterback.swing
Class NumberedStringComboBoxModel
java.lang.Object
javax.swing.AbstractListModel
biz.chitec.quarterback.swing.NumberedStringListModel
biz.chitec.quarterback.swing.NumberedStringComboBoxModel
- All Implemented Interfaces:
- ChangeableListModel, javax.swing.ComboBoxModel, javax.swing.ListModel, java.io.Serializable
- public class NumberedStringComboBoxModel
- extends NumberedStringListModel
- implements javax.swing.ComboBoxModel
Combobox model for Lists of NumberedStrings.
Has nice special methods for handling the vectors (e.g. intelligent insertion)
- Version:
- $Id: 29e0a23e60fb88a69d8c15f80d713e4fa6b5751d $
- Author:
- Dirk Hillbrecht/chitec 1997-2000.
Distributed under the terms of the GNU LGPL.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
Methods inherited from class biz.chitec.quarterback.swing.NumberedStringListModel |
add, addAll, addContent, addFromChatSymbolHolder, addFromChatSymbolHolder, Addnr2GUIIdx, changeContent, clear, containsNSIdx, getAddNrFirst, getContent, getElementAt, getList, getNSbyNSIdx, getShowAddNr, getSize, GUI2NSAddNr, GUI2NSIdx, GUI2NSIdx, isSortByName, isSorting, lazyNS2GUIIdx, lazyNS2GUIIdx, NS2GUIIdx, NS2GUIIdx, remove, removeContent, setAddNrFirst, setContent, setList, setShowAddNr, setSortByName, setSorting, trimToExternalList |
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, getElementAt, getSize, removeListDataListener |
selidx
protected int selidx
indexreturning
protected boolean indexreturning
NumberedStringComboBoxModel
public NumberedStringComboBoxModel()
NumberedStringComboBoxModel
public NumberedStringComboBoxModel(boolean sad)
NumberedStringComboBoxModel
public NumberedStringComboBoxModel(java.util.List v)
NumberedStringComboBoxModel
public NumberedStringComboBoxModel(java.util.List v,
boolean sad)
NumberedStringComboBoxModel
public NumberedStringComboBoxModel(ChatSymbolHolder csh,
int[] idxx)
NumberedStringComboBoxModel
public NumberedStringComboBoxModel(ChatSymbolHolder csh)
setIndexReturning
public void setIndexReturning(boolean x)
isIndexReturning
public boolean isIndexReturning()
setSelectedItem
public void setSelectedItem(java.lang.Object selobj)
- Specified by:
setSelectedItem
in interface javax.swing.ComboBoxModel
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem
in interface javax.swing.ComboBoxModel
getGUISelectedIndex
public int getGUISelectedIndex()
setGUISelectedIndex
public void setGUISelectedIndex(int selx)
- Sets GUI index of selection explicitly
- Parameters:
selx
-
getNSSelectedIndex
public int getNSSelectedIndex()