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 76: Line 76:
  
 
</source>  
 
</source>  
 +
 +
 +
== Editor (DojoEditor)  ==
 +
 +
<source lang="java">
 +
 +
</source>
 +
 +
== Grid (DojoGrid)  ==
 +
 +
<source lang="java">
 +
 +
</source>
 +
 +
== HorizontalSlider (DojoHorizontalSlider)  ==
 +
 +
<source lang="java">
 +
 +
</source>
 +
 +
 +
 +
  
  
Line 173: Line 196:
 
</source>  
 
</source>  
  
== DojoEditor  ==
 
  
<source lang="java">
 
 
</source>
 
 
== DojoGrid  ==
 
 
<source lang="java">
 
 
</source>
 
 
== DojoHorizontalSlider  ==
 
 
<source lang="java">
 
 
</source>
 
  
 
== DojoLineGraph  ==
 
== DojoLineGraph  ==

Revision as of 11:55, 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)

 







Layout

Visualization

Box

 






DataGrid and related types

 


DIv, FloatLeft, and FloatRight

 


DojoAccordionContainer

 

DojoBarGraph

 

DojoBorderContainer

 

DojoBubbleChart

 





DojoContentPane

 

DojoContextMenu

 



DojoDialog

 


DojoLineGraph

 

DojoMenu

 

DojoMenuItem

 

DojoPieChart and related types

 

DojoProgressBar

 

DojoRadioGroup

 

DojoStackContainer

 

DojoTabContainer

 

DojoTextArea

 

DojoTextField

 

DojoTimeTextBox

 

DojoTitlePane

 

DojoToggleButton

 

DojoTooltip

 

DojoTooltipDialog

 

DojoTree

 

DojoTreeNode

 

GridLayout and related types

 

Grouping

 

HTML

 

Hyperlink

 

Image

 

List

 

ListMulti

 

PasswordTextField

 

RadioGroup

 

Shadow

 

Span

 

TextArea

 

TextField

 

TextLabel

 

Tooltip

 

Tree and related types

 



Code snippets main page

Back to the top