01: package org.zkforge.timeline.event;
02:
03: import java.util.Date;
04:
05: import org.zkoss.zk.ui.Component;
06: import org.zkoss.zk.ui.event.Event;
07:
08: public class BandScrollEvent extends Event {
09: private String _name;
10:
11: private Date _min;
12:
13: private Date _max;
14:
15: private Component _band;
16:
17: public BandScrollEvent(String name, Component target, Date min,
18: Date max) {
19: super (name, target);
20: // TODO Auto-generated constructor stub
21: _min = min;
22: _max = max;
23: _band = target;
24: _name = name;
25: }
26:
27: public Component getBand() {
28: return _band;
29: }
30:
31: public void setBand(Component band) {
32: this ._band = band;
33: }
34:
35: public Date getMax() {
36: return _max;
37: }
38:
39: public void setMax(Date max) {
40: this ._max = max;
41: }
42:
43: public Date getMin() {
44: return _min;
45: }
46:
47: public void setMin(Date min) {
48: this._min = min;
49: }
50:
51: }
|