Last change
on this file since 31449 was 31449, checked in by davidb, 7 years ago |
Adding three project folders for Nathan Kelly's 2016/2017 summer project, experimenting with Websockets for File Transfer with GWT and Sencha GXT
|
File size:
653 bytes
|
Line | |
---|
1 | package org.nbk4.gwt.action.client;
|
---|
2 |
|
---|
3 | import java.io.Serializable;
|
---|
4 |
|
---|
5 | import com.google.gwt.user.client.rpc.IsSerializable;
|
---|
6 |
|
---|
7 | public enum ActionTypeProperty implements Serializable, IsSerializable {
|
---|
8 | BUTTON(0),
|
---|
9 | WINDOW_CLOSE(1),
|
---|
10 | PROGRESS_BAR_STRING(2),
|
---|
11 | PROGRESS_BAR_PROGRESS(3),
|
---|
12 | MESSAGE_WINDOW_TEXT(4),
|
---|
13 | MESSAGE_WINDOW_TITLE(5),
|
---|
14 | FILE_LOCATION_STRING(6),
|
---|
15 | FILE_CHUNK_SIZE(7),
|
---|
16 | FILE_COPY_LIMIT(8),
|
---|
17 | BUTTON_PRESS(9);
|
---|
18 |
|
---|
19 |
|
---|
20 | private int value;
|
---|
21 |
|
---|
22 | private ActionTypeProperty(int value){
|
---|
23 | this.setValue(value);
|
---|
24 | }
|
---|
25 |
|
---|
26 | public int getValue() {
|
---|
27 | return value;
|
---|
28 | }
|
---|
29 |
|
---|
30 | private void setValue(int value) {
|
---|
31 | this.value = value;
|
---|
32 | }
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.