Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/Axis.java @ 552:6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
flys-client/trunk@2066 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 07 Jun 2011 13:26:24 +0000 |
parents | |
children | 460b8e0f0563 |
comparison
equal
deleted
inserted
replaced
551:13c7f90917fc | 552:6050d49eaba3 |
---|---|
1 package de.intevation.flys.client.shared.model; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 | |
6 /** | |
7 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
8 */ | |
9 public class Axis implements Serializable { | |
10 | |
11 protected int pos; | |
12 | |
13 protected double from; | |
14 protected double to; | |
15 | |
16 | |
17 public Axis() { | |
18 } | |
19 | |
20 | |
21 public Axis(int pos, double from, double to) { | |
22 this.pos = pos; | |
23 this.from = from; | |
24 this.to = to; | |
25 } | |
26 | |
27 | |
28 public int getPos() { | |
29 return pos; | |
30 } | |
31 | |
32 | |
33 public double getFrom() { | |
34 return from; | |
35 } | |
36 | |
37 | |
38 public double getTo() { | |
39 return to; | |
40 } | |
41 } | |
42 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |