public static class MultiListSelect.SingleListSelect extends MultiListSelect
MultiListSelect.AvailableLists, MultiListSelect.SelectedItems, MultiListSelect.SingleListSelectPropertyList.NullPropertyList| Modifier and Type | Field and Description |
|---|---|
protected String |
listName |
_fields, availableLists, createIfNotPresent, singleItemPerListnullPropertyListcapacityIncrement, elementCount, elementDataserialVersionUID| Constructor and Description |
|---|
SingleListSelect() |
SingleListSelect(Vector all,
int selectedIndex) |
SingleListSelect(Vector all,
Vector selected) |
SingleListSelect(Vector all,
Vector selected,
boolean singleItemOnly) |
SingleListSelect(Vector all,
Vector selected,
String listName) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(Object other)
This does not make copies of the elements of the other Object.
|
Vector |
getList() |
String |
getListName() |
Vector |
getSelected() |
int[] |
getSelectedIndexes() |
boolean |
isSelected(Object value) |
void |
select(int index,
boolean doSet) |
void |
select(Object value,
boolean doSelect) |
void |
setSelected(Vector sel) |
void |
setSelectedIndexes(int[] selected) |
getOrCreateEntry, getSelectedFor, getSelectedFor, getSelectedIndexesFor, isSelected, select, select, selectAll, selectAll, selectNone, setSelectedFor, toString, toVector_getSetField, add, add, add, add, defaultTo, defaultTo, fromHashtable, fromStrings, get, get, getBoolean, getBoolean, getDouble, getDouble, getInt, getInt, getLong, getNames, getProperties, getProperties, getProperties, getPropertyValues, getSetProperties, getString, getString, getStrings, getValue, getValue, getValue, getValue, getValue, make, readConfigFile, remove, set, set, set, set, setBoolean, setClassValue, setDouble, setInt, setLong, setStrings, toHashtable, toPropertyListadd, add, addAll, addAll, addAll, addAll, addCopiesFrom, cacheAllElements, clear, compareTo, copied, copyCopiesFrom, copyInto, copyInto, del, find, get, getCopy, getCount, getFullCopy, getNew, insert, iterator, newVector, pop, push, size, toArray, toArray, toArray, toArray, toArray, toObjectArrayadd, addAll, addAll, addElement, capacity, clone, contains, containsAll, elementAt, elements, ensureCapacity, firstElement, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, setElementAt, setSize, size, trimToSizeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCodeprotected String listName
public SingleListSelect(Vector all, int selectedIndex)
public SingleListSelect()
public void copyFrom(Object other)
mVectorcopyFrom in interface DataUnitcopyFrom in class MultiListSelectpublic Vector getSelected()
public void setSelected(Vector sel)
public int[] getSelectedIndexes()
public void setSelectedIndexes(int[] selected)
public boolean isSelected(Object value)
public void select(Object value, boolean doSelect)
public void select(int index,
boolean doSet)
public String getListName()
public Vector getList()