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