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.component.AbstractUIFlowLayout;
28 import org.apache.myfaces.tobago.internal.taglib.declaration.HasIdBindingAndRendered;
29 import org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual;
30 import org.apache.myfaces.tobago.layout.TextAlign;
31
32
33
34
35 @Tag(name = "flowLayout")
36 @UIComponentTag(
37 uiComponent = "org.apache.myfaces.tobago.component.UIFlowLayout",
38 componentFamily = AbstractUIFlowLayout.COMPONENT_FAMILY,
39 rendererType = RendererTypes.FLOW_LAYOUT,
40 interfaces = {
41
42 "javax.faces.component.behavior.ClientBehaviorHolder"
43 },
44 allowedChildComponenents = "NONE")
45 public interface FlowLayoutTagDeclaration
46 extends HasIdBindingAndRendered, IsVisual {
47
48
49
50
51
52
53
54
55
56
57 @TagAttribute
58 @UIComponentTagAttribute(
59 type = {"org.apache.myfaces.tobago.layout.TextAlign"},
60 allowedValues = {
61 TextAlign.LEFT, TextAlign.RIGHT, TextAlign.CENTER, TextAlign.JUSTIFY
62 })
63 void setTextAlign(String textAlign);
64
65 }