Lines Matching refs:field
2 {{include field.fragment}}
11 var field = this.getField("MyField");
20 testRWProperty(field, "delay", false, true);
23 testRWProperty(field, "delay", true, false);
24 testFieldPropertiesCase(field);
37 function testFieldPropertiesCase(field) {
38 testROProperty(field, "name", "MyField");
40 testRWProperty(field, "rect", [200,221,220,201], [100,121,120,101]);
42 testRWProperty(field, "rect", [100,121,120,101], [200,221,220,201]);
45 function testTextPropertiesCase(field) {
48 testRIProperty(field, "alignment", "left", "center");
49 testRWProperty(field, "borderStyle", "solid", "inset");
50 testRIProperty(field, "calcOrderIndex", -1, 100);
51 testRIProperty(field, "charLimit", 0, 100);
52 testRIProperty(field, "comb", false, true);
53 // testRIProperty(field, "commitOnSelChange", false, true);
54 // testROProperty(field, "currentValueIndices", "clams");
55 testXXProperty(field, "defaultStyle");
56 testRIProperty(field, "defaultValue", "grue", "clams");
57 testRIProperty(field, "doNotScroll", false, true);
58 testRIProperty(field, "doNotSpellCheck", false, true);
59 testRWProperty(field, "display", 2, 3);
60 testROProperty(field, "doc", "[object global]");
61 // testROProperty(field, "editable", "clams");
62 testRWProperty(field, "hidden", false, true);
63 testRIProperty(field, "fileSelect", false, true);
64 testRIProperty(field, "fillColor", "T", ["RGB", 0, 0, 0]);
65 testRWProperty(field, "lineWidth", 1, 4);
66 testRIProperty(field, "multiline", false, true);
67 // testROProperty(field, "multipleSelection", "clams");
68 testROProperty(field, "name", "MyField.MyText");
69 // testROProperty(field, "numItems", "clams");
70 testROProperty(field, "page", 0);
71 testRIProperty(field, "password", false, 42);
72 testRWProperty(field, "print", true, false);
73 testRWProperty(field, "readonly", false, true);
74 testROProperty(field, "rect", [200,221,220,201]);
75 // testROProperty(field, "required", "clams");
76 testRIProperty(field, "richText", false, true);
77 testRIProperty(field, "richValue", undefined, "clams");
78 testRIProperty(field, "rotation", 0, 42);
79 testRIProperty(field, "source", undefined, "clams");
80 testRIProperty(field, "strokeColor", "T", ["RGB", 0, 0, 0]);
81 testRIProperty(field, "submitName", undefined, "clams");
82 testRIProperty(field, "textColor", "T", ["RGB", 0, 0, 0]);
83 // testROProperty(field, "textFont", "clams");
84 testRIProperty(field, "textSize", 0, 32);
85 testROProperty(field, "type", "text");
86 testRIProperty(field, "userName", "");
87 testRWProperty(field, "value", "bleen", "clams");
88 testROProperty(field, "valueAsString", "clams"); // Set by previous line.
94 function testPushButtonPropertiesCase(field) {
96 testRIProperty(field, "buttonAlignX", 0, 50);
97 testRIProperty(field, "buttonAlignY", 0, 50);
98 testRIProperty(field, "buttonFitBounds", false);
99 testRIProperty(field, "buttonPosition", 4);
100 testRIProperty(field, "buttonScaleHow", 0);
101 testRIProperty(field, "buttonScaleWhen", 0);
102 testRIProperty(field, "highlight", "invert");
103 testROProperty(field, "type", "button");
109 function testBadPushButtonPropertiesCase(field) {
111 testRIProperty(field, "buttonPosition", 7); // not checked.
117 function testRadioButtonPropertiesCase(field) {
119 testROProperty(field, "exportValues", "Yes");
120 testRIProperty(field, "radiosInUnison", false);
121 testRIProperty(field, "style", "circle");
122 testROProperty(field, "type", "radiobutton");
123 testRIProperty(field, "value", "Off");
124 testROProperty(field, "valueAsString", "Off");
130 function testCheckBoxPropertiesCase(field) {
132 testROProperty(field, "exportValues", "Yes");
133 testRIProperty(field, "style", "check");
134 testROProperty(field, "type", "checkbox");
135 testRIProperty(field, "value", "Off");
136 testROProperty(field, "valueAsString", "Off");
142 function testListBoxPropertiesCase(field) {
144 testRWProperty(field, "currentValueIndices", 2, 1);
150 function testFileSelectPropertiesCase(field) {
152 testRIProperty(field, "fileSelect", true);