ca.odell.glazedlists
Interface SeparatorList.Separator<E>
public static interface SeparatorList.Separator<E>
A separator heading the elements of a group.
E | first() - A convenience method to get the first element from this group.
|
List | getGroup() - Get the
List of all elements in this group.
|
int | getLimit() - Get the maximum number of elements in this group to show.
|
void | setLimit(int limit) - Set the maximum number of elements in this group to show.
|
int | size() - A convenience method to get the number of elements in this group.
|
first
public E first()
A convenience method to get the first element from this group. This
is useful to render the separator's name.
getGroup
public List getGroup()
Get the
List
of all elements in this group.
This method requires the read lock of the
SeparatorList
to be held during invocation.
getLimit
public int getLimit()
Get the maximum number of elements in this group to show.
setLimit
public void setLimit(int limit)
Set the maximum number of elements in this group to show. This is
useful to collapse a group (limit of 0), cap the elements of a group
(limit of 5) or reverse those actions.
This method requires the write lock of the
SeparatorList
to be
held during invocation.
size
public int size()
A convenience method to get the number of elements in this group. This
is useful to render the separator.
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by pbuilder at 2009-07-14 22:05