Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/StyleSetting.java @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-client/src/main/java/org/dive4elements/river/client/shared/model/StyleSetting.java@821a02bbfb4e |
children | 172338b1407f |
comparison
equal
deleted
inserted
replaced
5837:d9901a08d0a6 | 5838:5aa05a7a34b7 |
---|---|
1 package org.dive4elements.river.client.shared.model; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 | |
6 /** | |
7 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> | |
8 */ | |
9 public class StyleSetting implements Serializable { | |
10 | |
11 /**The settings name.*/ | |
12 protected String name; | |
13 | |
14 /** The default value.*/ | |
15 protected String defaultValue; | |
16 | |
17 /**The display name*/ | |
18 protected String displayName; | |
19 | |
20 /**Hints.*/ | |
21 protected String hints; | |
22 | |
23 /**The type*/ | |
24 protected String type; | |
25 | |
26 /** Determines, if the property should be visible in UI or not.*/ | |
27 protected boolean hidden; | |
28 | |
29 | |
30 /** | |
31 * Create a new StyleSetting for theme attribution. | |
32 */ | |
33 public StyleSetting() { | |
34 } | |
35 | |
36 | |
37 /** | |
38 * Create a new StyleSetting for theme attribution. | |
39 * @param name The attribute name. | |
40 * @param defaultValue The current value. | |
41 * @param displayName The name to show in a dialog. | |
42 * @param hints Hints. | |
43 * @param type The attribute type. | |
44 */ | |
45 public StyleSetting( | |
46 String name, | |
47 String defaultValue, | |
48 String displayName, | |
49 String hints, | |
50 String type, | |
51 boolean hidden) | |
52 { | |
53 this.name = name; | |
54 this.defaultValue = defaultValue; | |
55 this.displayName = displayName; | |
56 this.hints = hints; | |
57 this.type = type; | |
58 this.hidden = hidden; | |
59 } | |
60 | |
61 public void setName(String name) { | |
62 this.name = name; | |
63 } | |
64 | |
65 public void setDefaultValue(String value) { | |
66 this.defaultValue = value; | |
67 } | |
68 | |
69 public void setDisplayName(String name) { | |
70 this.displayName = name; | |
71 } | |
72 | |
73 public void setHints(String hints) { | |
74 this.hints = hints; | |
75 } | |
76 | |
77 public void setType(String type) { | |
78 this.type = type; | |
79 } | |
80 | |
81 public String getName() { | |
82 return this.name; | |
83 } | |
84 | |
85 public String getDefaultValue() { | |
86 return this.defaultValue; | |
87 } | |
88 | |
89 public String getDisplayName() { | |
90 return this.displayName; | |
91 } | |
92 | |
93 public String getHints() { | |
94 return this.hints; | |
95 } | |
96 | |
97 public String getType() { | |
98 return this.type; | |
99 } | |
100 | |
101 public boolean isHidden() { | |
102 return hidden; | |
103 } | |
104 } | |
105 | |
106 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |