comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultFacet.java @ 575:5277f46a63c2

The description of a facet is now displayed in the ChartThemePanel. flys-client/trunk@2141 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 17 Jun 2011 09:57:23 +0000
parents 74257b95567b
children
comparison
equal deleted inserted replaced
574:3629d36f0e5d 575:5277f46a63c2
8 */ 8 */
9 public class DefaultFacet implements Facet { 9 public class DefaultFacet implements Facet {
10 10
11 /** The name of the facet.*/ 11 /** The name of the facet.*/
12 protected String name; 12 protected String name;
13
14 /** The description of the facet.*/
15 protected String description;
16
17 /** The index of the facet.*/
18 protected int index;
13 19
14 20
15 /** 21 /**
16 * An empty constructor. 22 * An empty constructor.
17 */ 23 */
27 public DefaultFacet(String name) { 33 public DefaultFacet(String name) {
28 this.name = name; 34 this.name = name;
29 } 35 }
30 36
31 37
38 public DefaultFacet(String name, int index, String description) {
39 this(name);
40
41 this.index = index;
42 this.description = description;
43 }
44
45
32 public String getName() { 46 public String getName() {
33 return name; 47 return name;
34 } 48 }
49
50
51 public String getDescription() {
52 return description;
53 }
54
55
56 public int getIndex() {
57 return index;
58 }
35 } 59 }
36 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 60 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org