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.BodyContent;
23 import org.apache.myfaces.tobago.apt.annotation.Tag;
24 import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
25 import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
26 import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
27 import org.apache.myfaces.tobago.component.RendererTypes;
28 import org.apache.myfaces.tobago.internal.taglib.declaration.HasBorder;
29 import org.apache.myfaces.tobago.internal.taglib.declaration.HasCurrentMarkup;
30 import org.apache.myfaces.tobago.internal.taglib.declaration.HasIdBindingAndRendered;
31 import org.apache.myfaces.tobago.internal.taglib.declaration.HasMarkup;
32 import org.apache.myfaces.tobago.internal.taglib.declaration.HasTip;
33 import org.apache.myfaces.tobago.internal.taglib.declaration.IsDisabled;
34 import org.apache.myfaces.tobago.internal.taglib.declaration.IsGridLayoutComponentWithDimension;
35 import org.apache.myfaces.tobago.internal.taglib.declaration.IsGridLayoutContainer;
36
37 import javax.faces.component.UIGraphic;
38
39
40
41
42 @Tag(name = "image", bodyContent = BodyContent.JSP)
43 @UIComponentTag(
44 uiComponent = "org.apache.myfaces.tobago.component.UIImage",
45 uiComponentBaseClass = "org.apache.myfaces.tobago.internal.component.AbstractUIImage",
46 uiComponentFacesClass = "javax.faces.component.UIGraphic",
47 componentFamily = UIGraphic.COMPONENT_FAMILY,
48 rendererType = RendererTypes.IMAGE,
49 allowedChildComponenents = "NONE")
50 public interface ImageTagDeclaration
51 extends HasIdBindingAndRendered, HasBorder, HasTip, IsDisabled, HasMarkup, HasCurrentMarkup,
52 IsGridLayoutComponentWithDimension, IsGridLayoutContainer {
53
54
55
56
57 @TagAttribute(required = true)
58 @UIComponentTagAttribute()
59 void setValue(String value);
60
61
62
63
64 @TagAttribute
65 @UIComponentTagAttribute()
66 void setAlt(String alt);
67
68 }