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