com.sap.ui.table.client
Class Column

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.sap.ui.core.client.Element
          extended by com.sap.ui.table.client.Column
Direct Known Subclasses:
ColumnHeader

public class Column
extends com.sap.ui.core.client.Element

The class Column is the GWT wrapper for the Phoenix control: sap.ui.table.Column.

The column allows to define column specific properties that will be applied when rendering the table.

For further parameters see {@link com.sap.ui.core.client.Element

Version:
0.18.0-SNAPSHOT
Author:
GENERATOR (JavaScript control: sap.ui.table.Column)

Constructor Summary
protected Column()
          constructs the class Column
hidden due to JavaScriptObject restriction
 
Method Summary
static Column create()
          creates a new instance of the class Column
static Column create(String idOrConfig)
          creates a new instance of the class Column
static Column create(String id, String config)
          creates a new instance of the class Column
 Column destroyLabel()
          Destroys the label in the Label-aggregation.
 Column destroyTemplate()
          Destroys the template in the Template-aggregation.
 String getFilterProperty()
          Getter for property filterProperty Specifies the binding property on which the column will be filtered
 com.sap.ui.commons.client.layout.HAlign getHAlign()
          Getter for property hAlign Determines the horizontal alignment of the column's content
 com.sap.ui.core.client.Control getLabel()
          Getter for aggregation label Represents the label control on the column header.
 String getSortProperty()
          Getter for property sortProperty Specifies the binding property on which the column will be sorted
 com.sap.ui.core.client.Control getTemplate()
          Getter for aggregation template Template for controls to be rendered in this column.
 String getWidth()
          Getter for property width Width of the column
 Column setFilterProperty(String value)
          Setter for property filterProperty
 Column setHAlign(com.sap.ui.commons.client.layout.HAlign value)
          Setter for property hAlign
Default value is: Begin
 Column setLabel(com.sap.ui.core.client.Control label)
          Setter for the aggregated label.
 Column setSortProperty(String value)
          Setter for property sortProperty
 Column setTemplate(com.sap.ui.core.client.Control template)
          Setter for the aggregated template.
 Column setWidth(String value)
          Setter for property width
 
Methods inherited from class com.sap.ui.core.client.Element
_convertArray, _convertArray, _convertArray, _convertArray, _convertArray, attachBrowserEvent, attachEvent, bindAggregation, bindContext, bindProperty, bindProperty, destroy, detachBrowserEvent, detachEvent, getDomRef, getElementName, getId, getLibraryName, getModel, getParent, getProperty, getTooltip_AsString, getTooltip_Text, getTooltip, isActive, setModel, setProperty, setTooltip, setTooltip, unbindAggregation, unbindContext, unbindProperty
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Column

protected Column()
constructs the class Column
hidden due to JavaScriptObject restriction

Method Detail

create

public static Column create()
creates a new instance of the class Column


create

public static Column create(String idOrConfig)
creates a new instance of the class Column

Parameters:
id - id of the Column or configuration JSON string

create

public static Column create(String id,
                            String config)
creates a new instance of the class Column

Parameters:
id - id of the Column
config - configuration JSON string

getWidth

public final String getWidth()
Getter for property width Width of the column

Returns:
the value of property width

setWidth

public final Column setWidth(String value)
Setter for property width

Parameters:
value - String
Returns:
this to allow method chaining

getHAlign

public final com.sap.ui.commons.client.layout.HAlign getHAlign()
Getter for property hAlign Determines the horizontal alignment of the column's content

Returns:
the value of property hAlign

setHAlign

public final Column setHAlign(com.sap.ui.commons.client.layout.HAlign value)
Setter for property hAlign
Default value is: Begin

Parameters:
value - com.sap.ui.commons.client.layout.HAlign
Returns:
this to allow method chaining

getSortProperty

public final String getSortProperty()
Getter for property sortProperty Specifies the binding property on which the column will be sorted

Returns:
the value of property sortProperty

setSortProperty

public final Column setSortProperty(String value)
Setter for property sortProperty

Parameters:
value - String
Returns:
this to allow method chaining

getFilterProperty

public final String getFilterProperty()
Getter for property filterProperty Specifies the binding property on which the column will be filtered

Returns:
the value of property filterProperty

setFilterProperty

public final Column setFilterProperty(String value)
Setter for property filterProperty

Parameters:
value - String
Returns:
this to allow method chaining

getTemplate

public final com.sap.ui.core.client.Control getTemplate()
Getter for aggregation template Template for controls to be rendered in this column. The default template of a column is the sap.ui.commons.TextField.

Returns:
com.sap.ui.core.client.Control

setTemplate

public final Column setTemplate(com.sap.ui.core.client.Control template)
Setter for the aggregated template.

Parameters:
otemplate - {com.sap.ui.core.client.Control}
Returns:
this to allow method chaining

destroyTemplate

public final Column destroyTemplate()
Destroys the template in the Template-aggregation.

Returns:
this to allow method chaining

getLabel

public final com.sap.ui.core.client.Control getLabel()
Getter for aggregation label Represents the label control on the column header.

Returns:
com.sap.ui.core.client.Control

setLabel

public final Column setLabel(com.sap.ui.core.client.Control label)
Setter for the aggregated label.

Parameters:
olabel - {com.sap.ui.core.client.Control}
Returns:
this to allow method chaining

destroyLabel

public final Column destroyLabel()
Destroys the label in the Label-aggregation.

Returns:
this to allow method chaining


Copyright © 2011 SAP. All Rights Reserved.