Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EDT:Declaring widgets"
Line 96: | Line 96: | ||
</source> | </source> | ||
+ | == Hyperlink == | ||
+ | <source lang="java"> | ||
+ | |||
+ | </source> | ||
Line 318: | Line 322: | ||
</source> | </source> | ||
− | == | + | == Image == |
<source lang="java"> | <source lang="java"> | ||
Line 324: | Line 328: | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
− | |||
== List == | == List == |
Revision as of 11:58, 14 February 2012
When you write a Rich UI application, the typical process is as follows:
- Create a Handler type of stereotype RUIHandler.
- Declare the widgets and customize them; for example, by assigning and coding event handlers.
- Display a given widget by including it either in the initialUI array of the Rich UI handler or in the children array of another widget.
- Write initialization code in the on-construction function.
The following sections give examples of widget declaration and use.
Contents
- 1 Display and Input
- 1.1 Button
- 1.2 Button (DojoButton)
- 1.3 Calendar (DojoCalendar)
- 1.4 Checkbox
- 1.5 Checkbox (DojoCheckbox)
- 1.6 ColorPalette (DojoColorPalette)
- 1.7 Combo
- 1.8 ComboBox (DojoComboBox)
- 1.9 CurrencyTextBox (DojoCurrencyTextBox)
- 1.10 DateTextBox (DojoDateTextBox)
- 1.11 Editor (DojoEditor)
- 1.12 Grid (DojoGrid)
- 1.13 HorizontalSlider (DojoHorizontalSlider)
- 1.14 Hyperlink
- 2 Layout
- 3 Visualization
- 3.1 Box
- 3.2 DataGrid and related types
- 3.3 DIv, FloatLeft, and FloatRight
- 3.4 DojoAccordionContainer
- 3.5 DojoBarGraph
- 3.6 DojoBorderContainer
- 3.7 DojoBubbleChart
- 3.8 DojoContentPane
- 3.9 DojoContextMenu
- 3.10 DojoDialog
- 3.11 DojoLineGraph
- 3.12 DojoMenu
- 3.13 DojoMenuItem
- 3.14 DojoPieChart and related types
- 3.15 DojoProgressBar
- 3.16 DojoRadioGroup
- 3.17 DojoStackContainer
- 3.18 DojoTabContainer
- 3.19 DojoTextArea
- 3.20 DojoTextField
- 3.21 DojoTimeTextBox
- 3.22 DojoTitlePane
- 3.23 DojoToggleButton
- 3.24 DojoTooltip
- 3.25 DojoTooltipDialog
- 3.26 DojoTree
- 3.27 DojoTreeNode
- 3.28 GridLayout and related types
- 3.29 Grouping
- 3.30 HTML
- 3.31 Image
- 3.32 List
- 3.33 ListMulti
- 3.34 PasswordTextField
- 3.35 RadioGroup
- 3.36 Shadow
- 3.37 Span
- 3.38 TextArea
- 3.39 TextField
- 3.40 TextLabel
- 3.41 Tooltip
- 3.42 Tree and related types
Display and Input
Button
Button (DojoButton)
Calendar (DojoCalendar)
Checkbox
Checkbox (DojoCheckbox)
ColorPalette (DojoColorPalette)
Combo
ComboBox (DojoComboBox)
CurrencyTextBox (DojoCurrencyTextBox)
DateTextBox (DojoDateTextBox)
Editor (DojoEditor)
Grid (DojoGrid)
HorizontalSlider (DojoHorizontalSlider)
Hyperlink
Layout
Visualization
Box
DIv, FloatLeft, and FloatRight
DojoAccordionContainer
DojoBarGraph
DojoBorderContainer
DojoBubbleChart
DojoContentPane
DojoContextMenu
DojoDialog
DojoLineGraph
DojoMenu
DojoMenuItem
DojoProgressBar
DojoRadioGroup
DojoStackContainer
DojoTabContainer
DojoTextArea
DojoTextField
DojoTimeTextBox
DojoTitlePane
DojoToggleButton
DojoTooltip
DojoTooltipDialog
DojoTree
DojoTreeNode
Grouping
HTML
Image
List
ListMulti
PasswordTextField
RadioGroup
Shadow
Span
TextArea
TextField
TextLabel
Tooltip
♦ Code snippets main page