blob: 1504abe4b76add597f24b8f8004a9b49a1ae340d (
plain) (
blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
|
/* */ package NET.worlds.scape;
/* */
/* */
/* */
/* */
/* */
/* */ class EnumFieldEditorDialog
/* */ extends CheckboxEditorDialog
/* */ {
/* */ private static final long serialVersionUID = 1L;
/* */
/* */
/* */
/* */
/* */ private Property property;
/* */
/* */
/* */
/* */ private int[] numbers;
/* */
/* */
/* */
/* */
/* */ EnumFieldEditorDialog(EditTile parent, String title, Property property, String[] choices, int[] values)
/* */ {
/* 26 */ super(parent, title, choices);
/* 27 */ this.property = property;
/* 28 */ this.numbers = values;
/* 29 */ ready();
/* */ }
/* */
/* */ protected int getValue()
/* */ {
/* 34 */ return ((Integer)this.property.get()).intValue();
/* */ }
/* */
/* */ protected void setValue(int choice)
/* */ {
/* 39 */ this.parent.addUndoableSet(this.property, new Integer(this.numbers[choice]));
/* */ }
/* */ }
/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\EnumFieldEditorDialog.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/
|