Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/sessionmodel/DiagrammOptions.java @ 29:bba8fd97e549
Export and Diagrammoptions integrated into GUI
gnv/trunk@133 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 25 Sep 2009 07:28:49 +0000 |
parents | |
children | 07e9c137a2f1 |
comparison
equal
deleted
inserted
replaced
28:d93ea867406b | 29:bba8fd97e549 |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.action.sessionmodel; | |
5 /** | |
6 * @author Tim Englich <tim.englich@intevation.de> | |
7 * | |
8 */ | |
9 public class DiagrammOptions { | |
10 | |
11 | |
12 public enum mode{ | |
13 Standard, | |
14 User_Specific | |
15 } | |
16 | |
17 private mode modus = mode.Standard; | |
18 | |
19 private int width = 500; | |
20 /** | |
21 * Constructor | |
22 */ | |
23 public DiagrammOptions() { | |
24 super(); | |
25 } | |
26 | |
27 /** | |
28 * @return | |
29 */ | |
30 public mode getModus() { | |
31 return modus; | |
32 } | |
33 | |
34 /** | |
35 * @param modus | |
36 */ | |
37 public void setModus(mode modus) { | |
38 this.modus = modus; | |
39 } | |
40 | |
41 /** | |
42 * @return | |
43 */ | |
44 public int getWidth() { | |
45 return width; | |
46 } | |
47 | |
48 /** | |
49 * @param width | |
50 */ | |
51 public void setWidth(int width) { | |
52 this.width = width; | |
53 } | |
54 | |
55 } |