teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5861: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5861: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.client.event; ingo@540: ingo@540: ingo@540: /** ingo@540: * @author Ingo Weinzierl ingo@540: */ ingo@540: public class ZoomEvent { ingo@540: ingo@540: protected int xmin; ingo@540: protected int ymin; ingo@540: ingo@540: protected int xmax; ingo@540: protected int ymax; ingo@540: ingo@540: ingo@540: public ZoomEvent(int xmin, int ymin, int xmax, int ymax) { ingo@540: this.xmin = xmin; ingo@540: this.xmax = xmax; ingo@540: this.ymin = ymin; ingo@540: this.ymax = ymax; ingo@540: } ingo@540: ingo@540: ingo@540: public int getStartX() { ingo@540: return xmin; ingo@540: } ingo@540: ingo@540: ingo@540: public int getEndX() { ingo@540: return xmax; ingo@540: } ingo@540: ingo@540: ingo@540: public int getStartY() { ingo@540: return ymin; ingo@540: } ingo@540: ingo@540: ingo@540: public int getEndY() { ingo@540: return ymax; ingo@540: } ingo@540: } ingo@540: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :