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 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>  
  
== Tooltip  ==
+
== TimeTextBox (DojoTimeTextBox) ==
  
 
<source lang="java">
 
<source lang="java">
Line 170: Line 208:
 
</source>  
 
</source>  
  
== Tree and related types  ==
+
== Tooltip (DojoTooltip) ==
  
 
<source lang="java">
 
<source lang="java">
  
</source>
+
</source>  
  
 +
== TooltipDialog (DojoTooltipDialog) ==
  
<br>  
+
<source lang="java">
  
<br>  
+
</source>  
  
<br>  
+
== Tree (DojoTree)  ==
 +
 
 +
<source lang="java">
 +
 
 +
</source>  
  
 
= Layout  =
 
= Layout  =
 +
 +
 +
 +
 +
 +
  
 
= Visualization  =
 
= Visualization  =
Line 211: Line 260:
 
<br>  
 
<br>  
  
== DIv, FloatLeft, and FloatRight  ==
+
== Div, FloatLeft, and FloatRight  ==
  
 
<source lang="java">
 
<source lang="java">
Line 275: Line 324:
  
 
== DojoLineGraph  ==
 
== DojoLineGraph  ==
 
<source lang="java">
 
 
</source>
 
 
== DojoMenu  ==
 
  
 
<source lang="java">
 
<source lang="java">
Line 298: Line 341:
 
</source>  
 
</source>  
  
== DojoProgressBar  ==
 
 
<source lang="java">
 
 
</source>
 
 
== DojoRadioGroup  ==
 
 
<source lang="java">
 
 
</source>
 
  
 
== DojoStackContainer  ==
 
== DojoStackContainer  ==
Line 317: Line 349:
  
 
== DojoTabContainer  ==
 
== DojoTabContainer  ==
 
<source lang="java">
 
 
</source>
 
 
== DojoTextArea  ==
 
 
<source lang="java">
 
 
</source>
 
 
== DojoTextField  ==
 
 
<source lang="java">
 
 
</source>
 
 
== DojoTimeTextBox  ==
 
  
 
<source lang="java">
 
<source lang="java">
Line 347: Line 361:
  
 
== DojoToggleButton  ==
 
== DojoToggleButton  ==
 
<source lang="java">
 
 
</source>
 
 
== DojoTooltip  ==
 
 
<source lang="java">
 
 
</source>
 
 
== DojoTooltipDialog  ==
 
 
<source lang="java">
 
 
</source>
 
 
== DojoTree  ==
 
  
 
<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.


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

 






DataGrid and related types

 


Div, FloatLeft, and FloatRight

 


DojoAccordionContainer

 

DojoBarGraph

 

DojoBorderContainer

 

DojoBubbleChart

 





DojoContentPane

 

DojoContextMenu

 



DojoDialog

 


DojoLineGraph

 

DojoMenuItem

 

DojoPieChart and related types

 


DojoStackContainer

 

DojoTabContainer

 

DojoTitlePane

 

DojoToggleButton

 

DojoTreeNode

 

GridLayout and related types

 

Grouping

 

HTML

 




Code snippets main page

Back to the top