01: package org.jreform;
02:
03: /**
04: * Represents the state of a selectable input: selected / unselected.
05: *
06: * @author armandino (at) gmail.com
07: */
08: public enum SelectableState {
09: SELECTED("selected"), UNSELECTED("");
10:
11: private String state;
12:
13: SelectableState(String state) {
14: this .state = state;
15: }
16:
17: public String toString() {
18: return state;
19: }
20:
21: }
|