Nextrek
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
package nextrek.minstrek.core;
import org.json.JSONObject;
public class ButtonModel {
// String buttonImage;
String targetId;
String buttonText;
String buttonPreCond;
String buttonPostCond;
public ButtonModel(JSONObject jsonData) {
this.targetId = jsonData.optString("targetId");
this.buttonText = jsonData.optString("buttonText");
this.buttonPreCond = jsonData.optString("buttonPreCond");
this.buttonPostCond = jsonData.optString("buttonPostCond");
}
public String getButtonPreCond() {
return this.buttonPreCond;
}
public String getButtonPostCond() {
return this.buttonPostCond;
}
public String targetId() {
return this.targetId;
}
public String getText() {
return this.buttonText;
}
}
|
Revision |
Author |
Commited |
Message |
4
|
FMMortaroli
|
Fri 19 Apr, 2013 16:54:38 +0000 |
|