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 65: Line 65:
  
 
== CurrencyTextBox (DojoCurrencyTextBox)  ==
 
== CurrencyTextBox (DojoCurrencyTextBox)  ==
 +
 +
<source lang="java">
 +
 +
</source>
 +
 +
== DataGrid and related types  ==
  
 
<source lang="java">
 
<source lang="java">
Line 240: Line 246:
 
</source>  
 
</source>  
  
== DojoBorderContainer ==
+
== BorderContainer (DojoBorderContainer) ==
  
 
<source lang="java">
 
<source lang="java">
Line 285: Line 291:
 
= Visualization  =
 
= Visualization  =
  
<br>
 
  
 +
== BarGraph (DojoBarGraph) ==
  
 +
<source lang="java">
  
<br>  
+
</source>  
  
 
+
== BubbleChart (DojoBubbleChart) ==
 
+
<br>
+
 
+
== DataGrid and related types  ==
+
  
 
<source lang="java">
 
<source lang="java">
Line 301: Line 304:
 
</source>  
 
</source>  
  
<br>
 
  
== Div, FloatLeft, and FloatRight  ==
+
== LineGraph (DojoLineGraph) ==
  
 
<source lang="java">
 
<source lang="java">
Line 309: Line 311:
 
</source>  
 
</source>  
  
<br>
+
== PieChart (DojoPieChart) and related types ==
 
+
 
+
 
+
== DojoBarGraph ==
+
  
 
<source lang="java">
 
<source lang="java">
Line 319: Line 317:
 
</source>  
 
</source>  
  
== DojoBubbleChart ==
+
<br>
 +
 
 +
== Div, FloatLeft, and FloatRight ==
  
 
<source lang="java">
 
<source lang="java">
  
 
</source>  
 
</source>  
 
<br>
 
  
  
Line 356: Line 354:
  
  
== DojoLineGraph  ==
 
 
<source lang="java">
 
 
</source>
 
 
== DojoMenuItem  ==
 
 
<source lang="java">
 
 
</source>
 
 
== DojoPieChart and related types  ==
 
 
<source lang="java">
 
 
</source>
 
  
 
== DojoTreeNode  ==
 
== DojoTreeNode  ==

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

 

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

 

GridLayout and related types

 

Grouping

 

StackContainer (DojoStackContainer)

 

TabContainer (DojoTabContainer)

 

TitlePane (DojoTitlePane)

 


Visualization

BarGraph (DojoBarGraph)

 

BubbleChart (DojoBubbleChart)

 


LineGraph (DojoLineGraph)

 

PieChart (DojoPieChart) and related types

 


Div, FloatLeft, and FloatRight

 




DojoContentPane

 

DojoContextMenu

 



DojoDialog

 



DojoTreeNode

 

HTML

 




Code snippets main page

Back to the top