View Javadoc

1   package org.rcfaces.core.component;
2   
3   import org.rcfaces.core.component.capability.IVisibilityCapability;
4   import org.rcfaces.core.component.capability.ICellToolTipTextCapability;
5   import org.rcfaces.core.internal.component.Properties;
6   import org.rcfaces.core.internal.capability.IAsyncRenderComponent;
7   import org.rcfaces.core.component.capability.IStatesImageCapability;
8   import org.rcfaces.core.component.capability.IUserEventCapability;
9   import org.rcfaces.core.component.capability.IMenuPopupIdCapability;
10  import org.rcfaces.core.component.capability.IImageSizeCapability;
11  import org.apache.commons.logging.LogFactory;
12  import org.rcfaces.core.component.capability.IResizableCapability;
13  import javax.faces.context.FacesContext;
14  import org.rcfaces.core.component.capability.ICellStyleClassCapability;
15  import org.rcfaces.core.internal.capability.ICellToolTipTextSettings;
16  import org.rcfaces.core.component.capability.IToolTipCapability;
17  import org.apache.commons.logging.Log;
18  import org.rcfaces.core.internal.capability.ICellStyleClassSettings;
19  import java.util.Set;
20  import org.rcfaces.core.component.capability.IInitEventCapability;
21  import org.rcfaces.core.internal.converter.OrderConverter;
22  import org.rcfaces.core.component.capability.IDoubleClickEventCapability;
23  import org.rcfaces.core.component.capability.IOrderCapability;
24  import org.rcfaces.core.component.capability.ISelectionEventCapability;
25  import org.rcfaces.core.component.familly.IContentAccessors;
26  import java.lang.String;
27  import org.rcfaces.core.component.capability.IForegroundBackgroundColorCapability;
28  import org.rcfaces.core.component.capability.ISortComparatorCapability;
29  import org.rcfaces.core.component.capability.IHiddenModeCapability;
30  import org.rcfaces.core.internal.tools.ImageAccessorTools;
31  import org.rcfaces.core.internal.component.CameliaColumnComponent;
32  import org.rcfaces.core.internal.converter.AlignmentNormalizer;
33  import org.rcfaces.core.component.capability.ITextDirectionCapability;
34  import org.rcfaces.core.component.capability.IAlignmentCapability;
35  import javax.el.ValueExpression;
36  import org.rcfaces.core.component.capability.ISortEventCapability;
37  import java.util.HashSet;
38  import org.rcfaces.core.component.capability.IWidthRangeCapability;
39  import org.rcfaces.core.component.capability.IStyleClassCapability;
40  import java.util.Arrays;
41  import org.rcfaces.core.internal.converter.HiddenModeConverter;
42  import org.rcfaces.core.internal.capability.IImageAccessorsCapability;
43  import org.rcfaces.core.component.capability.IVerticalAlignmentCapability;
44  import org.rcfaces.core.component.capability.ITextCapability;
45  
46  public class ComponentsColumnComponent extends CameliaColumnComponent implements 
47  	IVisibilityCapability,
48  	IHiddenModeCapability,
49  	ITextCapability,
50  	ITextDirectionCapability,
51  	IToolTipCapability,
52  	IAlignmentCapability,
53  	IForegroundBackgroundColorCapability,
54  	ISortEventCapability,
55  	IStyleClassCapability,
56  	IOrderCapability,
57  	ISortComparatorCapability,
58  	IResizableCapability,
59  	IStatesImageCapability,
60  	IImageSizeCapability,
61  	IMenuPopupIdCapability,
62  	IWidthRangeCapability,
63  	IVerticalAlignmentCapability,
64  	ICellStyleClassCapability,
65  	ICellToolTipTextCapability,
66  	ISelectionEventCapability,
67  	IDoubleClickEventCapability,
68  	IUserEventCapability,
69  	IInitEventCapability,
70  	IImageAccessorsCapability,
71  	ICellStyleClassSettings,
72  	ICellToolTipTextSettings,
73  	IAsyncRenderComponent {
74  
75  	private static final Log LOG = LogFactory.getLog(ComponentsColumnComponent.class);
76  
77  	public static final String COMPONENT_TYPE="org.rcfaces.core.componentsColumn";
78  
79  	protected static final Set CAMELIA_ATTRIBUTES=new HashSet(CameliaColumnComponent.CAMELIA_ATTRIBUTES);
80  	static {
81  		CAMELIA_ATTRIBUTES.addAll(Arrays.asList(new String[] {"disabledImageURL","alignment","menuPopupId","visible","backgroundColor","minWidth","sortComparator","cellStyleClass","selectedImageURL","selectionListener","hiddenMode","defaultCellStyleClass","maxWidth","resizable","ascending","foregroundColor","imageHeight","text","cellToolTipText","userEventListener","styleClass","hoverImageURL","width","doubleClickListener","cellDefaultToolTipText","initListener","textDirection","verticalAlignment","sortListener","toolTipText","imageURL","imageWidth"}));
82  	}
83  
84  	public ComponentsColumnComponent() {
85  		setRendererType(null);
86  	}
87  
88  	public ComponentsColumnComponent(String componentId) {
89  		this();
90  		setId(componentId);
91  	}
92  
93  	public IContentAccessors getImageAccessors(FacesContext facesContext) {
94  
95  
96  			return ImageAccessorTools.createImageAccessors(facesContext, this, engine);
97  		
98  	}
99  
100 	public Boolean getVisibleState(FacesContext facesContext) {
101 
102 
103 			if (engine.isPropertySetted(Properties.VISIBLE)==false) {
104 				return null;
105 			}
106 			
107 			return Boolean.valueOf(isVisible(facesContext));
108 		
109 	}
110 
111 	public void setHiddenMode(String hiddenMode) {
112 
113 
114 			setHiddenMode(((Integer)HiddenModeConverter.SINGLETON.getAsObject(null, this, hiddenMode)).intValue());
115 		
116 	}
117 
118 	public void setAscending(String order) {
119 
120 
121 			setAscending(((Boolean)OrderConverter.SINGLETON.getAsObject(null, this, order)).booleanValue());
122 		
123 	}
124 
125 	public boolean isVisible() {
126 		return isVisible(null);
127 	}
128 
129 	/**
130 	 * See {@link #isVisible() isVisible()} for more details
131 	 */
132 	public boolean isVisible(javax.faces.context.FacesContext facesContext) {
133 		return engine.getBoolProperty(Properties.VISIBLE, true, facesContext);
134 	}
135 
136 	/**
137 	 * Returns <code>true</code> if the attribute "visible" is set.
138 	 * @return <code>true</code> if the attribute is set.
139 	 */
140 	public final boolean isVisibleSetted() {
141 		return engine.isPropertySetted(Properties.VISIBLE);
142 	}
143 
144 	public void setVisible(boolean visible) {
145 		engine.setProperty(Properties.VISIBLE, visible);
146 	}
147 
148 	public Boolean getVisibleState() {
149 
150 
151 			return getVisibleState(null);
152 		
153 	}
154 
155 	public int getHiddenMode() {
156 		return getHiddenMode(null);
157 	}
158 
159 	/**
160 	 * See {@link #getHiddenMode() getHiddenMode()} for more details
161 	 */
162 	public int getHiddenMode(javax.faces.context.FacesContext facesContext) {
163 		return engine.getIntProperty(Properties.HIDDEN_MODE,IHiddenModeCapability.DEFAULT_HIDDEN_MODE, facesContext);
164 	}
165 
166 	/**
167 	 * Returns <code>true</code> if the attribute "hiddenMode" is set.
168 	 * @return <code>true</code> if the attribute is set.
169 	 */
170 	public final boolean isHiddenModeSetted() {
171 		return engine.isPropertySetted(Properties.HIDDEN_MODE);
172 	}
173 
174 	public void setHiddenMode(int hiddenMode) {
175 		engine.setProperty(Properties.HIDDEN_MODE, hiddenMode);
176 	}
177 
178 	public java.lang.String getText() {
179 		return getText(null);
180 	}
181 
182 	/**
183 	 * See {@link #getText() getText()} for more details
184 	 */
185 	public java.lang.String getText(javax.faces.context.FacesContext facesContext) {
186 		return engine.getStringProperty(Properties.TEXT, facesContext);
187 	}
188 
189 	/**
190 	 * Returns <code>true</code> if the attribute "text" is set.
191 	 * @return <code>true</code> if the attribute is set.
192 	 */
193 	public final boolean isTextSetted() {
194 		return engine.isPropertySetted(Properties.TEXT);
195 	}
196 
197 	public void setText(java.lang.String text) {
198 		engine.setProperty(Properties.TEXT, text);
199 	}
200 
201 	public int getTextDirection() {
202 		return getTextDirection(null);
203 	}
204 
205 	/**
206 	 * See {@link #getTextDirection() getTextDirection()} for more details
207 	 */
208 	public int getTextDirection(javax.faces.context.FacesContext facesContext) {
209 		return engine.getIntProperty(Properties.TEXT_DIRECTION,0, facesContext);
210 	}
211 
212 	/**
213 	 * Returns <code>true</code> if the attribute "textDirection" is set.
214 	 * @return <code>true</code> if the attribute is set.
215 	 */
216 	public final boolean isTextDirectionSetted() {
217 		return engine.isPropertySetted(Properties.TEXT_DIRECTION);
218 	}
219 
220 	public void setTextDirection(int textDirection) {
221 		engine.setProperty(Properties.TEXT_DIRECTION, textDirection);
222 	}
223 
224 	public java.lang.String getToolTipText() {
225 		return getToolTipText(null);
226 	}
227 
228 	/**
229 	 * See {@link #getToolTipText() getToolTipText()} for more details
230 	 */
231 	public java.lang.String getToolTipText(javax.faces.context.FacesContext facesContext) {
232 		return engine.getStringProperty(Properties.TOOL_TIP_TEXT, facesContext);
233 	}
234 
235 	/**
236 	 * Returns <code>true</code> if the attribute "toolTipText" is set.
237 	 * @return <code>true</code> if the attribute is set.
238 	 */
239 	public final boolean isToolTipTextSetted() {
240 		return engine.isPropertySetted(Properties.TOOL_TIP_TEXT);
241 	}
242 
243 	public void setToolTipText(java.lang.String toolTipText) {
244 		engine.setProperty(Properties.TOOL_TIP_TEXT, toolTipText);
245 	}
246 
247 	public java.lang.String getAlignment() {
248 		return getAlignment(null);
249 	}
250 
251 	/**
252 	 * See {@link #getAlignment() getAlignment()} for more details
253 	 */
254 	public java.lang.String getAlignment(javax.faces.context.FacesContext facesContext) {
255 		return engine.getStringProperty(Properties.ALIGNMENT, facesContext);
256 	}
257 
258 	/**
259 	 * Returns <code>true</code> if the attribute "alignment" is set.
260 	 * @return <code>true</code> if the attribute is set.
261 	 */
262 	public final boolean isAlignmentSetted() {
263 		return engine.isPropertySetted(Properties.ALIGNMENT);
264 	}
265 
266 	public void setAlignment(String alignment) {
267 
268 
269 			engine.setProperty(Properties.ALIGNMENT, AlignmentNormalizer.normalize(alignment));
270     	
271 	}
272 
273 	public java.lang.String getBackgroundColor() {
274 		return getBackgroundColor(null);
275 	}
276 
277 	/**
278 	 * See {@link #getBackgroundColor() getBackgroundColor()} for more details
279 	 */
280 	public java.lang.String getBackgroundColor(javax.faces.context.FacesContext facesContext) {
281 		return engine.getStringProperty(Properties.BACKGROUND_COLOR, facesContext);
282 	}
283 
284 	/**
285 	 * Returns <code>true</code> if the attribute "backgroundColor" is set.
286 	 * @return <code>true</code> if the attribute is set.
287 	 */
288 	public final boolean isBackgroundColorSetted() {
289 		return engine.isPropertySetted(Properties.BACKGROUND_COLOR);
290 	}
291 
292 	public void setBackgroundColor(java.lang.String backgroundColor) {
293 		engine.setProperty(Properties.BACKGROUND_COLOR, backgroundColor);
294 	}
295 
296 	public java.lang.String getForegroundColor() {
297 		return getForegroundColor(null);
298 	}
299 
300 	/**
301 	 * See {@link #getForegroundColor() getForegroundColor()} for more details
302 	 */
303 	public java.lang.String getForegroundColor(javax.faces.context.FacesContext facesContext) {
304 		return engine.getStringProperty(Properties.FOREGROUND_COLOR, facesContext);
305 	}
306 
307 	/**
308 	 * Returns <code>true</code> if the attribute "foregroundColor" is set.
309 	 * @return <code>true</code> if the attribute is set.
310 	 */
311 	public final boolean isForegroundColorSetted() {
312 		return engine.isPropertySetted(Properties.FOREGROUND_COLOR);
313 	}
314 
315 	public void setForegroundColor(java.lang.String foregroundColor) {
316 		engine.setProperty(Properties.FOREGROUND_COLOR, foregroundColor);
317 	}
318 
319 	public final void addSortListener(org.rcfaces.core.event.ISortListener listener) {
320 		addFacesListener(listener);
321 	}
322 
323 	public final void removeSortListener(org.rcfaces.core.event.ISortListener listener) {
324 		removeFacesListener(listener);
325 	}
326 
327 	public final javax.faces.event.FacesListener [] listSortListeners() {
328 		return getFacesListeners(org.rcfaces.core.event.ISortListener.class);
329 	}
330 
331 	public java.lang.String getStyleClass() {
332 		return getStyleClass(null);
333 	}
334 
335 	/**
336 	 * See {@link #getStyleClass() getStyleClass()} for more details
337 	 */
338 	public java.lang.String getStyleClass(javax.faces.context.FacesContext facesContext) {
339 		return engine.getStringProperty(Properties.STYLE_CLASS, facesContext);
340 	}
341 
342 	/**
343 	 * Returns <code>true</code> if the attribute "styleClass" is set.
344 	 * @return <code>true</code> if the attribute is set.
345 	 */
346 	public final boolean isStyleClassSetted() {
347 		return engine.isPropertySetted(Properties.STYLE_CLASS);
348 	}
349 
350 	public void setStyleClass(java.lang.String styleClass) {
351 		engine.setProperty(Properties.STYLE_CLASS, styleClass);
352 	}
353 
354 	public boolean isAscending() {
355 		return isAscending(null);
356 	}
357 
358 	/**
359 	 * See {@link #isAscending() isAscending()} for more details
360 	 */
361 	public boolean isAscending(javax.faces.context.FacesContext facesContext) {
362 		return engine.getBoolProperty(Properties.ASCENDING, false, facesContext);
363 	}
364 
365 	/**
366 	 * Returns <code>true</code> if the attribute "ascending" is set.
367 	 * @return <code>true</code> if the attribute is set.
368 	 */
369 	public final boolean isAscendingSetted() {
370 		return engine.isPropertySetted(Properties.ASCENDING);
371 	}
372 
373 	public void setAscending(boolean ascending) {
374 		engine.setProperty(Properties.ASCENDING, ascending);
375 	}
376 
377 	public java.util.Comparator getSortComparator() {
378 		return getSortComparator(null);
379 	}
380 
381 	/**
382 	 * See {@link #getSortComparator() getSortComparator()} for more details
383 	 */
384 	public java.util.Comparator getSortComparator(javax.faces.context.FacesContext facesContext) {
385 		return (java.util.Comparator)engine.getProperty(Properties.SORT_COMPARATOR, facesContext);
386 	}
387 
388 	/**
389 	 * Returns <code>true</code> if the attribute "sortComparator" is set.
390 	 * @return <code>true</code> if the attribute is set.
391 	 */
392 	public final boolean isSortComparatorSetted() {
393 		return engine.isPropertySetted(Properties.SORT_COMPARATOR);
394 	}
395 
396 	public void setSortComparator(java.util.Comparator sortComparator) {
397 		engine.setProperty(Properties.SORT_COMPARATOR, sortComparator);
398 	}
399 
400 	public boolean isResizable() {
401 		return isResizable(null);
402 	}
403 
404 	/**
405 	 * See {@link #isResizable() isResizable()} for more details
406 	 */
407 	public boolean isResizable(javax.faces.context.FacesContext facesContext) {
408 		return engine.getBoolProperty(Properties.RESIZABLE, false, facesContext);
409 	}
410 
411 	/**
412 	 * Returns <code>true</code> if the attribute "resizable" is set.
413 	 * @return <code>true</code> if the attribute is set.
414 	 */
415 	public final boolean isResizableSetted() {
416 		return engine.isPropertySetted(Properties.RESIZABLE);
417 	}
418 
419 	public void setResizable(boolean resizable) {
420 		engine.setProperty(Properties.RESIZABLE, resizable);
421 	}
422 
423 	public java.lang.String getDisabledImageURL() {
424 		return getDisabledImageURL(null);
425 	}
426 
427 	/**
428 	 * See {@link #getDisabledImageURL() getDisabledImageURL()} for more details
429 	 */
430 	public java.lang.String getDisabledImageURL(javax.faces.context.FacesContext facesContext) {
431 		return engine.getStringProperty(Properties.DISABLED_IMAGE_URL, facesContext);
432 	}
433 
434 	/**
435 	 * Returns <code>true</code> if the attribute "disabledImageURL" is set.
436 	 * @return <code>true</code> if the attribute is set.
437 	 */
438 	public final boolean isDisabledImageURLSetted() {
439 		return engine.isPropertySetted(Properties.DISABLED_IMAGE_URL);
440 	}
441 
442 	public void setDisabledImageURL(java.lang.String disabledImageURL) {
443 		engine.setProperty(Properties.DISABLED_IMAGE_URL, disabledImageURL);
444 	}
445 
446 	public java.lang.String getHoverImageURL() {
447 		return getHoverImageURL(null);
448 	}
449 
450 	/**
451 	 * See {@link #getHoverImageURL() getHoverImageURL()} for more details
452 	 */
453 	public java.lang.String getHoverImageURL(javax.faces.context.FacesContext facesContext) {
454 		return engine.getStringProperty(Properties.HOVER_IMAGE_URL, facesContext);
455 	}
456 
457 	/**
458 	 * Returns <code>true</code> if the attribute "hoverImageURL" is set.
459 	 * @return <code>true</code> if the attribute is set.
460 	 */
461 	public final boolean isHoverImageURLSetted() {
462 		return engine.isPropertySetted(Properties.HOVER_IMAGE_URL);
463 	}
464 
465 	public void setHoverImageURL(java.lang.String hoverImageURL) {
466 		engine.setProperty(Properties.HOVER_IMAGE_URL, hoverImageURL);
467 	}
468 
469 	public java.lang.String getSelectedImageURL() {
470 		return getSelectedImageURL(null);
471 	}
472 
473 	/**
474 	 * See {@link #getSelectedImageURL() getSelectedImageURL()} for more details
475 	 */
476 	public java.lang.String getSelectedImageURL(javax.faces.context.FacesContext facesContext) {
477 		return engine.getStringProperty(Properties.SELECTED_IMAGE_URL, facesContext);
478 	}
479 
480 	/**
481 	 * Returns <code>true</code> if the attribute "selectedImageURL" is set.
482 	 * @return <code>true</code> if the attribute is set.
483 	 */
484 	public final boolean isSelectedImageURLSetted() {
485 		return engine.isPropertySetted(Properties.SELECTED_IMAGE_URL);
486 	}
487 
488 	public void setSelectedImageURL(java.lang.String selectedImageURL) {
489 		engine.setProperty(Properties.SELECTED_IMAGE_URL, selectedImageURL);
490 	}
491 
492 	public java.lang.String getImageURL() {
493 		return getImageURL(null);
494 	}
495 
496 	/**
497 	 * See {@link #getImageURL() getImageURL()} for more details
498 	 */
499 	public java.lang.String getImageURL(javax.faces.context.FacesContext facesContext) {
500 		return engine.getStringProperty(Properties.IMAGE_URL, facesContext);
501 	}
502 
503 	/**
504 	 * Returns <code>true</code> if the attribute "imageURL" is set.
505 	 * @return <code>true</code> if the attribute is set.
506 	 */
507 	public final boolean isImageURLSetted() {
508 		return engine.isPropertySetted(Properties.IMAGE_URL);
509 	}
510 
511 	public void setImageURL(java.lang.String imageURL) {
512 		engine.setProperty(Properties.IMAGE_URL, imageURL);
513 	}
514 
515 	public IContentAccessors getImageAccessors() {
516 
517 
518 			return getImageAccessors(null);
519 		
520 	}
521 
522 	public int getImageHeight() {
523 		return getImageHeight(null);
524 	}
525 
526 	/**
527 	 * See {@link #getImageHeight() getImageHeight()} for more details
528 	 */
529 	public int getImageHeight(javax.faces.context.FacesContext facesContext) {
530 		return engine.getIntProperty(Properties.IMAGE_HEIGHT,0, facesContext);
531 	}
532 
533 	/**
534 	 * Returns <code>true</code> if the attribute "imageHeight" is set.
535 	 * @return <code>true</code> if the attribute is set.
536 	 */
537 	public final boolean isImageHeightSetted() {
538 		return engine.isPropertySetted(Properties.IMAGE_HEIGHT);
539 	}
540 
541 	public void setImageHeight(int imageHeight) {
542 		engine.setProperty(Properties.IMAGE_HEIGHT, imageHeight);
543 	}
544 
545 	public int getImageWidth() {
546 		return getImageWidth(null);
547 	}
548 
549 	/**
550 	 * See {@link #getImageWidth() getImageWidth()} for more details
551 	 */
552 	public int getImageWidth(javax.faces.context.FacesContext facesContext) {
553 		return engine.getIntProperty(Properties.IMAGE_WIDTH,0, facesContext);
554 	}
555 
556 	/**
557 	 * Returns <code>true</code> if the attribute "imageWidth" is set.
558 	 * @return <code>true</code> if the attribute is set.
559 	 */
560 	public final boolean isImageWidthSetted() {
561 		return engine.isPropertySetted(Properties.IMAGE_WIDTH);
562 	}
563 
564 	public void setImageWidth(int imageWidth) {
565 		engine.setProperty(Properties.IMAGE_WIDTH, imageWidth);
566 	}
567 
568 	public java.lang.String getMenuPopupId() {
569 		return getMenuPopupId(null);
570 	}
571 
572 	/**
573 	 * See {@link #getMenuPopupId() getMenuPopupId()} for more details
574 	 */
575 	public java.lang.String getMenuPopupId(javax.faces.context.FacesContext facesContext) {
576 		return engine.getStringProperty(Properties.MENU_POPUP_ID, facesContext);
577 	}
578 
579 	/**
580 	 * Returns <code>true</code> if the attribute "menuPopupId" is set.
581 	 * @return <code>true</code> if the attribute is set.
582 	 */
583 	public final boolean isMenuPopupIdSetted() {
584 		return engine.isPropertySetted(Properties.MENU_POPUP_ID);
585 	}
586 
587 	public void setMenuPopupId(java.lang.String menuPopupId) {
588 		engine.setProperty(Properties.MENU_POPUP_ID, menuPopupId);
589 	}
590 
591 	public int getMaxWidth() {
592 		return getMaxWidth(null);
593 	}
594 
595 	/**
596 	 * See {@link #getMaxWidth() getMaxWidth()} for more details
597 	 */
598 	public int getMaxWidth(javax.faces.context.FacesContext facesContext) {
599 		return engine.getIntProperty(Properties.MAX_WIDTH,0, facesContext);
600 	}
601 
602 	/**
603 	 * Returns <code>true</code> if the attribute "maxWidth" is set.
604 	 * @return <code>true</code> if the attribute is set.
605 	 */
606 	public final boolean isMaxWidthSetted() {
607 		return engine.isPropertySetted(Properties.MAX_WIDTH);
608 	}
609 
610 	public void setMaxWidth(int maxWidth) {
611 		engine.setProperty(Properties.MAX_WIDTH, maxWidth);
612 	}
613 
614 	public int getMinWidth() {
615 		return getMinWidth(null);
616 	}
617 
618 	/**
619 	 * See {@link #getMinWidth() getMinWidth()} for more details
620 	 */
621 	public int getMinWidth(javax.faces.context.FacesContext facesContext) {
622 		return engine.getIntProperty(Properties.MIN_WIDTH,0, facesContext);
623 	}
624 
625 	/**
626 	 * Returns <code>true</code> if the attribute "minWidth" is set.
627 	 * @return <code>true</code> if the attribute is set.
628 	 */
629 	public final boolean isMinWidthSetted() {
630 		return engine.isPropertySetted(Properties.MIN_WIDTH);
631 	}
632 
633 	public void setMinWidth(int minWidth) {
634 		engine.setProperty(Properties.MIN_WIDTH, minWidth);
635 	}
636 
637 	public java.lang.String getWidth() {
638 		return getWidth(null);
639 	}
640 
641 	/**
642 	 * See {@link #getWidth() getWidth()} for more details
643 	 */
644 	public java.lang.String getWidth(javax.faces.context.FacesContext facesContext) {
645 		return engine.getStringProperty(Properties.WIDTH, facesContext);
646 	}
647 
648 	/**
649 	 * Returns <code>true</code> if the attribute "width" is set.
650 	 * @return <code>true</code> if the attribute is set.
651 	 */
652 	public final boolean isWidthSetted() {
653 		return engine.isPropertySetted(Properties.WIDTH);
654 	}
655 
656 	public void setWidth(java.lang.String width) {
657 		engine.setProperty(Properties.WIDTH, width);
658 	}
659 
660 	public java.lang.String getVerticalAlignment() {
661 		return getVerticalAlignment(null);
662 	}
663 
664 	/**
665 	 * See {@link #getVerticalAlignment() getVerticalAlignment()} for more details
666 	 */
667 	public java.lang.String getVerticalAlignment(javax.faces.context.FacesContext facesContext) {
668 		return engine.getStringProperty(Properties.VERTICAL_ALIGNMENT, facesContext);
669 	}
670 
671 	/**
672 	 * Returns <code>true</code> if the attribute "verticalAlignment" is set.
673 	 * @return <code>true</code> if the attribute is set.
674 	 */
675 	public final boolean isVerticalAlignmentSetted() {
676 		return engine.isPropertySetted(Properties.VERTICAL_ALIGNMENT);
677 	}
678 
679 	public void setVerticalAlignment(java.lang.String verticalAlignment) {
680 		engine.setProperty(Properties.VERTICAL_ALIGNMENT, verticalAlignment);
681 	}
682 
683 	public java.lang.String getCellStyleClass() {
684 		return getCellStyleClass(null);
685 	}
686 
687 	/**
688 	 * See {@link #getCellStyleClass() getCellStyleClass()} for more details
689 	 */
690 	public java.lang.String getCellStyleClass(javax.faces.context.FacesContext facesContext) {
691 		return engine.getStringProperty(Properties.CELL_STYLE_CLASS, facesContext);
692 	}
693 
694 	/**
695 	 * Returns <code>true</code> if the attribute "cellStyleClass" is set.
696 	 * @return <code>true</code> if the attribute is set.
697 	 */
698 	public final boolean isCellStyleClassSetted() {
699 		return engine.isPropertySetted(Properties.CELL_STYLE_CLASS);
700 	}
701 
702 	public void setCellStyleClass(java.lang.String cellStyleClass) {
703 		engine.setProperty(Properties.CELL_STYLE_CLASS, cellStyleClass);
704 	}
705 
706 	public java.lang.String getDefaultCellStyleClass() {
707 		return getDefaultCellStyleClass(null);
708 	}
709 
710 	/**
711 	 * See {@link #getDefaultCellStyleClass() getDefaultCellStyleClass()} for more details
712 	 */
713 	public java.lang.String getDefaultCellStyleClass(javax.faces.context.FacesContext facesContext) {
714 		return engine.getStringProperty(Properties.DEFAULT_CELL_STYLE_CLASS, facesContext);
715 	}
716 
717 	/**
718 	 * Returns <code>true</code> if the attribute "defaultCellStyleClass" is set.
719 	 * @return <code>true</code> if the attribute is set.
720 	 */
721 	public final boolean isDefaultCellStyleClassSetted() {
722 		return engine.isPropertySetted(Properties.DEFAULT_CELL_STYLE_CLASS);
723 	}
724 
725 	public void setDefaultCellStyleClass(java.lang.String defaultCellStyleClass) {
726 		engine.setProperty(Properties.DEFAULT_CELL_STYLE_CLASS, defaultCellStyleClass);
727 	}
728 
729 	public java.lang.String getCellDefaultToolTipText() {
730 		return getCellDefaultToolTipText(null);
731 	}
732 
733 	/**
734 	 * See {@link #getCellDefaultToolTipText() getCellDefaultToolTipText()} for more details
735 	 */
736 	public java.lang.String getCellDefaultToolTipText(javax.faces.context.FacesContext facesContext) {
737 		return engine.getStringProperty(Properties.CELL_DEFAULT_TOOL_TIP_TEXT, facesContext);
738 	}
739 
740 	/**
741 	 * Returns <code>true</code> if the attribute "cellDefaultToolTipText" is set.
742 	 * @return <code>true</code> if the attribute is set.
743 	 */
744 	public final boolean isCellDefaultToolTipTextSetted() {
745 		return engine.isPropertySetted(Properties.CELL_DEFAULT_TOOL_TIP_TEXT);
746 	}
747 
748 	public void setCellDefaultToolTipText(java.lang.String cellDefaultToolTipText) {
749 		engine.setProperty(Properties.CELL_DEFAULT_TOOL_TIP_TEXT, cellDefaultToolTipText);
750 	}
751 
752 	public java.lang.String getCellToolTipText() {
753 		return getCellToolTipText(null);
754 	}
755 
756 	/**
757 	 * See {@link #getCellToolTipText() getCellToolTipText()} for more details
758 	 */
759 	public java.lang.String getCellToolTipText(javax.faces.context.FacesContext facesContext) {
760 		return engine.getStringProperty(Properties.CELL_TOOL_TIP_TEXT, facesContext);
761 	}
762 
763 	/**
764 	 * Returns <code>true</code> if the attribute "cellToolTipText" is set.
765 	 * @return <code>true</code> if the attribute is set.
766 	 */
767 	public final boolean isCellToolTipTextSetted() {
768 		return engine.isPropertySetted(Properties.CELL_TOOL_TIP_TEXT);
769 	}
770 
771 	public void setCellToolTipText(java.lang.String cellToolTipText) {
772 		engine.setProperty(Properties.CELL_TOOL_TIP_TEXT, cellToolTipText);
773 	}
774 
775 	public final void addSelectionListener(org.rcfaces.core.event.ISelectionListener listener) {
776 		addFacesListener(listener);
777 	}
778 
779 	public final void removeSelectionListener(org.rcfaces.core.event.ISelectionListener listener) {
780 		removeFacesListener(listener);
781 	}
782 
783 	public final javax.faces.event.FacesListener [] listSelectionListeners() {
784 		return getFacesListeners(org.rcfaces.core.event.ISelectionListener.class);
785 	}
786 
787 	public final void addDoubleClickListener(org.rcfaces.core.event.IDoubleClickListener listener) {
788 		addFacesListener(listener);
789 	}
790 
791 	public final void removeDoubleClickListener(org.rcfaces.core.event.IDoubleClickListener listener) {
792 		removeFacesListener(listener);
793 	}
794 
795 	public final javax.faces.event.FacesListener [] listDoubleClickListeners() {
796 		return getFacesListeners(org.rcfaces.core.event.IDoubleClickListener.class);
797 	}
798 
799 	public final void addUserEventListener(org.rcfaces.core.event.IUserEventListener listener) {
800 		addFacesListener(listener);
801 	}
802 
803 	public final void removeUserEventListener(org.rcfaces.core.event.IUserEventListener listener) {
804 		removeFacesListener(listener);
805 	}
806 
807 	public final javax.faces.event.FacesListener [] listUserEventListeners() {
808 		return getFacesListeners(org.rcfaces.core.event.IUserEventListener.class);
809 	}
810 
811 	public final void addInitListener(org.rcfaces.core.event.IInitListener listener) {
812 		addFacesListener(listener);
813 	}
814 
815 	public final void removeInitListener(org.rcfaces.core.event.IInitListener listener) {
816 		removeFacesListener(listener);
817 	}
818 
819 	public final javax.faces.event.FacesListener [] listInitListeners() {
820 		return getFacesListeners(org.rcfaces.core.event.IInitListener.class);
821 	}
822 
823 	protected Set getCameliaFields() {
824 		return CAMELIA_ATTRIBUTES;
825 	}
826 }