1
|
/**
|
2
|
* Copyright (C) 2018 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.vaadin.event;
|
10
|
|
11
|
import eu.etaxonomy.vaadin.mvp.AbstractView;
|
12
|
|
13
|
/**
|
14
|
* @author a.kohlbecker
|
15
|
* @since Jul 3, 2018
|
16
|
*
|
17
|
*/
|
18
|
public class PagingEvent {
|
19
|
|
20
|
|
21
|
private AbstractView sourceView = null;
|
22
|
private Integer pageIndex = null;
|
23
|
/**
|
24
|
* @param sourceView
|
25
|
* @param pageIndex
|
26
|
*/
|
27
|
public PagingEvent(AbstractView sourceView, Integer pageIndex) {
|
28
|
super();
|
29
|
this.setSourceView(sourceView);
|
30
|
this.setPageIndex(pageIndex);
|
31
|
}
|
32
|
/**
|
33
|
* @return the pageIndex
|
34
|
*/
|
35
|
public Integer getPageIndex() {
|
36
|
return pageIndex;
|
37
|
}
|
38
|
/**
|
39
|
* @param pageIndex the pageIndex to set
|
40
|
*/
|
41
|
public void setPageIndex(Integer pageIndex) {
|
42
|
this.pageIndex = pageIndex;
|
43
|
}
|
44
|
/**
|
45
|
* @return the sourceView
|
46
|
*/
|
47
|
public AbstractView getSourceView() {
|
48
|
return sourceView;
|
49
|
}
|
50
|
/**
|
51
|
* @param sourceView the sourceView to set
|
52
|
*/
|
53
|
public void setSourceView(AbstractView sourceView) {
|
54
|
this.sourceView = sourceView;
|
55
|
}
|
56
|
|
57
|
|
58
|
|
59
|
}
|