Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "EDT:Declaring widgets"

Line 203: Line 203:
  
 
== TimeTextBox (DojoTimeTextBox) ==
 
== TimeTextBox (DojoTimeTextBox) ==
 +
 +
<source lang="java">
 +
 +
</source>
 +
 +
== ToggleButton (DojoToggleButton) ==
  
 
<source lang="java">
 
<source lang="java">
Line 220: Line 226:
 
</source>  
 
</source>  
  
== Tree (DojoTree) ==
+
== Tree (DojoTree) and related types ==
  
 
<source lang="java">
 
<source lang="java">
Line 228: Line 234:
 
= Layout  =
 
= Layout  =
  
 +
== AccordionContainer (DojoAccordionContainer) ==
  
 +
<source lang="java">
  
 +
</source>
  
 +
== DojoBorderContainer  ==
  
 +
<source lang="java">
  
 
+
</source>
= Visualization  =
+
  
 
== Box  ==
 
== Box  ==
Line 242: Line 252:
 
</source>  
 
</source>  
  
<br>
+
== GridLayout and related types  ==
 
+
 
+
 
+
<br>
+
 
+
 
+
 
+
<br>
+
 
+
== DataGrid and related types  ==
+
  
 
<source lang="java">
 
<source lang="java">
Line 258: Line 258:
 
</source>  
 
</source>  
  
<br>
+
== Grouping ==
 
+
== Div, FloatLeft, and FloatRight ==
+
  
 
<source lang="java">
 
<source lang="java">
Line 266: Line 264:
 
</source>  
 
</source>  
  
<br>
+
== StackContainer (DojoStackContainer) ==
 
+
== DojoAccordionContainer  ==
+
  
 
<source lang="java">
 
<source lang="java">
Line 274: Line 270:
 
</source>  
 
</source>  
  
== DojoBarGraph  ==
+
== TabContainer (DojoTabContainer) ==
  
 
<source lang="java">
 
<source lang="java">
Line 280: Line 276:
 
</source>  
 
</source>  
  
== DojoBorderContainer  ==
+
== TitlePane (DojoTitlePane) ==
  
 
<source lang="java">
 
<source lang="java">
Line 286: Line 282:
 
</source>  
 
</source>  
  
== DojoBubbleChart  ==
 
  
<source lang="java">
+
= Visualization  =
 
+
</source>
+
  
 
<br>  
 
<br>  
Line 296: Line 289:
  
  
 +
<br>
  
  
  
 +
<br>
  
== DojoContentPane ==
+
== DataGrid and related types ==
  
 
<source lang="java">
 
<source lang="java">
Line 306: Line 301:
 
</source>  
 
</source>  
  
== DojoContextMenu ==
+
<br>
 +
 
 +
== Div, FloatLeft, and FloatRight ==
  
 
<source lang="java">
 
<source lang="java">
Line 312: Line 309:
 
</source>  
 
</source>  
  
 +
<br>
  
  
  
== DojoDialog ==
+
== DojoBarGraph ==
  
 
<source lang="java">
 
<source lang="java">
Line 321: Line 319:
 
</source>  
 
</source>  
  
 
+
== DojoBubbleChart ==
 
+
== DojoLineGraph ==
+
  
 
<source lang="java">
 
<source lang="java">
Line 329: Line 325:
 
</source>  
 
</source>  
  
== DojoMenuItem  ==
+
<br>
  
<source lang="java">
 
  
</source>
 
  
== DojoPieChart and related types  ==
 
  
<source lang="java">
 
  
</source>
 
  
  
== DojoStackContainer ==
+
== DojoContentPane ==
  
 
<source lang="java">
 
<source lang="java">
Line 348: Line 339:
 
</source>  
 
</source>  
  
== DojoTabContainer ==
+
== DojoContextMenu ==
  
 
<source lang="java">
 
<source lang="java">
Line 354: Line 345:
 
</source>  
 
</source>  
  
== DojoTitlePane ==
+
 
 +
 
 +
 
 +
== DojoDialog ==
  
 
<source lang="java">
 
<source lang="java">
Line 360: Line 354:
 
</source>  
 
</source>  
  
== DojoToggleButton ==
+
 
 +
 
 +
== DojoLineGraph ==
  
 
<source lang="java">
 
<source lang="java">
Line 366: Line 362:
 
</source>  
 
</source>  
  
== DojoTreeNode ==
+
== DojoMenuItem ==
  
 
<source lang="java">
 
<source lang="java">
Line 372: Line 368:
 
</source>  
 
</source>  
  
== GridLayout and related types  ==
+
== DojoPieChart and related types  ==
  
 
<source lang="java">
 
<source lang="java">
Line 378: Line 374:
 
</source>  
 
</source>  
  
== Grouping ==
+
== DojoTreeNode ==
  
 
<source lang="java">
 
<source lang="java">

Revision as of 13:59, 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.


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)

 

Tree (DojoTree) and related types

 

Layout

AccordionContainer (DojoAccordionContainer)

 

DojoBorderContainer

 

Box

 

GridLayout and related types

 

Grouping

 

StackContainer (DojoStackContainer)

 

TabContainer (DojoTabContainer)

 

TitlePane (DojoTitlePane)

 


Visualization






DataGrid and related types

 


Div, FloatLeft, and FloatRight

 



DojoBarGraph

 

DojoBubbleChart

 





DojoContentPane

 

DojoContextMenu

 



DojoDialog

 


DojoLineGraph

 

DojoMenuItem

 

DojoPieChart and related types

 

DojoTreeNode

 

HTML

 




Code snippets main page

Back to the top