kd.bos.form.field

## 类 AttachmentEdit

- java.lang.Object
- - kd.bos.form.control.Control
  - - kd.bos.form.TipsSupport
    - - kd.bos.form.field.FieldEdit
      - - kd.bos.form.field.BasedataEdit
        - - kd.bos.form.field.MulBasedataEdit
          - - kd.bos.form.field.AttachmentEdit

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

      public class AttachmentEdit
      extends MulBasedataEdit

  附件字段运行时编辑对象

- - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addBeforeRemoveListener(BeforeAttachmentRemoveListener listener)`
    `void` | `beforeRemove(java.util.Map<java.lang.String,java.lang.Object> attach)` 附件删除前事件，主要用于判断附件能否被删除
    `void` | `closedCallBack(ClosedCallBackEvent e)`
    `IAttachmentFieldModel` | `getAttachmentModel()` 获取附件字段模型实例
    `java.lang.Object` | `getBindingValue(BindingContext bctx)` 页面旋绕的时候bindData需要传给前段数据
    `java.lang.String` | `getTableName()` 获取设置的表名
    `void` | `openEntryUploadView(int row)` 表格分录附件行打开上传页面
    `void` | `postBack(java.lang.Object value, int rowIndex, int parentRowIndex)`
    `void` | `setTableName(java.lang.String tableName)`

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

      `getIsOrgBaseAdmin, getOrgFuncId, isShowUsed, setIsOrgBaseAdmin, setOrgFuncId, setShowUsed`

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

      `addAfterF7SelectListener, addBasedataFuzzySearchListener, addBeforeF7SelectListener, addBeforeF7ViewDetailListener, addTipsClickListener, bindData, cellTipsClick, click, getDisplayProp, getDisplayStyle, getEditSearchProp, getF7ComboList, getFlexKey, getLayoutId, getLookUpList, getQFilter, getQFilters, isF7BatchFill, isF7MultipleSelect, quickAddNew, setDisplayProp, setDisplayStyle, setEditSearchProp, setF7BatchFill, setF7MultipleSelect, setFlexKey, setItemByIdFromClient, setItemByNumber, setItemByNumber, setLayoutId, setQFilter, setQFilters, showMore, viewDetail`

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

      `getDefaultFilters, getEntryKey, getFieldKey, getProperty, setCaption, setEnable, setEntryKey, setFieldKey, setFocus, setMustInput, setText, setVisible, shouldSerializeFieldKey`

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

      `addTips, addTipsListener, hideTips, showFormByTips`

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

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

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

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

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

    - #### AttachmentEdit

          public AttachmentEdit()

  - ### 方法详细资料

    - #### addBeforeRemoveListener

          @KSMethod
          public void addBeforeRemoveListener(BeforeAttachmentRemoveListener listener)

    - #### getAttachmentModel

          @KSMethod
          public IAttachmentFieldModel getAttachmentModel()

      获取附件字段模型实例
      返回:
        附件数据模型

    - #### getTableName

          public java.lang.String getTableName()

      获取设置的表名
      返回:
        表名

    - #### setTableName

          public void setTableName(java.lang.String tableName)

    - #### postBack

          public void postBack(java.lang.Object value,
                               int rowIndex,
                               int parentRowIndex)

      覆盖:
        `postBack` 在类中 `FieldEdit`

    - #### beforeRemove

          public void beforeRemove(java.util.Map<java.lang.String,java.lang.Object> attach)

      附件删除前事件，主要用于判断附件能否被删除
      参数:
        `attach` - 附件信息

    - #### openEntryUploadView

          public void openEntryUploadView(int row)

      表格分录附件行打开上传页面
      参数:
        `row` -

    - #### closedCallBack

          public void closedCallBack(ClosedCallBackEvent e)

      指定者:
        `closedCallBack` 在接口中 `ICloseCallBack`
      覆盖:
        `closedCallBack` 在类中 `BasedataEdit`

    - #### getBindingValue

          public java.lang.Object getBindingValue(BindingContext bctx)

      页面旋绕的时候bindData需要传给前段数据
      覆盖:
        `getBindingValue` 在类中 `MulBasedataEdit`