|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.sap.ui.core.client.Element
com.sap.ui.table.client.Column
com.sap.ui.table.client.ColumnHeader
public class ColumnHeader
The class ColumnHeader is the GWT wrapper
for the Phoenix control: sap.ui.table.ColumnHeader.
The column header allows to define column specific properties that will be applied when rendering the table.
| Constructor Summary | |
|---|---|
protected |
ColumnHeader()
constructs the class ColumnHeaderhidden due to JavaScriptObject restriction |
| Method Summary | |
|---|---|
ColumnHeader |
addFilter(Filter filter)
Appends a filter to the aggregation filters. |
static ColumnHeader |
create()
Deprecated. Since version 0.17.0. Please use sap.ui.table.Column instead of sap.ui.table.ColumnHeader |
static ColumnHeader |
create(String idOrConfig)
Deprecated. Since version 0.17.0. Please use sap.ui.table.Column instead of sap.ui.table.ColumnHeader |
static ColumnHeader |
create(String id,
String config)
Deprecated. Since version 0.17.0. Please use sap.ui.table.Column instead of sap.ui.table.ColumnHeader |
ColumnHeader |
destroyFilters()
Destroys all the filters in the Filters-aggregation. |
String |
getFilteringProperty()
Getter for property filteringProperty
Specifies the binding property on which the column will be filtered |
com.sap.ui.core.client.js.JsArray<Filter> |
getFilters()
Getter for aggregation filters What are the current filters applied to this column header. |
String |
getSortingProperty()
Getter for property sortingProperty
Specifies the binding property on which the column will be sorted |
int |
indexOfFilter(Filter filter)
Checks for the provided com.sap.ui.table.client.data.Filter in the filters-aggregation and
returns its index if found or -1 otherwise. |
ColumnHeader |
insertFilter(Filter filter,
int index)
Inserts some filter into the aggregation named filters. |
boolean |
isFilterByControl()
Getter for property filterByControl
If set to true, the values appearing in the multiple list filter will be displayed as a control |
boolean |
isHierarchyColumn()
Getter for property hierarchyColumn
If the column is used as the hierarchy column |
com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<Filter>> |
removeAllFilters()
Removes all the items in the filters-aggregation. |
com.sap.ui.core.client.js.JsArray<Filter> |
removeFilter(int index)
Removes a filter from the aggregation named filters. |
ColumnHeader |
setFilterByControl(boolean value)
Setter for property filterByControlDefault value is: false |
ColumnHeader |
setFilteringProperty(String value)
Setter for property filteringProperty |
ColumnHeader |
setHierarchyColumn(boolean value)
Setter for property hierarchyColumnDefault value is: false |
ColumnHeader |
setSortingProperty(String value)
Setter for property sortingProperty |
| Methods inherited from class com.sap.ui.table.client.Column |
|---|
destroyLabel, destroyTemplate, getFilterProperty, getHAlign, getLabel, getSortProperty, getTemplate, getWidth, setFilterProperty, setHAlign, setLabel, setSortProperty, setTemplate, setWidth |
| 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 |
|---|
protected ColumnHeader()
ColumnHeaderJavaScriptObject restriction
| Method Detail |
|---|
public static ColumnHeader create()
ColumnHeader
public static ColumnHeader create(String idOrConfig)
ColumnHeader
id - id of the ColumnHeader or configuration JSON string
public static ColumnHeader create(String id,
String config)
ColumnHeader
id - id of the ColumnHeaderconfig - configuration JSON stringpublic final boolean isHierarchyColumn()
hierarchyColumn
If the column is used as the hierarchy column
public final ColumnHeader setHierarchyColumn(boolean value)
hierarchyColumnfalse
value - boolean
this to allow method chainingpublic final String getSortingProperty()
sortingProperty
Specifies the binding property on which the column will be sorted
public final ColumnHeader setSortingProperty(String value)
sortingProperty
value - String
this to allow method chainingpublic final String getFilteringProperty()
filteringProperty
Specifies the binding property on which the column will be filtered
public final ColumnHeader setFilteringProperty(String value)
filteringProperty
value - String
this to allow method chainingpublic final boolean isFilterByControl()
filterByControl
If set to true, the values appearing in the multiple list filter will be displayed as a control
public final ColumnHeader setFilterByControl(boolean value)
filterByControlfalse
value - boolean
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<Filter> getFilters()
public final ColumnHeader insertFilter(Filter filter,
int index)
filters.
filter - the filter to insertindex - int the 0-based index the filter should be inserted at.
this to allow method chainingpublic final ColumnHeader addFilter(Filter filter)
filters.
filter - com.sap.ui.table.client.data.Filter the filter to add
this to allow method chainingpublic final com.sap.ui.core.client.js.JsArray<Filter> removeFilter(int index)
filters.
index - int the position of the filter to remove.
public final com.sap.ui.core.client.js.JsArray<com.sap.ui.core.client.js.JsArray<Filter>> removeAllFilters()
public final int indexOfFilter(Filter filter)
com.sap.ui.table.client.data.Filter in the filters-aggregation and
returns its index if found or -1 otherwise.
filter - the filter whose index is looked for.
public final ColumnHeader destroyFilters()
this to allow method chaining
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||