|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ListValueHolder is ...
Method Summary | |
void |
addListSelectionListener(javax.swing.event.ListSelectionListener l)
Add a listener to the list that's notified each time a change to the selection occurs. |
void |
first()
Makes the last object in the List available. |
int |
getPosition()
Gets the current position in the list. |
java.lang.Object |
getPropertyValue(java.lang.String propertyName,
int row)
Returns the value of the given property in the valueObject of the given row. |
java.lang.Object[] |
getPropertyValues(java.lang.String[] propertyNames,
int index)
Get the values for the given properties in the valueObject at the given index. |
int |
getRowCount()
Gets the current number of rows in the list. |
boolean |
hasAny()
Indicates if the List has any Objects. |
boolean |
hasPrior()
Indicates whether there is a prior Object in the List. |
int |
indexOf(java.lang.String[] propertyNames,
java.lang.Object[] values)
Search through the items in the list for a match based on comparing the given properties/values. |
void |
last()
Makes the last object in the List available. |
void |
moveTo(int row)
Makes the given row number the current available object. |
void |
prior()
Makes the prior object in the List available. |
void |
removeListSelectionListener(javax.swing.event.ListSelectionListener l)
Remove a listener from the list that's notified each time a change to the selection occurs. |
Methods inherited from interface com.taursys.model.CollectionValueHolder |
add, addAll, clear, contains, containsAll, equals, getObject, hashCode, hasNext, isEmpty, iterator, next, remove, removeAll, reset, retainAll, setObject, size, toArray, toArray |
Methods inherited from interface com.taursys.model.ValueHolder |
addChangeListener, getAlias, getJavaDataType, getPropertyValue, getPropertyValues, removeChangeListener, setPropertyValue, setPropertyValues |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Method Detail |
public java.lang.Object getPropertyValue(java.lang.String propertyName, int row) throws ModelException
ModelException
public java.lang.Object[] getPropertyValues(java.lang.String[] propertyNames, int index) throws ModelException
ModelException
public int indexOf(java.lang.String[] propertyNames, java.lang.Object[] values) throws ModelException
propertyNames
- which properties to compare for a matchvalues
- the values to match
ModelException
public boolean hasPrior()
public boolean hasAny()
public void moveTo(int row)
public int getPosition()
public int getRowCount()
public void first()
public void prior()
public void last()
public void removeListSelectionListener(javax.swing.event.ListSelectionListener l)
l
- the ListSelectionListeneraddListSelectionListener(javax.swing.event.ListSelectionListener)
public void addListSelectionListener(javax.swing.event.ListSelectionListener l)
l
- the ListSelectionListenerremoveListSelectionListener(javax.swing.event.ListSelectionListener)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |