字段摘要 | ||
---|---|---|
String |
delay
Delay to do searching from the last key input event. |
|
String |
deltaX
Tooltip offset in the X direction. This property is available since version 1.3.3. |
|
String |
disabled
Defines if to disable the field. |
|
String |
editable
Defines if user can type text directly into the field. |
|
String |
generateDiv
是否先生成一个DIV。 |
|
String |
hasDownArrow
Defines if to display the down arrow button. |
|
String |
height
The height of the component. This property is available since version 1.3.2. |
|
String |
id
对应的div的id属性值。 |
|
String |
invalidMessage
ooltip text that appears when the content of text box is invalid. |
|
String |
label
|
|
String |
missingMessage
Tooltip text that appears when the content of text box is invalid. |
|
String |
multiple
Defines if support multiple selection. |
|
String |
name
|
|
String |
otherAttributes
一些其他属性,如: |
|
String |
panelHeight
The drop down panel height. |
|
String |
panelWidth
The drop down panel width. |
|
String |
readonly
Defines if the component is read-only. This property is available since version 1.3.3. |
|
String |
required
Defines if the field should be inputed. |
|
String |
selectOnNavigation
Defines if to select an item when navigating items with keyboard. This property is available since version 1.3.3. |
|
String |
separator
The separator char for text when multiple selection. |
|
String |
style
html的style属性,如: |
|
String |
tipPosition
|
|
String |
validType
Defines the field valid type, such as email, url, etc. Possible values are: |
|
String |
value
The default value. |
|
String |
width
The width of the component. |
方法摘要 | |
---|---|
|
getClass
返回EsayUI的class名称,一般是easyui-draggable,其中draggable是事物名的小写。 |
|
getHtmlTag
|
|
toHtml
|
|
toJavaScriptCode
|
子事物摘要 | |
---|---|
|
ExtJs
EXtjs组件。 |
|
FormLayout(表单布局)
表单布局使用Table布局,表单布局认为子事物都含有标签和输入,因此表单布局默认。 |
|
HtmlTag
可以自定义简单的HTML标签。 |
|
JavaScript
作用 |
|
XWRemoteSupport
提供打开窗口、打开TabItem等功能。 |
|
button(按钮)
|
|
checkBox(复选框)
|
|
code(代码)
可以直接编辑HTML的地方。 |
|
comboBox(下拉框)
|
|
dateInput(日期输入)
|
|
diagram(图表)
|
|
div
简单的div标签。 |
|
form(表单)
|
|
grid(数据格)
|
|
hidden(隐藏输入)
隐藏字段。 |
|
htmlCode(HTML代码)
通过XWorker内置的HTML编辑器编写HTML代码。 |
|
keyHandler
|
|
label(标签)
|
|
list(列表)
|
|
menu(菜单)
|
|
onChange
Fires when the field value is changed. |
|
onHidePanel
Fires when drop down panel hide. |
|
onShowPanel
Fires when drop down panel show. |
|
password(密码框)
|
|
radioButton(选项按钮)
|
|
span
简单的span标签。 |
|
table(表格)
|
|
textArea(文本区)
|
|
textField(文本框)
|
|
yui-ext
|
字段详细信息 |
---|
Delay to do searching from the last key input event.
Tooltip offset in the X direction. This property is available since version 1.3.3.
Defines if to disable the field.
Defines if user can type text directly into the field.
是否先生成一个DIV。
Defines if to display the down arrow button.
The height of the component. This property is available since version 1.3.2.
对应的div的id属性值。
ooltip text that appears when the content of text box is invalid.
Tooltip text that appears when the content of text box is invalid.
Defines if support multiple selection.
一些其他属性,如:
onClick="javascript:void(0)" align="left"
The drop down panel height.
The drop down panel width.
Defines if the component is read-only. This property is available since version 1.3.3.
Defines if the field should be inputed.
Defines if to select an item when navigating items with keyboard. This property is available since version 1.3.3.
The separator char for text when multiple selection.
html的style属性,如:
width:100px;height:100px;
Defines the position of tip message when the content of text box is invalid. Possible values: 'left','right'. This property is available since version 1.3.2. |
Defines the field valid type, such as email, url, etc. Possible values are:
1) a valid type string, apply a single validate rule.
2) an valid type array, apply multiple validate rules. The multiple validate rules on a field are available since version 1.3.2.
Code example:
<input class="easyui-validatebox" data-options="required:true,validType:'url'"> <input class="easyui-validatebox" data-options=" required:true, validType:['email','length[0,20]'] ">
The default value.
The width of the component.
方法详细信息 |
---|
返回EsayUI的class名称,一般是easyui-draggable,其中draggable是事物名的小写。
子事物详细信息 |
---|
EXtjs组件。
表单布局使用Table布局,表单布局认为子事物都含有标签和输入,因此表单布局默认。
可以自定义简单的HTML标签。
作用
用于生成JavaScript代码片段,所有能够生成JavaScript代码片段的都应注册到此子事物下。
JavaScript注册
所有能够生成 JavaScript代码的事物都应该注册到本事物下。
重载toHtml方法
如果一个事物继承了JavaScript并且只是用于生成JavaScript代码的,那么应该重载toHtml方法,返回在toHtml方法里返回null,可以使用NOOP动作。
提供打开窗口、打开TabItem等功能。
可以直接编辑HTML的地方。
简单的div标签。
通过XWorker内置的HTML编辑器编写HTML代码。
Fires when the field value is changed.
Fires when drop down panel hide.
Fires when drop down panel show.
简单的span标签。