com.sap.ui.table.client.data
Class Filter

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.data.Filter

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

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

Filter is an object that represents one filter applied to a column header object. It consists of the value(s), the operator and the type which is used for UI display.

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

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

Constructor Summary
protected Filter()
          constructs the class Filter
hidden due to JavaScriptObject restriction
 
Method Summary
static Filter create()
          Deprecated. Since version 0.17.0. Not needed anymore!
static Filter create(String idOrConfig)
          Deprecated. Since version 0.17.0. Not needed anymore!
static Filter create(String id, String config)
          Deprecated. Since version 0.17.0. Not needed anymore!
 String getFilterType()
          Getter for property filterType What is the filter type (live filter, multiple value filter, custom filter)
 String getOperator()
          Getter for property operator Current operator to be used for this filter
 String getValue1()
          Getter for property value1 Value to filter against or begin value range when used with operator BT
 String getValue2()
          Getter for property value2 End value range when BT (In between) operator is used
 Filter setFilterType(String value)
          Setter for property filterType
 Filter setOperator(String value)
          Setter for property operator
 Filter setValue1(String value)
          Setter for property value1
 Filter setValue2(String value)
          Setter for property value2
 
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

Filter

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

Method Detail

create

public static Filter create()
Deprecated. Since version 0.17.0. Not needed anymore!

creates a new instance of the class Filter


create

public static Filter create(String idOrConfig)
Deprecated. Since version 0.17.0. Not needed anymore!

creates a new instance of the class Filter

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

create

public static Filter create(String id,
                            String config)
Deprecated. Since version 0.17.0. Not needed anymore!

creates a new instance of the class Filter

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

getValue1

public final String getValue1()
Getter for property value1 Value to filter against or begin value range when used with operator BT

Returns:
the value of property value1

setValue1

public final Filter setValue1(String value)
Setter for property value1

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

getValue2

public final String getValue2()
Getter for property value2 End value range when BT (In between) operator is used

Returns:
the value of property value2

setValue2

public final Filter setValue2(String value)
Setter for property value2

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

getOperator

public final String getOperator()
Getter for property operator Current operator to be used for this filter

Returns:
the value of property operator

setOperator

public final Filter setOperator(String value)
Setter for property operator

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

getFilterType

public final String getFilterType()
Getter for property filterType What is the filter type (live filter, multiple value filter, custom filter)

Returns:
the value of property filterType

setFilterType

public final Filter setFilterType(String value)
Setter for property filterType

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


Copyright © 2011 SAP. All Rights Reserved.