Package org.zkoss.zul

Class GroupsModelArray<D,H,F,E>

java.lang.Object
org.zkoss.zul.AbstractGroupsModel<D,H,F,E>
org.zkoss.zul.GroupsModelArray<D,H,F,E>
All Implemented Interfaces:
Serializable, Cloneable, org.zkoss.zk.ui.util.ComponentCloneListener, GroupsSelectableModel<E>, GroupsSortableModel<D>, Selectable<E>, Sortable<D>, GroupsModel<D,H,F>

public class GroupsModelArray<D,H,F,E> extends AbstractGroupsModel<D,H,F,E> implements GroupsSortableModel<D>, org.zkoss.zk.ui.util.ComponentCloneListener, Cloneable
An array implementation of GroupsModel. This implementation takes a list of elements that are not grouped yet, and a comparator that will be used to group them. The c supports regroup array to groups depends on Comparator and GroupComparator. For immutable content (no re-grouping allowed), please use SimpleGroupsModel instead.

Generics:

D
The class of each data
H
The class of each group header
F
The class of each group footer
E
The class of each selection. It is the common base class of D, H, F. In other words, D, H and F must extend from E.

For more information, please refer to ZK Developer's Reference: Groups Model

By default, the model support cloneable when the component is cloned. (since 6.0.0)

Since:
5.0.5
Author:
Dennis.Chen
See Also: