Skip to end of metadata
Go to start of metadata

本文主要介绍Dorado7标准版中的相关控件,其他Add-On中的控件将另外提供文档加以说明。

共70个控件(不包括子控件),2个工具类,2个抽象类

写在前面

关于JSDOC

JSDOC也就是通常我们说的dorado控件库的Client-API。

获取的办法有:

方法一:

获取Dorado的安装包,在安装包中包含docs目录:

在docs目录中就可以看到jsdoc目录和javadoc:

方法二:

打开一下地址栏,寻找对应的压缩包dorado-7.*-jsdoc.zip:

http://www.bsdn.org/projects/dorado7/download

方法三:

直接查看在线jsdoc: http://dorado7.bsdn.org/jsdoc

JSDOC查看注意事项

Properties与Attributes的差别

Attributes中的内容为控件的虚拟属性,获取值或设置值要通过get/set方法实现,如:

但是Properties中的属性却可以直接访问,如:

关于JS代码和CSS文件

在控件详解中大部分相关的JS代码都是采用Dorado7.1的Javascript Controller技术定义和声明控件的事件代码的,因此请稍微了解一下 Javascript Controller (http://www.bsdn.org/projects/dorado7/article/Dorado-7.1-Whats-New#subject) 技术。相关的JS代码一般我们都是定义在一个与View同名同目录的JS文件中,如下图:

默认情况下View会自动装载同目录同名的JS文件,与此类似的还有css资源文件。

如果你不知道怎么使用,也可以将事件直接定义到View中,直接使用就可以,或者也可以利用一个专门的addon项目:Dorado7 JavaScript 抽取工具(http://www.bsdn.org/projects/js-controller-extractor) 将JS抽取出来。

操作的办法是右键单击View文件,并单击抽取Java Script菜单项:

关于控件通用特性

关于控件的以下一些特性由于有相当的一致性,因此就不在每个控件中单独描述了,请专门阅读:

A

AbstractButton(抽象类)

Accordion

Action

AjaxAction

AutoForm

AutoMappingDropDown

B

BlockView

Button

C

CardBook

CheckBox

Container

Control

CustomDropDown

CustomSpinner

D

DataBlockView

DataControl(抽象类)

DataGrid

DataLabel

DataListBox

DataNode(子控件)

DataPilot

DataSet

DataSetDropDown

DataTree

DataTreeGrid

DateDropDown

DatePicker

DateTimeSpinner

Dialog

E

 

 

F

FieldSet

FloatContainer

FloatControl

FloatPanel

FormElement

FormProfile

FormSubmitAction

G

Grid

GroupBox

H

 

HtmlContainer

I

IFrame

J

K

L

Label

Link

ListBox

ListDropDown

M

Menu

N

Node(子控件)

NotifyTip

NotifyTipManager(工具类)

NumberSpinner

O

P

Panel

PasswordEditor

Portal

PortalColumn(子控件)

Portlet(子控件)

ProgressBar

Q

R

RadioButton(子控件)

RadioGroup

S

Section(子控件)

SimpleButton

SimpleIconButton

Slider

SplitPanel

SubViewHolder

T

TabBar

TabColumn

TabControl

TagEditor

TextArea

TextEditor

Tip

TipManager(工具类)

ToolBar

ToolTip

Tree

TreeGrid

Trigger

U

UpdateAction

UploadAction

V

View

VerticalTabControl

W

X

Y

YearMonthDropDown

YearMonthPicker

Z

 

Labels
  • No labels
Page: 1. 如何用JS创建控件对象 Page: 3. 控件拖拽(DCUG) Page: AbstractButton(DCUG) Page: Accordion(DCUG) Page: Action(DCUG) Page: AjaxAction(DCUG) Page: AutoForm(DCUG) Page: AutoMappingDropDown(DCUG) Page: BlockView(DCUG) Page: Button(DCUG) Page: CardBook(DCUG) Page: CheckBox(DCUG) Page: Container(DCUG) Page: Control(DCUG) Page: CustomDropDown(DCUG) Page: CustomSpinner(DCUG) Page: DataBlockView(DCUG) Page: DataControl(DCUG) Page: DataGrid(DCUG) Page: DataLabel(DCUG) Page: DataListBox(DCUG) Page: DataPilot(DCUG) Page: DataSet(DCUG) Page: DataSetDropDown(DCUG) Page: DataTree(DCUG) Page: DataTreeGrid(DCUG) Page: DateDropDown(DCUG) Page: DatePicker(DCUG) Page: DateTimeSpinner(DCUG) Page: Dialog(DCUG) Page: DownloadAction(DCUG) Page: FieldSet(DCUG) Page: FloatContainer(DCUG) Page: FloatControl(DCUG) Page: FloatPanel(DCUG) Page: FormElement(DCUG) Page: FormProfile(DCUG) Page: FormSubmitAction(DCUG) Page: Grid(DCUG) Page: GroupBox(DCUG) Page: HtmlContainer(DCUG) Page: IFrame(DCUG) Page: Label(DCUG) Page: Link(DCUG) Page: ListBox(DCUG) Page: ListDropDown(DCUG) Page: Menu(DCUG) Page: NotifyTip(DCUG) Page: NotifyTipManager(DCUG) Page: NumberSpinner(DCUG) Page: Panel(DCUG) Page: PasswordEditor(DCUG) Page: Portal(DCUG) Page: ProgressBar(DCUG) Page: RadioGroup(DCUG) Page: SimpleButton(DCUG) Page: SimpleIconButton(DCUG) Page: Slider(DCUG) Page: SplitPanel(DCUG) Page: SubViewHolder(DCUG) Page: TabControl(DCUG) Page: TagEditor(DCUG) Page: TextArea(DCUG) Page: TextEditor(DCUG) Page: Tip(DCUG) Page: TipManager(DCUG) Page: ToolBar(DCUG) Page: ToolTip(DCUG) Page: Tree(DCUG) Page: TreeGrid(DCUG) Page: Trigger(DCUG) Page: UpdateAction(DCUG) Page: UploadAction(DCUG) Page: VerticalTabControl(DCUG) Page: View(DCUG) Page: YearMonthDropDown(DCUG) Page: YearMonthPicker(DCUG)