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 97: Line 97:
  
 
== HorizontalSlider (DojoHorizontalSlider)  ==
 
== HorizontalSlider (DojoHorizontalSlider)  ==
 +
 +
<source lang="java">
 +
 +
</source>
 +
 +
== HTML  ==
  
 
<source lang="java">
 
<source lang="java">
Line 258: Line 264:
 
</source>  
 
</source>  
  
== GridLayout and related types  ==
+
== ContentPane (DojoContentPane) ==
  
 
<source lang="java">
 
<source lang="java">
Line 264: Line 270:
 
</source>  
 
</source>  
  
== Grouping  ==
+
== ContextMenu (DojoContextMenu) ==
  
 
<source lang="java">
 
<source lang="java">
Line 270: Line 276:
 
</source>  
 
</source>  
  
== StackContainer (DojoStackContainer) ==
+
== DojoDialog  ==
  
 
<source lang="java">
 
<source lang="java">
Line 276: Line 282:
 
</source>  
 
</source>  
  
== TabContainer (DojoTabContainer) ==
 
  
<source lang="java">
 
  
</source>
 
  
== TitlePane (DojoTitlePane) ==
 
  
<source lang="java">
 
  
</source>
 
  
  
= Visualization =
+
== Div, FloatLeft, and FloatRight ==
 
+
 
+
== BarGraph (DojoBarGraph) ==
+
  
 
<source lang="java">
 
<source lang="java">
Line 298: Line 295:
 
</source>  
 
</source>  
  
== BubbleChart (DojoBubbleChart) ==
+
 
 +
== GridLayout and related types  ==
  
 
<source lang="java">
 
<source lang="java">
Line 304: Line 302:
 
</source>  
 
</source>  
  
 
+
== Grouping  ==
== LineGraph (DojoLineGraph) ==
+
  
 
<source lang="java">
 
<source lang="java">
Line 311: Line 308:
 
</source>  
 
</source>  
  
== PieChart (DojoPieChart) and related types  ==
+
== StackContainer (DojoStackContainer) ==
  
 
<source lang="java">
 
<source lang="java">
Line 317: Line 314:
 
</source>  
 
</source>  
  
<br>
+
== TabContainer (DojoTabContainer) ==
 
+
== Div, FloatLeft, and FloatRight  ==
+
  
 
<source lang="java">
 
<source lang="java">
Line 325: Line 320:
 
</source>  
 
</source>  
  
 +
== TitlePane (DojoTitlePane) ==
  
 +
<source lang="java">
  
 +
</source>
  
  
 +
= Visualization  =
  
  
== DojoContentPane  ==
+
== BarGraph (DojoBarGraph) ==
  
 
<source lang="java">
 
<source lang="java">
Line 337: Line 336:
 
</source>  
 
</source>  
  
== DojoContextMenu  ==
+
== BubbleChart (DojoBubbleChart) ==
  
 
<source lang="java">
 
<source lang="java">
Line 344: Line 343:
  
  
 
+
== LineGraph (DojoLineGraph) ==
 
+
== DojoDialog  ==
+
  
 
<source lang="java">
 
<source lang="java">
Line 352: Line 349:
 
</source>  
 
</source>  
  
 
+
== PieChart (DojoPieChart) and related types ==
 
+
 
+
== DojoTreeNode  ==
+
 
+
<source lang="java">
+
 
+
</source>
+
 
+
== HTML ==
+
  
 
<source lang="java">
 
<source lang="java">

Revision as of 14:09, 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)

 

DataGrid and related types

 


DateTextBox (DojoDateTextBox)

 


Editor (DojoEditor)

 

Grid (DojoGrid)

 

HorizontalSlider (DojoHorizontalSlider)

 

HTML

 

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)

 

BorderContainer (DojoBorderContainer)

 

Box

 

ContentPane (DojoContentPane)

 

ContextMenu (DojoContextMenu)

 

DojoDialog

 





Div, FloatLeft, and FloatRight

 


GridLayout and related types

 

Grouping

 

StackContainer (DojoStackContainer)

 

TabContainer (DojoTabContainer)

 

TitlePane (DojoTitlePane)

 


Visualization

BarGraph (DojoBarGraph)

 

BubbleChart (DojoBubbleChart)

 


LineGraph (DojoLineGraph)

 

PieChart (DojoPieChart) and related types

 




Code snippets main page

Back to the top