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 1: Line 1:
Some EGL Rich UI widgets are written in EGL, some are based on Dojo technology. You can use the two kinds of widgets in the same application.<br>  
+
When you write a Rich UI application, the typical process is as follows:
 +
 
 +
*Create a Handler type of stereotype RUIHandler.<br>
 +
*Declare the widgets and customize them. In some cases, assign event handlers. <br>
 +
*Write initialization code in the on-construction function.<br>
 +
*Display the widgets by including them either in the initialUI array of the Rich UI handler or in the children array of other widgets.<br>
 +
 
 +
<br>
  
 
= BidiTextArea  =
 
= BidiTextArea  =
Line 5: Line 12:
 
<source lang="java">
 
<source lang="java">
  
</source>
+
</source>  
  
 
= BidiTextField  =
 
= BidiTextField  =
Line 11: Line 18:
 
<source lang="java">
 
<source lang="java">
  
</source>
+
</source>  
  
 
= Box  =
 
= Box  =
Line 17: Line 24:
 
<source lang="java">
 
<source lang="java">
  
</source>
+
</source>  
  
 
= Button  =
 
= Button  =
Line 23: Line 30:
 
<source lang="java">
 
<source lang="java">
  
</source>
+
</source>  
  
 
+
= Checkbox =
= Checkbox =
+
  
 
<source lang="java">
 
<source lang="java">
  
</source>
+
</source>  
  
 +
<br>
  
 
= Combo  =
 
= Combo  =
Line 37: Line 44:
 
<source lang="java">
 
<source lang="java">
  
</source>
+
</source>  
  
 +
<br>
  
 
= DataGrid and related types  =
 
= DataGrid and related types  =
Line 44: Line 52:
 
<source lang="java">
 
<source lang="java">
  
</source>
+
</source>  
  
 +
<br>
  
 
= DIv, FloatLeft, and FloatRight  =
 
= DIv, FloatLeft, and FloatRight  =
 +
 +
<source lang="java">
 +
 +
</source>
  
 
<br>  
 
<br>  

Revision as of 18:00, 13 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. In some cases, assign event handlers.
  • Write initialization code in the on-construction function.
  • Display the widgets by including them either in the initialUI array of the Rich UI handler or in the children array of other widgets.


BidiTextArea

 

BidiTextField

 

Box

 

Button

 

Checkbox

 


Combo

 


DataGrid and related types

 


DIv, FloatLeft, and FloatRight

 


DojoAccordionContainer


DojoBarGraph


DojoBorderContainer


DojoBubbleChart


DojoButton


DojoCalendar


DojoCheckbox


DojoColorPalette


DojoComboBox


DojoContentPane


DojoContextMenu


DojoCurrencyTextBox


DojoDateTextBox


DojoDialog


DojoEditor


DojoGrid

DojoHorizontalSlider


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




Back to the top