public class TableList extends SortedList<java.lang.Object> implements SendableEntity, SendableEntityCreator
| Modifier and Type | Field and Description |
|---|---|
protected java.beans.PropertyChangeSupport |
listeners |
static java.lang.String[] |
properties |
static java.lang.String |
PROPERTY_ITEMS |
cprALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, CASESENSITIVE, flag, MAP, READONLY, REMOVED, VISIBLE| Constructor and Description |
|---|
TableList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
boolean |
addPropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
Adds the property change listener.
|
SortingDirection |
changeDirection() |
protected boolean |
fireProperty(java.lang.String type,
java.lang.Object oldValue,
java.lang.Object newValue,
java.lang.Object beforeValue,
java.lang.Object value) |
TableList |
getNewList(boolean keyValue) |
java.lang.String[] |
getProperties()
Gets the properties.
|
java.beans.PropertyChangeSupport |
getPropertyChangeSupport() |
java.lang.Object |
getSendableInstance(boolean prototyp)
Gets the sendable instance.
|
java.lang.Object[] |
getSortedIndex() |
java.lang.Object |
getValue(java.lang.Object entity,
java.lang.String attribute)
Gets the value.
|
boolean |
removeAllFromItems() |
boolean |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
boolean |
removePropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener) |
boolean |
setIdMap(IdMap map) |
boolean |
setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
Sets the value.
|
boolean |
setValue(java.lang.String attrName,
java.lang.Object value) |
java.lang.String |
toString() |
TableList |
withComparator(java.util.Comparator<java.lang.Object> comparator) |
TableList |
withSort(java.lang.String field,
SortingDirection direction) |
TableList |
withSort(java.lang.String field,
SortingDirection direction,
EntityValueFactory cellValueCreator) |
comparator, headSet, higher, isComparator, tailSet, withComparatorclone, filter, remove, subList, withadd, add, addAll, addAll, ceiling, copyEntity, filterItems, iteratorReverse, listIterator, listIterator, remove, set, subSet, withListaddHashItem, addKeyValue, checkValue, clear, contains, containsAll, first, flag, get, getByIndex, getKeyByIndex, getPositionKey, getValue, hashKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isEmpty, isReadOnly, isVisible, iterator, last, lastIndexOf, move, pack, parseItem, removeAll, removeByObject, reset, retainAll, setAllowEmptyValue, setFlag, setValue, size, toArray, toArray, toString, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withSize, withVisibleequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final java.lang.String PROPERTY_ITEMS
public static final java.lang.String[] properties
protected java.beans.PropertyChangeSupport listeners
public java.lang.String[] getProperties()
SendableEntityCreatorgetProperties in interface SendableEntityCreatorpublic java.lang.Object getSendableInstance(boolean prototyp)
SendableEntityCreatorgetSendableInstance in interface SendableEntityCreatorprototyp - the prototyppublic java.lang.Object getValue(java.lang.Object entity,
java.lang.String attribute)
SendableEntityCreatorgetValue in interface SendableEntityCreatorentity - the entityattribute - the attributepublic boolean setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
SendableEntityCreatorsetValue in interface SendableEntityCreatorentity - the entityattribute - the attributevalue - the valuetype - edit, update or remove operationpublic boolean setIdMap(IdMap map)
public boolean setValue(java.lang.String attrName,
java.lang.Object value)
protected boolean fireProperty(java.lang.String type,
java.lang.Object oldValue,
java.lang.Object newValue,
java.lang.Object beforeValue,
java.lang.Object value)
fireProperty in class AbstractArray<java.lang.Object>public java.beans.PropertyChangeSupport getPropertyChangeSupport()
public boolean removeAllFromItems()
public TableList withSort(java.lang.String field, SortingDirection direction, EntityValueFactory cellValueCreator)
public TableList withComparator(java.util.Comparator<java.lang.Object> comparator)
withComparator in class SortedList<java.lang.Object>public TableList withSort(java.lang.String field, SortingDirection direction)
public SortingDirection changeDirection()
public java.lang.Object[] getSortedIndex()
public boolean addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener in interface SendableEntitypublic boolean removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener in interface SendableEntitypublic boolean removePropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
public boolean addPropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
SendableEntityaddPropertyChangeListener in interface SendableEntityname - the property namelistener - the listenerpublic java.lang.String toString()
toString in interface BaseItemtoString in class AbstractArray<java.lang.Object>public TableList getNewList(boolean keyValue)
getNewList in interface BaseItemgetNewList in class SimpleList<java.lang.Object>