1 | |
package org.kuali.student.common.ui.client.widgets.field.layout.element; |
2 | |
|
3 | |
import com.google.gwt.user.client.ui.Widget; |
4 | |
|
5 | |
public class FieldInfo { |
6 | |
public String fieldTitle; |
7 | 0 | public boolean required = false; |
8 | |
public String helpText; |
9 | |
public String instructionText; |
10 | |
public String constraintText; |
11 | |
public String watermarkText; |
12 | |
public String key; |
13 | |
public Widget widget; |
14 | |
|
15 | 0 | public FieldInfo(String fieldTitle, Widget widget){ |
16 | |
|
17 | 0 | } |
18 | |
|
19 | 0 | public FieldInfo(String key, String fieldTitle, Widget widget){ |
20 | |
|
21 | 0 | } |
22 | |
|
23 | |
public boolean isRequired() { |
24 | 0 | return required; |
25 | |
} |
26 | |
public void setRequired(boolean required) { |
27 | 0 | this.required = required; |
28 | 0 | } |
29 | |
public String getInstructionText() { |
30 | 0 | return instructionText; |
31 | |
} |
32 | |
public void setInstructionText(String instructionText) { |
33 | 0 | this.instructionText = instructionText; |
34 | 0 | } |
35 | |
public String getConstraintText() { |
36 | 0 | return constraintText; |
37 | |
} |
38 | |
public void setConstraintText(String constraintText) { |
39 | 0 | this.constraintText = constraintText; |
40 | 0 | } |
41 | |
public String getWatermarkText() { |
42 | 0 | return watermarkText; |
43 | |
} |
44 | |
public void setWatermarkText(String watermarkText) { |
45 | 0 | this.watermarkText = watermarkText; |
46 | 0 | } |
47 | |
public String getKey() { |
48 | 0 | return key; |
49 | |
} |
50 | |
public void setKey(String key) { |
51 | 0 | this.key = key; |
52 | 0 | } |
53 | |
public Widget getWidget() { |
54 | 0 | return widget; |
55 | |
} |
56 | |
public void setWidget(Widget widget) { |
57 | 0 | this.widget = widget; |
58 | 0 | } |
59 | |
public void setHelpText(String helpText) { |
60 | 0 | this.helpText = helpText; |
61 | 0 | } |
62 | |
public String getHelpText() { |
63 | 0 | return helpText; |
64 | |
} |
65 | |
public void setFieldTitle(String fieldTitle) { |
66 | 0 | this.fieldTitle = fieldTitle; |
67 | 0 | } |
68 | |
public String getFieldTitle() { |
69 | 0 | return fieldTitle; |
70 | |
} |
71 | |
} |