1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19 package org.apache.myfaces.custom.table;
20
21 import javax.faces.component.UIData;
22
23 /**
24 * @JSFComponent
25 * name = "s:filterTable"
26 * class = "org.apache.myfaces.custom.table.FilterTable"
27 * tagClass = "org.apache.myfaces.custom.table.FilterTableTag"
28 *
29 * @author Thomas Spiegl
30 */
31 public abstract class AbstractFilterTable extends UIData {
32
33 public static final String COMPONENT_TYPE = "org.apache.myfaces.FilterTable";
34 public static final String COMPONENT_FAMILY = "javax.faces.Data";
35 public static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.FilterTable";
36
37 /**
38 * CSS style class attribute
39 *
40 * @JSFProperty
41 */
42 public abstract String getStyleClass();
43
44 /**
45 * default=fixedHeader see http://dojotoolkit.org filterTable
46 *
47 * @JSFProperty
48 */
49 public abstract String getHeadClass();
50
51 /**
52 * default=scrollContent see http://dojotoolkit.org filterTable
53 *
54 * @JSFProperty
55 */
56 public abstract String getTbodyClass();
57
58 /**
59 * default=true see http://dojotoolkit.org filterTable
60 *
61 * @JSFProperty
62 */
63 public abstract Boolean getMultiple();
64
65 /**
66 * default=true see http://dojotoolkit.org filterTable
67 *
68 * @JSFProperty
69 */
70 public abstract Boolean getAlternateRows();
71
72 /**
73 * default=1 see http://dojotoolkit.org filterTable
74 *
75 * @JSFProperty
76 */
77 public abstract Integer getMaxSortable();
78
79 /**
80 * default=0
81 *
82 * @JSFProperty
83 */
84 public abstract Integer getCellpadding();
85
86 /**
87 * default=0
88 *
89 * @JSFProperty
90 */
91 public abstract Integer getCellspacing();
92
93 /**
94 * default=0
95 *
96 * @JSFProperty
97 */
98 public abstract Integer getBorder();
99 }