corelib.services.web.components
Class DataGridColumn

java.lang.Object
  extended by corelib.services.web.components.WebComponent
      extended by corelib.services.web.components.DataGridColumn

public class DataGridColumn
extends WebComponent

A DataGridColumn object is used for store one column of the outer DataGrid.

Since:
0.4.1
Author:
Alexia Ramaļoli
See Also:
DataGrid

Field Summary
 
Fields inherited from class corelib.services.web.components.WebComponent
dataBindings, webPage, xmlNode
 
Constructor Summary
DataGridColumn()
          The constructor class.
DataGridColumn(java.lang.String text, java.lang.String value)
          Class constructor.
 
Method Summary
 java.lang.String getCaption()
          Returns the caption of column.
 java.lang.String getCssClass()
          Returns the CSS class (or all CSS classes) used by this component.
 java.lang.String getCssStyle()
          Returns the text representation of CSS style declarations for this component.
 java.lang.String getValues()
          Returns the property value associed to display on column.
 boolean isVisible()
          Returns the visibility of this element in the associated visual component.
 void setCaption(java.lang.String caption)
          Change the caption of column.
 void setCssClass(java.lang.String cssClass)
          Changes the CSS class used by this component.
 void setCssStyle(java.lang.String cssStyle)
          Changes the text representation of CSS style declarations for this component.
 void setValues(java.lang.String values)
          Change the property values associed to display on column.
 void setVisible(boolean visible)
          Changes the visibility of this element is the associated visual component.
 
Methods inherited from class corelib.services.web.components.WebComponent
addBindingExpression, addChildComponent, component_init, component_load, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataGridColumn

public DataGridColumn()
The constructor class.


DataGridColumn

public DataGridColumn(java.lang.String text,
                      java.lang.String value)
Class constructor.

Parameters:
text - The column name text.
value - The property associated the values of DataGrid component.
Method Detail

getValues

public java.lang.String getValues()
Returns the property value associed to display on column.

Returns:
The values name.

setValues

public void setValues(java.lang.String values)
Change the property values associed to display on column. Must be property of the values of DataGrid component.

Parameters:
values - The property name.

getCaption

public java.lang.String getCaption()
Returns the caption of column.

Returns:
The caption column.

setCaption

public void setCaption(java.lang.String caption)
Change the caption of column.

Parameters:
caption - The caption column.

isVisible

public boolean isVisible()
Returns the visibility of this element in the associated visual component.

Returns:
true if this element must be not visible, false otherwise.

setVisible

public void setVisible(boolean visible)
Changes the visibility of this element is the associated visual component.

Parameters:
visible - The new visibility.

getCssClass

public java.lang.String getCssClass()
Returns the CSS class (or all CSS classes) used by this component. If more CSS classes are used, each class is separated by a space character.

Returns:
The CSS class(es) of the component.
See Also:
setCssClass(String), getCssStyle()

setCssClass

public void setCssClass(java.lang.String cssClass)
Changes the CSS class used by this component. In fact, this property can defines more than one CSS class. In this case, separe each CSS class by a space character.

Parameters:
cssClass - The new CSS class(es) used by this component.
See Also:
getCssClass(), setCssStyle(String)

getCssStyle

public java.lang.String getCssStyle()
Returns the text representation of CSS style declarations for this component.

Returns:
The text representation of CSS style declarations.
See Also:
setCssStyle(String), getCssClass()

setCssStyle

public void setCssStyle(java.lang.String cssStyle)
Changes the text representation of CSS style declarations for this component.

Parameters:
cssStyle - the new text representation of CSS style declarations.
See Also:
getCssStyle(), setCssClass(String)


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.