public static class MultiListSelect.SingleListSelect extends MultiListSelect
MultiListSelect.AvailableLists, MultiListSelect.SelectedItems, MultiListSelect.SingleListSelect
PropertyList.NullPropertyList
Modifier and Type | Field and Description |
---|---|
protected String |
listName |
_fields, availableLists, createIfNotPresent, singleItemPerList
nullPropertyList
capacityIncrement, elementCount, elementData
serialVersionUID
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, toPropertyList
add, 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, toObjectArray
add, 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, trimToSize
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode
protected String listName
public SingleListSelect(Vector all, int selectedIndex)
public SingleListSelect()
public void copyFrom(Object other)
mVector
copyFrom
in interface DataUnit
copyFrom
in class MultiListSelect
public 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()