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 1: | Line 1: | ||
− | + | When you write a Rich UI application, the typical process is as follows: | |
+ | |||
+ | *Create a Handler type of stereotype RUIHandler.<br> | ||
+ | *Declare the widgets and customize them. In some cases, assign event handlers. <br> | ||
+ | *Write initialization code in the on-construction function.<br> | ||
+ | *Display the widgets by including them either in the initialUI array of the Rich UI handler or in the children array of other widgets.<br> | ||
+ | |||
+ | <br> | ||
= BidiTextArea = | = BidiTextArea = | ||
Line 5: | Line 12: | ||
<source lang="java"> | <source lang="java"> | ||
− | </source> | + | </source> |
= BidiTextField = | = BidiTextField = | ||
Line 11: | Line 18: | ||
<source lang="java"> | <source lang="java"> | ||
− | </source> | + | </source> |
= Box = | = Box = | ||
Line 17: | Line 24: | ||
<source lang="java"> | <source lang="java"> | ||
− | </source> | + | </source> |
= Button = | = Button = | ||
Line 23: | Line 30: | ||
<source lang="java"> | <source lang="java"> | ||
− | </source> | + | </source> |
− | + | = Checkbox = | |
− | = Checkbox = | + | |
<source lang="java"> | <source lang="java"> | ||
− | </source> | + | </source> |
+ | <br> | ||
= Combo = | = Combo = | ||
Line 37: | Line 44: | ||
<source lang="java"> | <source lang="java"> | ||
− | </source> | + | </source> |
+ | <br> | ||
= DataGrid and related types = | = DataGrid and related types = | ||
Line 44: | Line 52: | ||
<source lang="java"> | <source lang="java"> | ||
− | </source> | + | </source> |
+ | <br> | ||
= DIv, FloatLeft, and FloatRight = | = DIv, FloatLeft, and FloatRight = | ||
+ | |||
+ | <source lang="java"> | ||
+ | |||
+ | </source> | ||
<br> | <br> |
Revision as of 18:00, 13 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. In some cases, assign event handlers.
- Write initialization code in the on-construction function.
- Display the widgets by including them either in the initialUI array of the Rich UI handler or in the children array of other widgets.
Contents
- 1 BidiTextArea
- 2 BidiTextField
- 3 Box
- 4 Button
- 5 Checkbox
- 6 Combo
- 7 DataGrid and related types
- 8 DIv, FloatLeft, and FloatRight
- 9 DojoAccordionContainer
- 10 DojoBarGraph
- 11 DojoBorderContainer
- 12 DojoBubbleChart
- 13 DojoButton
- 14 DojoCalendar
- 15 DojoCheckbox
- 16 DojoColorPalette
- 17 DojoComboBox
- 18 DojoContentPane
- 19 DojoContextMenu
- 20 DojoCurrencyTextBox
- 21 DojoDateTextBox
- 22 DojoDialog
- 23 DojoEditor
- 24 DojoGrid
- 25 DojoHorizontalSlider
- 26 DojoLineGraph
- 27 DojoMenu
- 28 DojoMenuItem
- 29 DojoPieChart and related types
- 30 DojoProgressBar
- 31 DojoRadioGroup
- 32 DojoStackContainer
- 33 DojoTabContainer
- 34 DojoTextArea
- 35 DojoTextField
- 36 DojoTimeTextBox
- 37 DojoTitlePane
- 38 DojoToggleButton
- 39 DojoTooltip
- 40 DojoTooltipDialog
- 41 DojoTree
- 42 DojoTreeNode
- 43 GridLayout and related types
- 44 Grouping
- 45 HTML
- 46 Hyperlink
- 47 Image
- 48 List
- 49 ListMulti
- 50 PasswordTextField
- 51 RadioGroup
- 52 Shadow
- 53 Span
- 54 TextArea
- 55 TextField
- 56 TextLabel
- 57 Tooltip
- 58 Tree and related types
BidiTextArea
BidiTextField
Box
Button
Checkbox
Combo
DIv, FloatLeft, and FloatRight
DojoAccordionContainer
DojoBarGraph
DojoBorderContainer
DojoBubbleChart
DojoButton
DojoCalendar
DojoCheckbox
DojoColorPalette
DojoComboBox
DojoContentPane
DojoContextMenu
DojoCurrencyTextBox
DojoDateTextBox
DojoDialog
DojoEditor
DojoGrid
DojoHorizontalSlider
DojoLineGraph
DojoMenu
DojoMenuItem
DojoProgressBar
DojoRadioGroup
DojoStackContainer
DojoTabContainer
DojoTextArea
DojoTextField
DojoTimeTextBox
DojoTitlePane
DojoToggleButton
DojoTooltip
DojoTooltipDialog
DojoTree
DojoTreeNode
Grouping
HTML
Hyperlink
Image
List
ListMulti
PasswordTextField
RadioGroup
Shadow
Span
TextArea
TextField
TextLabel
Tooltip