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 65: | Line 65: | ||
== CurrencyTextBox (DojoCurrencyTextBox) == | == CurrencyTextBox (DojoCurrencyTextBox) == | ||
+ | |||
+ | <source lang="java"> | ||
+ | |||
+ | </source> | ||
+ | |||
+ | == DataGrid and related types == | ||
<source lang="java"> | <source lang="java"> | ||
Line 240: | Line 246: | ||
</source> | </source> | ||
− | == DojoBorderContainer | + | == BorderContainer (DojoBorderContainer) == |
<source lang="java"> | <source lang="java"> | ||
Line 285: | Line 291: | ||
= Visualization = | = Visualization = | ||
− | |||
+ | == BarGraph (DojoBarGraph) == | ||
+ | <source lang="java"> | ||
− | < | + | </source> |
− | + | == BubbleChart (DojoBubbleChart) == | |
− | + | ||
− | + | ||
− | + | ||
− | == | + | |
<source lang="java"> | <source lang="java"> | ||
Line 301: | Line 304: | ||
</source> | </source> | ||
− | |||
− | == | + | == LineGraph (DojoLineGraph) == |
<source lang="java"> | <source lang="java"> | ||
Line 309: | Line 311: | ||
</source> | </source> | ||
− | + | == PieChart (DojoPieChart) and related types == | |
− | + | ||
− | + | ||
− | + | ||
− | == | + | |
<source lang="java"> | <source lang="java"> | ||
Line 319: | Line 317: | ||
</source> | </source> | ||
− | == | + | <br> |
+ | |||
+ | == Div, FloatLeft, and FloatRight == | ||
<source lang="java"> | <source lang="java"> | ||
</source> | </source> | ||
− | |||
− | |||
Line 356: | Line 354: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== DojoTreeNode == | == DojoTreeNode == |
Revision as of 14:04, 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 DataGrid and related types
- 1.11 DateTextBox (DojoDateTextBox)
- 1.12 Editor (DojoEditor)
- 1.13 Grid (DojoGrid)
- 1.14 HorizontalSlider (DojoHorizontalSlider)
- 1.15 Hyperlink
- 1.16 Image
- 1.17 List
- 1.18 ListMulti
- 1.19 Menu
- 1.20 Menu (DojoMenu)
- 1.21 PasswordTextField
- 1.22 ProgressBar (DojoProgressBar)
- 1.23 RadioGroup
- 1.24 RadioGroup (DojoRadioGroup)
- 1.25 Shadow
- 1.26 Span
- 1.27 TextArea
- 1.28 TextArea (DojoTextArea)
- 1.29 TextField
- 1.30 TextField (DojoTextField)
- 1.31 TextLabel
- 1.32 TimeTextBox (DojoTimeTextBox)
- 1.33 ToggleButton (DojoToggleButton)
- 1.34 Tooltip (DojoTooltip)
- 1.35 TooltipDialog (DojoTooltipDialog)
- 1.36 Tree (DojoTree) and related types
- 2 Layout
- 3 Visualization
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)
ToggleButton (DojoToggleButton)
Tooltip (DojoTooltip)
TooltipDialog (DojoTooltipDialog)
Layout
AccordionContainer (DojoAccordionContainer)
BorderContainer (DojoBorderContainer)
Box
Grouping
StackContainer (DojoStackContainer)
TabContainer (DojoTabContainer)
TitlePane (DojoTitlePane)
Visualization
BarGraph (DojoBarGraph)
BubbleChart (DojoBubbleChart)
LineGraph (DojoLineGraph)
Div, FloatLeft, and FloatRight
DojoContentPane
DojoContextMenu
DojoDialog