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 107: | Line 107: | ||
</source> | </source> | ||
− | |||
Line 117: | Line 116: | ||
== ListMulti == | == ListMulti == | ||
+ | |||
+ | <source lang="java"> | ||
+ | |||
+ | </source> | ||
+ | |||
+ | == Menu == | ||
+ | |||
+ | <source lang="java"> | ||
+ | |||
+ | </source> | ||
+ | |||
+ | == Menu (DojoMenu) == | ||
<source lang="java"> | <source lang="java"> | ||
Line 127: | Line 138: | ||
</source> | </source> | ||
+ | |||
+ | |||
+ | == ProgressBar (DojoProgressBar) == | ||
+ | |||
+ | <source lang="java"> | ||
+ | |||
+ | </source> | ||
+ | |||
== RadioGroup == | == RadioGroup == | ||
+ | |||
+ | <source lang="java"> | ||
+ | |||
+ | </source> | ||
+ | |||
+ | |||
+ | == RadioGroup (DojoRadioGroup) == | ||
<source lang="java"> | <source lang="java"> | ||
Line 147: | Line 173: | ||
== TextArea == | == TextArea == | ||
+ | |||
+ | <source lang="java"> | ||
+ | |||
+ | </source> | ||
+ | |||
+ | == TextArea (DojoTextArea) == | ||
<source lang="java"> | <source lang="java"> | ||
Line 153: | Line 185: | ||
== TextField == | == TextField == | ||
+ | |||
+ | <source lang="java"> | ||
+ | |||
+ | </source> | ||
+ | |||
+ | == TextField (DojoTextField) == | ||
<source lang="java"> | <source lang="java"> | ||
Line 164: | Line 202: | ||
</source> | </source> | ||
− | == | + | == TimeTextBox (DojoTimeTextBox) == |
<source lang="java"> | <source lang="java"> | ||
Line 170: | Line 208: | ||
</source> | </source> | ||
− | == | + | == Tooltip (DojoTooltip) == |
<source lang="java"> | <source lang="java"> | ||
− | </source> | + | </source> |
+ | == TooltipDialog (DojoTooltipDialog) == | ||
− | < | + | <source lang="java"> |
− | < | + | </source> |
− | < | + | == Tree (DojoTree) == |
+ | |||
+ | <source lang="java"> | ||
+ | |||
+ | </source> | ||
= Layout = | = Layout = | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
= Visualization = | = Visualization = | ||
Line 211: | Line 260: | ||
<br> | <br> | ||
− | == | + | == Div, FloatLeft, and FloatRight == |
<source lang="java"> | <source lang="java"> | ||
Line 275: | Line 324: | ||
== DojoLineGraph == | == DojoLineGraph == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="java"> | <source lang="java"> | ||
Line 298: | Line 341: | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== DojoStackContainer == | == DojoStackContainer == | ||
Line 317: | Line 349: | ||
== DojoTabContainer == | == DojoTabContainer == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="java"> | <source lang="java"> | ||
Line 347: | Line 361: | ||
== DojoToggleButton == | == DojoToggleButton == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="java"> | <source lang="java"> |
Revision as of 13:51, 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
- 1.15 Image
- 1.16 List
- 1.17 ListMulti
- 1.18 Menu
- 1.19 Menu (DojoMenu)
- 1.20 PasswordTextField
- 1.21 ProgressBar (DojoProgressBar)
- 1.22 RadioGroup
- 1.23 RadioGroup (DojoRadioGroup)
- 1.24 Shadow
- 1.25 Span
- 1.26 TextArea
- 1.27 TextArea (DojoTextArea)
- 1.28 TextField
- 1.29 TextField (DojoTextField)
- 1.30 TextLabel
- 1.31 TimeTextBox (DojoTimeTextBox)
- 1.32 Tooltip (DojoTooltip)
- 1.33 TooltipDialog (DojoTooltipDialog)
- 1.34 Tree (DojoTree)
- 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 DojoMenuItem
- 3.13 DojoPieChart and related types
- 3.14 DojoStackContainer
- 3.15 DojoTabContainer
- 3.16 DojoTitlePane
- 3.17 DojoToggleButton
- 3.18 DojoTreeNode
- 3.19 GridLayout and related types
- 3.20 Grouping
- 3.21 HTML
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
Image
List
ListMulti
Menu
Menu (DojoMenu)
PasswordTextField
ProgressBar (DojoProgressBar)
RadioGroup
RadioGroup (DojoRadioGroup)
Shadow
Span
TextArea
TextArea (DojoTextArea)
TextField
TextField (DojoTextField)
TextLabel
TimeTextBox (DojoTimeTextBox)
Tooltip (DojoTooltip)
TooltipDialog (DojoTooltipDialog)
Tree (DojoTree)
Layout
Visualization
Box
Div, FloatLeft, and FloatRight
DojoAccordionContainer
DojoBarGraph
DojoBorderContainer
DojoBubbleChart
DojoContentPane
DojoContextMenu
DojoDialog
DojoLineGraph
DojoMenuItem