1 package org.rcfaces.core.component;
2
3 import org.rcfaces.core.internal.component.Properties;
4 import org.rcfaces.core.component.ImageButtonComponent;
5 import org.apache.commons.logging.Log;
6 import java.util.HashSet;
7 import org.apache.commons.logging.LogFactory;
8 import java.util.Arrays;
9 import java.util.Set;
10
11 /**
12 * <p>The imageResetButton Component is a <a href="/comps/resetButtonComponent.html">resetButton Component</a> that can show an image.</p>
13 * <p>The imageResetButton Component has the following capabilities :
14 * <ul>
15 * <li>IImageButtonFamilly </li>
16 * </ul>
17 * </p>
18 *
19 * <p>The default <a href="/apidocs/index.html?org/rcfaces/core/component/ImageResetButtonComponent.html">imageResetButton</a> renderer is linked to the <a href="/jsdocs/index.html?f_imageResetButton.html" target="_blank">f_imageResetButton</a> javascript class. f_imageResetButton extends f_imageButton</p>
20 *
21 * <p> Table of component style classes: </p>
22 * <table border="1" cellpadding="3" cellspacing="0" width="100%">
23 * <tbody>
24 *
25 * <tr style="text-align:left">
26 * <th width="33%">Style Name</th>
27 * <th width="50%">Description</th>
28 * </tr>
29 *
30 * <tr style="text-align:left">
31 * <td width="33%">f_imageResetButton</td>
32 * <td width="50%">Defines styles for the wrapper A element</td>
33 * </tr>
34 *
35 * <tr style="text-align:left">
36 * <td width="33%">f_imageResetButton_image</td>
37 * <td width="50%">Defines styles for the IMG element</td>
38 * </tr>
39 *
40 * </tbody>
41 * </table>
42 */
43 public class ImageResetButtonComponent extends ImageButtonComponent {
44
45 private static final Log LOG = LogFactory.getLog(ImageResetButtonComponent.class);
46
47 public static final String COMPONENT_TYPE="org.rcfaces.core.imageResetButton";
48
49
50 public ImageResetButtonComponent() {
51 setRendererType(COMPONENT_TYPE);
52 }
53
54 public ImageResetButtonComponent(String componentId) {
55 this();
56 setId(componentId);
57 }
58
59 protected Set getCameliaFields() {
60 return CAMELIA_ATTRIBUTES;
61 }
62 }