cn.remex.db.view
注释类型 Element


@Retention(value=RUNTIME)
@Target(value={METHOD,FIELD})
public @interface Element

从以下版本开始:
2012-4-28
作者:
Hengyang Liu

可选元素摘要
 Class<?> CodeRefBean
           
 String CodeRefCodeColumn
          要显示的值
 String CodeRefCodeType
          默认数据字典表中 dataType=的值
 String CodeRefDescColumn
          要显示的字段
 String CodeRefFilters
          搜索的filter字符串,有filters是,dataType约束失效 filters="{rules:[{field:'col1',op:'eq',data:'val1'},{field:'col2',op:'eq',data:'val2'}]}"
 String CodeRefTypeColumn
          默认数据字典表中去搜索匹配的字段
 int colModelIndex
           
 boolean editable
           
 String editoptions
           
 EditType edittype
           
 boolean hidden
           
 String label
          显示层显示的名称
 Class<?> refClass
           
 String refName
           
 RefType refType
           
 int width
          显示层控件的宽度width。
 

colModelIndex

public abstract int colModelIndex
默认值:
20

editable

public abstract boolean editable
默认值:
true

editoptions

public abstract String editoptions
默认值:
"{value:{1:\'One\',2:\'Two\'}}"

edittype

public abstract EditType edittype
返回:
另请参见:
EditType
默认值:
cn.remex.db.view.EditType.text

hidden

public abstract boolean hidden
默认值:
false

label

public abstract String label
显示层显示的名称

返回:
默认值:
"\u672a\u8bbe\u7f6e"

refClass

public abstract Class<?> refClass
默认值:
cn.remex.db.rsql.model.ModelableImpl.class

refName

public abstract String refName
默认值:
"name"

CodeRefBean

public abstract Class<?> CodeRefBean
默认值:
cn.remex.db.model.DataDic.class

CodeRefCodeColumn

public abstract String CodeRefCodeColumn
要显示的值

默认值:
"dataCode"

CodeRefDescColumn

public abstract String CodeRefDescColumn
要显示的字段

默认值:
"dataDesc"

CodeRefTypeColumn

public abstract String CodeRefTypeColumn
默认数据字典表中去搜索匹配的字段

默认值:
"dataType"

CodeRefCodeType

public abstract String CodeRefCodeType
默认数据字典表中 dataType=的值

默认值:
""

CodeRefFilters

public abstract String CodeRefFilters
搜索的filter字符串,有filters是,dataType约束失效 filters="{rules:[{field:'col1',op:'eq',data:'val1'},{field:'col2',op:'eq',data:'val2'}]}"

默认值:
""

refType

public abstract RefType refType
默认值:
cn.remex.db.view.RefType.dbList

width

public abstract int width
显示层控件的宽度width。符合css标准,单位为px;整形

返回:
默认值:
80


Copyright © 2016. All rights reserved.