kd.bos.form.control

## 类 FilterGrid

- java.lang.Object
- - kd.bos.form.control.Control
  - - kd.bos.form.TipsSupport
    - - kd.bos.form.container.Container
      - - kd.bos.form.control.FilterGrid

- 所有已实现的接口:
    java.lang.Cloneable, ISuportClick, ICloseCallBack, ITipsSupport

      @KSObject
      public class FilterGrid
      extends Container
      implements ICloseCallBack

  通用过滤控件 过滤条件设置表格，客户端控制指令生成组件

- - ### 嵌套类概要

    嵌套类
    限定符和类型 | 类和说明
    --- | ---
    `static class` | `FilterGrid.FilterGridState`

  - ### 构造器概要

    构造器
    构造器和说明
    `FilterGrid()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addBeforeF7SelectListener(BeforeFilterF7SelectListener listener)`
    `void` | `addFilterGridF7ClickEvents(java.util.function.Consumer<FilterGridF7ClickEvent> listener)`
    `void` | `addFilterGridF7CloseCallBackListeners(java.util.function.Consumer<FilterGridF7CloseCallBackEvent> listener)`
    `void` | `bindData(BindingContext bctx)` 绑定上下文，并赋值
    `void` | `closedCallBack(ClosedCallBackEvent e)`
    `void` | `f7Click(java.lang.String entityId, java.lang.String fieldName, java.lang.String compareTypeId, int clientType, int rowIndex)`
    `java.util.List<BeforeFilterF7SelectListener>` | `getBeforeF7SelectListeners()`
    `java.lang.String` | `getEntityNumber()`
    `java.util.List<java.util.Map<java.lang.String,java.lang.Object>>` | `getFieldColumns()` 获取过滤条件表达式右边
    `java.util.List<java.util.Map<java.lang.String,java.lang.Object>>` | `getFilterColumns()` 获取过滤条件显示成多个表达式，每一个控件对应一个map
    `java.util.List<java.lang.String>` | `getFilterFieldKeys()`
    `java.util.List<java.util.function.Consumer<FilterGridF7ClickEvent>>` | `getFilterGridF7ClickEvents()`
    `java.util.List<java.util.function.Consumer<FilterGridF7CloseCallBackEvent>>` | `getFilterGridF7CloseCallBackListeners()`
    `FilterGrid.FilterGridState` | `getFilterGridState()`
    `void` | `postBack(java.lang.Object postValue)` 输出数据
    `void` | `setBeforeF7SelectListeners(java.util.List<BeforeFilterF7SelectListener> beforeF7SelectListeners)`
    `void` | `setBtnStatus()` 发指令给前端是否展示添加条件按钮
    `void` | `setCompareFilterFields(java.util.List<?> filterColumns)`
    `void` | `setEnabled(boolean value)`
    `void` | `setEntityNumber(java.lang.String entityNumber)`
    `void` | `setFieldColumns(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> fieldColumns)` 设置过滤条件表达式左边值
    `void` | `setFilterColumns(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> filterColumns)` 设置过滤条件表达式，每一个控件对应一个map
    `void` | `setFilterFieldKeys(java.util.List<java.lang.String> filterFieldKeys)`
    `void` | `setFilterFields(java.util.List<?> filterColumns)`
    `void` | `setFilterGridF7ClickEvents(java.util.List<java.util.function.Consumer<FilterGridF7ClickEvent>> filterGridF7ClickListeners)`
    `void` | `setFilterGridF7CloseCallBackListeners(java.util.List<java.util.function.Consumer<FilterGridF7CloseCallBackEvent>> filterGridF7CloseCallBackListeners)`
    `void` | `SetValue(FilterCondition filterCondition)`
    `void` | `SetValue(java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.Object>>> value)` 设置值
    `void` | `ShowTextForm()`

    - ### 从类继承的方法 kd.bos.form.container.Container

      `addClickListener, addControls, addItemClickListener, click, clone, createClientConfig, deleteControls, getCollapseFields, getItems, getOperationKey, insertControls, setBackgroundImg, setCollapse, setCollapseFields, setCollapseFieldsVisible, setOperationKey`

    - ### 从类继承的方法 kd.bos.form.TipsSupport

      `addTips, addTipsListener, hideTips, showFormByTips`

    - ### 从类继承的方法 kd.bos.form.control.Control

      `getCustomeStyles, getKey, getModel, getView, release, setCustomeStyles, setDraggable, setDroppable, setKey, setModel, setView`

    - ### 从类继承的方法 java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### FilterGrid

          public FilterGrid()

  - ### 方法详细资料

    - #### getBeforeF7SelectListeners

          public java.util.List<BeforeFilterF7SelectListener> getBeforeF7SelectListeners()

    - #### setBeforeF7SelectListeners

          public void setBeforeF7SelectListeners(java.util.List<BeforeFilterF7SelectListener> beforeF7SelectListeners)

    - #### addBeforeF7SelectListener

          public void addBeforeF7SelectListener(BeforeFilterF7SelectListener listener)

    - #### getFilterGridF7ClickEvents

          public java.util.List<java.util.function.Consumer<FilterGridF7ClickEvent>> getFilterGridF7ClickEvents()

    - #### setFilterGridF7ClickEvents

          public void setFilterGridF7ClickEvents(java.util.List<java.util.function.Consumer<FilterGridF7ClickEvent>> filterGridF7ClickListeners)

    - #### addFilterGridF7ClickEvents

          public void addFilterGridF7ClickEvents(java.util.function.Consumer<FilterGridF7ClickEvent> listener)

    - #### getFilterGridF7CloseCallBackListeners

          public java.util.List<java.util.function.Consumer<FilterGridF7CloseCallBackEvent>> getFilterGridF7CloseCallBackListeners()

    - #### setFilterGridF7CloseCallBackListeners

          public void setFilterGridF7CloseCallBackListeners(java.util.List<java.util.function.Consumer<FilterGridF7CloseCallBackEvent>> filterGridF7CloseCallBackListeners)

    - #### addFilterGridF7CloseCallBackListeners

          public void addFilterGridF7CloseCallBackListeners(java.util.function.Consumer<FilterGridF7CloseCallBackEvent> listener)

    - #### getEntityNumber

          public java.lang.String getEntityNumber()

    - #### setEntityNumber

          @KSMethod
          public void setEntityNumber(java.lang.String entityNumber)

    - #### setBtnStatus

          public void setBtnStatus()

      发指令给前端是否展示添加条件按钮

    - #### getFieldColumns

          public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getFieldColumns()

      获取过滤条件表达式右边
      返回:
        filterColumns 过滤条件表达式右边

    - #### setFieldColumns

          public void setFieldColumns(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> fieldColumns)

      设置过滤条件表达式左边值
      参数:
        `fieldColumns` - 过滤条件表达式左边值

    - #### getFilterFieldKeys

          public java.util.List<java.lang.String> getFilterFieldKeys()

      返回:
        过滤字段标识集合（用来对过滤字段进行过滤）

    - #### setFilterFieldKeys

          public void setFilterFieldKeys(java.util.List<java.lang.String> filterFieldKeys)

    - #### getFilterColumns

          public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getFilterColumns()

      获取过滤条件显示成多个表达式，每一个控件对应一个map
      返回:
        过滤条件表达式

    - #### setFilterColumns

          public void setFilterColumns(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> filterColumns)

      设置过滤条件表达式，每一个控件对应一个map
      参数:
        `filterColumns` - 过滤条件表达式

    - #### SetValue

          public void SetValue(java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.Object>>> value)

      设置值
      参数:
        `value` -

    - #### SetValue

          public void SetValue(FilterCondition filterCondition)

    - #### postBack

          public void postBack(java.lang.Object postValue)

      从类复制的说明: `Control`
      输出数据
      覆盖:
        `postBack` 在类中 `Control`

    - #### setFilterFields

          public void setFilterFields(java.util.List<?> filterColumns)

    - #### setCompareFilterFields

          public void setCompareFilterFields(java.util.List<?> filterColumns)

    - #### setEnabled

          public void setEnabled(boolean value)

    - #### getFilterGridState

          public FilterGrid.FilterGridState getFilterGridState()

    - #### f7Click

          public void f7Click(java.lang.String entityId,
                              java.lang.String fieldName,
                              java.lang.String compareTypeId,
                              int clientType,
                              int rowIndex)

    - #### ShowTextForm

          public void ShowTextForm()

    - #### bindData

          public void bindData(BindingContext bctx)

      从类复制的说明: `Control`
      绑定上下文，并赋值
      覆盖:
        `bindData` 在类中 `Container`

    - #### closedCallBack

          public void closedCallBack(ClosedCallBackEvent e)

      指定者:
        `closedCallBack` 在接口中 `ICloseCallBack`