View Javadoc

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.column;
20  
21  import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
22  
23  /**
24   * @author Mathias Broekelmann (latest modification by $Author$)
25   * @version $Revision$ $Date$
26   */
27  public interface HtmlColumn
28  {
29      /**
30       * 
31       */
32      @JSFProperty
33      String getFooterdir();
34  
35      void setFooterdir(String footerdir);
36  
37      /**
38       * 
39       */
40      @JSFProperty
41      String getFooterlang();
42  
43      void setFooterlang(String footerlang);
44  
45      /**
46       * 
47       */
48      @JSFProperty(clientEvent="footerclick")
49      String getFooteronclick();
50  
51      void setFooteronclick(String footeronclick);
52  
53      /**
54       * 
55       */
56      @JSFProperty(clientEvent="footerdblclick")
57      String getFooterondblclick();
58  
59      void setFooterondblclick(String footerondblclick);
60  
61      /**
62       * 
63       */
64      @JSFProperty(clientEvent="footerkeydown")
65      String getFooteronkeydown();
66  
67      void setFooteronkeydown(String footeronkeydown);
68  
69      /**
70       * 
71       */
72      @JSFProperty(clientEvent="footerkeypress")
73      String getFooteronkeypress();
74  
75      void setFooteronkeypress(String footeronkeypress);
76  
77      /**
78       * 
79       */
80      @JSFProperty(clientEvent="footerkeyup")
81      String getFooteronkeyup();
82  
83      void setFooteronkeyup(String footeronkeyup);
84  
85      /**
86       * 
87       */
88      @JSFProperty(clientEvent="footermousedown")
89      String getFooteronmousedown();
90  
91      void setFooteronmousedown(String footeronmousedown);
92  
93      /**
94       * 
95       */
96      @JSFProperty(clientEvent="footermousemove")
97      String getFooteronmousemove();
98  
99      void setFooteronmousemove(String footeronmousemove);
100 
101     /**
102      * 
103      */
104     @JSFProperty(clientEvent="footermouseout")
105     String getFooteronmouseout();
106 
107     void setFooteronmouseout(String footeronmouseout);
108 
109     /**
110      * 
111      */
112     @JSFProperty(clientEvent="footermouseover")
113     String getFooteronmouseover();
114 
115     void setFooteronmouseover(String footeronmouseover);
116 
117     /**
118      * 
119      */
120     @JSFProperty(clientEvent="footermouseup")
121     String getFooteronmouseup();
122 
123     void setFooteronmouseup(String footeronmouseup);
124 
125     /**
126      * 
127      */
128     @JSFProperty
129     String getFooterstyle();
130 
131     void setFooterstyle(String footerstyle);
132 
133     /**
134      * Corresponds to the HTML class attribute.
135      * 
136      * 
137      */
138     @JSFProperty
139     String getFooterstyleClass();
140 
141     void setFooterstyleClass(String footerstyleClass);
142 
143     /**
144      * 
145      */
146     @JSFProperty
147     String getFootertitle();
148 
149     void setFootertitle(String footertitle);
150 
151     /**
152      * 
153      */
154     @JSFProperty
155     String getHeaderdir();
156 
157     void setHeaderdir(String headerdir);
158 
159     /**
160      * 
161      */
162     @JSFProperty
163     String getHeaderlang();
164 
165     void setHeaderlang(String headerlang);
166 
167     /**
168      * 
169      */
170     @JSFProperty(clientEvent="headerclick")
171     String getHeaderonclick();
172 
173     void setHeaderonclick(String headeronclick);
174 
175     /**
176      * 
177      */
178     @JSFProperty(clientEvent="headerdblclick")
179     String getHeaderondblclick();
180 
181     void setHeaderondblclick(String headerondblclick);
182 
183     /**
184      * 
185      */
186     @JSFProperty(clientEvent="headerkeydown")
187     String getHeaderonkeydown();
188 
189     void setHeaderonkeydown(String headeronkeydown);
190 
191     /**
192      * 
193      */
194     @JSFProperty(clientEvent="headerkeypress")
195     String getHeaderonkeypress();
196 
197     void setHeaderonkeypress(String headeronkeypress);
198 
199     /**
200      * 
201      */
202     @JSFProperty(clientEvent="headerkeyup")
203     String getHeaderonkeyup();
204 
205     void setHeaderonkeyup(String headeronkeyup);
206 
207     /**
208      * 
209      */
210     @JSFProperty(clientEvent="headermousedown")
211     String getHeaderonmousedown();
212 
213     void setHeaderonmousedown(String headeronmousedown);
214 
215     /**
216      * 
217      */
218     @JSFProperty(clientEvent="headermousemove")
219     String getHeaderonmousemove();
220 
221     void setHeaderonmousemove(String headeronmousemove);
222 
223     /**
224      * 
225      */
226     @JSFProperty(clientEvent="headermouseout")
227     String getHeaderonmouseout();
228 
229     void setHeaderonmouseout(String headeronmouseout);
230 
231     /**
232      * 
233      */
234     @JSFProperty(clientEvent="headermouseover")
235     String getHeaderonmouseover();
236 
237     void setHeaderonmouseover(String headeronmouseover);
238 
239     /**
240      * 
241      */
242     @JSFProperty(clientEvent="headermouseup")
243     String getHeaderonmouseup();
244 
245     void setHeaderonmouseup(String headeronmouseup);
246 
247     /**
248      * 
249      */
250     @JSFProperty
251     String getHeaderstyle();
252 
253     void setHeaderstyle(String headerstyle);
254 
255     /**
256      * Corresponds to the HTML class attribute.
257      * 
258      */
259     @JSFProperty
260     String getHeaderstyleClass();
261 
262     void setHeaderstyleClass(String headerstyleClass);
263 
264     /**
265      * 
266      */
267     @JSFProperty
268     String getHeadertitle();
269 
270     void setHeadertitle(String headertitle);
271 
272     /**
273      * HTML: The direction of text display, either 'ltr' 
274      * (left-to-right) or 'rtl' (right-to-left).
275      * 
276      */
277     @JSFProperty
278     String getDir();
279 
280     void setDir(String dir);
281 
282     /**
283      * HTML: The base language of this document.
284      * 
285      */
286     @JSFProperty
287     String getLang();
288 
289     void setLang(String lang);
290 
291     /**
292      * HTML: Script to be invoked when the element is clicked.
293      * 
294      */
295     @JSFProperty(clientEvent="click")
296     public String getOnclick();
297 
298     void setOnclick(String onclick);
299     
300     /**
301      * HTML: Script to be invoked when the element is double-clicked.
302      * 
303      */
304     @JSFProperty(clientEvent="dblclick")
305     public String getOndblclick();
306 
307     void setOndblclick(String ondblclick);
308 
309     /**
310      * HTML: Script to be invoked when a key is pressed down over this element.
311      * 
312      */
313     @JSFProperty(clientEvent="keydown")
314     public String getOnkeydown();
315 
316     void setOnkeydown(String onkeydown);
317 
318     /**
319      * HTML: Script to be invoked when a key is pressed over this element.
320      * 
321      */
322     @JSFProperty(clientEvent="keypress")
323     public String getOnkeypress();
324 
325     void setOnkeypress(String onkeypress);
326 
327     /**
328      * HTML: Script to be invoked when a key is released over this element.
329      * 
330      */
331     @JSFProperty(clientEvent="keyup")
332     public String getOnkeyup();
333 
334     void setOnkeyup(String onkeyup);
335 
336     /**
337      * HTML: Script to be invoked when the pointing device is pressed over this element.
338      * 
339      */
340     @JSFProperty(clientEvent="mousedown")
341     public String getOnmousedown();
342 
343     void setOnmousedown(String onmousedown);
344 
345     /**
346      * HTML: Script to be invoked when the pointing device is moved while it is in this element.
347      * 
348      */
349     @JSFProperty(clientEvent="mousemove")
350     public String getOnmousemove();
351 
352     void setOnmousemove(String onmousemove);
353 
354     /**
355      * HTML: Script to be invoked when the pointing device is moves out of this element.
356      * 
357      */
358     @JSFProperty(clientEvent="mouseout")
359     public String getOnmouseout();
360 
361     void setOnmouseout(String onmouseout);
362 
363     /**
364      * HTML: Script to be invoked when the pointing device is moved into this element.
365      * 
366      */
367     @JSFProperty(clientEvent="mouseover")
368     public String getOnmouseover();
369 
370     void setOnmouseover(String onmouseover);
371 
372     /**
373      * HTML: Script to be invoked when the pointing device is released over this element.
374      * 
375      */
376     @JSFProperty(clientEvent="mouseup")
377     public String getOnmouseup();
378     
379     void setOnmouseup(String onmouseup);
380 
381     /**
382      * HTML: CSS styling instructions.
383      * 
384      */
385     @JSFProperty
386     String getStyle();
387 
388     void setStyle(String style);
389 
390     /**
391      * The CSS class for this element. Corresponds to the HTML 'class' attribute.
392      * 
393      */
394     @JSFProperty
395     String getStyleClass();
396 
397     void setStyleClass(String styleClass);
398 
399     /**
400      *  HTML: An advisory title for this element. Often used by 
401      *  the user agent as a tooltip.
402      * 
403      */
404     @JSFProperty
405     String getTitle();
406 
407     void setTitle(String title);
408 
409     /**
410      * This attribute can be used to set the width of the elements.
411      * 
412      */
413     @JSFProperty
414     String getWidth();
415 
416     void setWidth(String width);
417 
418     /**
419      * This attribute specifies the colspan attribute for the cell
420      * 
421      */
422     @JSFProperty
423     String getColspan();
424 
425     void setColspan(String colspan);
426 
427     /**
428      * 
429      */
430     @JSFProperty
431     String getHeadercolspan();
432 
433     void setHeadercolspan(String headercolspan);
434 
435     /**
436      * 
437      */
438     @JSFProperty
439     String getFootercolspan();
440 
441     void setFootercolspan(String footercolspan);
442 
443     /**
444      * The columnId which will be used as id for the column header. 
445      * Notice: As the rowId on t:datatable this will not add 
446      * any namespace to the id. The id will be rendered exactly 
447      * as you provide it.
448      * 
449      */
450     @JSFProperty
451     String getColumnId();
452 
453     void setColumnId(String columnId);
454 }