1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.myfaces.tobago.internal.taglib.component;
21
22 import org.apache.myfaces.tobago.apt.annotation.Tag;
23 import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
24 import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
25 import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
26 import org.apache.myfaces.tobago.component.RendererTypes;
27 import org.apache.myfaces.tobago.internal.taglib.declaration.HasIdBindingAndRendered;
28 import org.apache.myfaces.tobago.layout.Display;
29 import org.apache.myfaces.tobago.layout.Overflow;
30 import org.apache.myfaces.tobago.layout.Position;
31 import org.apache.myfaces.tobago.layout.TextAlign;
32
33
34
35
36
37
38
39 @Tag(name = "style")
40 @UIComponentTag(
41 uiComponent = "org.apache.myfaces.tobago.component.UIStyle",
42 componentFamily = "org.apache.myfaces.tobago.Style",
43 rendererType = RendererTypes.STYLE,
44 allowedChildComponenents = "NONE")
45 public interface StyleTagDeclaration extends HasIdBindingAndRendered {
46
47
48
49
50
51
52 @TagAttribute()
53 @UIComponentTagAttribute()
54 void setFile(String file);
55
56
57
58
59
60
61
62
63 @TagAttribute()
64 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.renderkit.css.CustomClass")
65 void setCustomClass(String customClass);
66
67
68
69
70
71 @TagAttribute()
72 @UIComponentTagAttribute()
73 void setSelector(String selector);
74
75
76
77
78
79 @TagAttribute()
80 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
81 void setWidth(String width);
82
83
84
85
86
87 @TagAttribute()
88 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
89 void setHeight(String height);
90
91
92
93
94
95 @TagAttribute()
96 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
97 void setMinWidth(String minWidth);
98
99
100
101
102
103 @TagAttribute()
104 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
105 void setMinHeight(String minHeight);
106
107
108
109
110
111 @TagAttribute()
112 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
113 void setMaxWidth(String maxWidth);
114
115
116
117
118
119 @TagAttribute()
120 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
121 void setMaxHeight(String maxHeight);
122
123
124
125
126
127 @TagAttribute()
128 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
129 void setLeft(String left);
130
131
132
133
134
135 @TagAttribute()
136 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
137 void setRight(String right);
138
139
140
141
142
143 @TagAttribute()
144 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
145 void setTop(String top);
146
147
148
149
150
151 @TagAttribute()
152 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
153 void setBottom(String bottom);
154
155
156
157
158
159 @TagAttribute()
160 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
161 void setPaddingLeft(String paddingLeft);
162
163
164
165
166
167 @TagAttribute()
168 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
169 void setPaddingRight(String paddingRight);
170
171
172
173
174
175 @TagAttribute()
176 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
177 void setPaddingTop(String paddingTop);
178
179
180
181
182
183 @TagAttribute()
184 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
185 void setPaddingBottom(String paddingBottom);
186
187
188
189
190
191 @TagAttribute()
192 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
193 void setMarginLeft(String marginLeft);
194
195
196
197
198
199 @TagAttribute()
200 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
201 void setMarginRight(String marginRight);
202
203
204
205
206
207 @TagAttribute()
208 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
209 void setMarginTop(String marginTop);
210
211
212
213
214
215 @TagAttribute()
216 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
217 void setMarginBottom(String marginBottom);
218
219
220
221
222
223 @TagAttribute()
224 @UIComponentTagAttribute(
225 type = "org.apache.myfaces.tobago.layout.Overflow",
226 allowedValues = {Overflow.AUTO, Overflow.SCROLL, Overflow.HIDDEN})
227 void setOverflowX(String overflowX);
228
229
230
231
232
233 @TagAttribute()
234 @UIComponentTagAttribute(
235 type = "org.apache.myfaces.tobago.layout.Overflow",
236 allowedValues = {Overflow.AUTO, Overflow.SCROLL, Overflow.HIDDEN})
237 void setOverflowY(String overflowY);
238
239
240
241
242
243
244 @TagAttribute()
245 @UIComponentTagAttribute(
246 type = "org.apache.myfaces.tobago.layout.Display",
247 allowedValues = {Display.BLOCK, Display.INLINE, Display.GRID, Display.NONE})
248 void setDisplay(String display);
249
250
251
252
253
254 @TagAttribute()
255 @UIComponentTagAttribute(
256 type = "org.apache.myfaces.tobago.layout.Position",
257 allowedValues = {Position.ABSOLUTE, Position.RELATIVE, Position.FIXED})
258 void setPosition(String position);
259
260
261
262
263
264
265
266
267
268
269 @TagAttribute
270 @UIComponentTagAttribute(
271 type = {"org.apache.myfaces.tobago.layout.TextAlign"},
272 allowedValues = {
273 TextAlign.LEFT, TextAlign.RIGHT, TextAlign.CENTER, TextAlign.JUSTIFY
274 })
275 void setTextAlign(String textAlign);
276
277
278
279
280
281
282 @TagAttribute
283 @UIComponentTagAttribute
284 void setBackgroundImage(String backgroundImage);
285
286
287
288
289
290
291 @TagAttribute
292 @UIComponentTagAttribute(type = "java.lang.Number")
293 void setFlexGrow(String flexGrow);
294
295
296
297
298
299
300 @TagAttribute
301 @UIComponentTagAttribute(type = "java.lang.Number")
302 void setFlexShrink(String flexShrink);
303
304
305
306
307
308
309 @TagAttribute
310 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
311 void setFlexBasis(String flexBasis);
312
313
314
315
316
317
318 @TagAttribute
319 @UIComponentTagAttribute
320 void setGridTemplateColumns(String gridTemplateColumns);
321
322
323
324
325
326
327 @TagAttribute
328 @UIComponentTagAttribute
329 void setGridTemplateRows(String gridTemplateRows);
330
331
332
333
334
335
336 @TagAttribute
337 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.GridSpan")
338 void setGridColumn(String gridColumn);
339
340
341
342
343
344
345 @TagAttribute
346 @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.GridSpan")
347 void setGridRow(String gridRow);
348
349
350
351
352 @Override
353 void setRendered(String rendered);
354 }