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.Behavior;
23 import org.apache.myfaces.tobago.apt.annotation.DynamicExpression;
24 import org.apache.myfaces.tobago.apt.annotation.Tag;
25 import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
26 import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
27 import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
28 import org.apache.myfaces.tobago.component.ClientBehaviors;
29 import org.apache.myfaces.tobago.component.RendererTypes;
30 import org.apache.myfaces.tobago.internal.taglib.declaration.HasIdBindingAndRendered;
31 import org.apache.myfaces.tobago.internal.taglib.declaration.HasTip;
32 import org.apache.myfaces.tobago.internal.taglib.declaration.IsVisual;
33
34 import javax.faces.component.UIOutput;
35
36
37
38
39 @Tag(name = "progress")
40 @UIComponentTag(
41 uiComponent = "org.apache.myfaces.tobago.component.UIProgress",
42 uiComponentFacesClass = "javax.faces.component.UIOutput",
43 componentFamily = UIOutput.COMPONENT_FAMILY,
44 rendererType = RendererTypes.PROGRESS,
45 allowedChildComponenents = "NONE",
46 behaviors = {
47 @Behavior(
48 name = ClientBehaviors.COMPLETE,
49 isDefault = true)
50 }
51 )
52
53 public interface ProgressTagDeclaration extends HasIdBindingAndRendered, HasTip, IsVisual {
54
55
56
57
58 @TagAttribute
59 @UIComponentTagAttribute(
60 type = {"javax.swing.BoundedRangeModel", "java.lang.Double"},
61 expression = DynamicExpression.VALUE_EXPRESSION_REQUIRED)
62 void setValue(String value);
63
64
65
66
67 @TagAttribute
68 @UIComponentTagAttribute(
69 type = {"java.lang.Double"})
70 void setMax(String max);
71 }