Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/shared/model/Style.java @ 1326:974c6b3700de
Use the theme index to identify the correct style.
flys-client/trunk@2968 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 14 Oct 2011 08:36:29 +0000 |
parents | d9cb362b8b34 |
children | 92074508a387 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/Style.java Thu Oct 13 16:30:55 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/Style.java Fri Oct 14 08:36:29 2011 +0000 @@ -14,6 +14,8 @@ protected String facet; + protected int index; + protected List<StyleSetting> settings; public Style() { @@ -32,6 +34,10 @@ this.facet = facet; } + public void setIndex(int index) { + this.index = index; + } + public String getName() { return this.name; } @@ -40,6 +46,10 @@ return this.facet; } + public int getIndex() { + return this.index; + } + public StyleSetting getSetting(String name) { for (int i = 0; i < settings.size (); i++) { if (settings.get(i).getName().equals(name)) {