BrightSide Workbench Full Report + Source Code
GroupDefaultModel.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2012 Lluis TurrĂ³ Cutiller <http://www.turro.org/>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Affero General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Affero General Public License for more details.
14  *
15  * You should have received a copy of the GNU Affero General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 package org.turro.jpa.model;
19 
20 import java.util.Comparator;
21 import java.util.List;
22 import org.zkoss.zul.GroupsModelArray;
23 
28 public abstract class GroupDefaultModel extends GroupsModelArray {
29 
30  public GroupDefaultModel(List data, Comparator cmpr) {
31  super(data, cmpr);
32  }
33 
34  @Override
35  protected boolean createGroupOpen(Object[] groupdata, int index, int col) {
36  return super.createGroupOpen(groupdata, index, col);
37  }
38 
39  @Override
40  protected Object createGroupFoot(Object[] groupdata, int index, int col) {
41  return super.createGroupFoot(groupdata, index, col);
42  }
43 
44  @Override
45  protected Object createGroupHead(Object[] groupdata, int index, int col) {
46  return super.createGroupHead(groupdata, index, col);
47  }
48 
49  @Override
50  protected void fireEvent(int type, int groupIndex, int index0, int index1) {
51  super.fireEvent(type, groupIndex, index0, index1);
52  }
53 
54 }
Object createGroupHead(Object[] groupdata, int index, int col)
Object createGroupFoot(Object[] groupdata, int index, int col)
GroupDefaultModel(List data, Comparator cmpr)
void fireEvent(int type, int groupIndex, int index0, int index1)
boolean createGroupOpen(Object[] groupdata, int index, int col)