Recent Changes - Search:

Information

Installation

Documentation

User Feedback

 

Compound elements

A compound element is not actually a new view element, but a collection of other view elements properly assembled to produce a ready-to-use set.

 

The compound elements included in the standard Ejs distribution are:

 

  • This compound element contains a Frame? with a two-dimensional Drawing Panel? on its center and a simple control Panel? on its bottom. The drawing panel contains a generic Particle drawable which you can link to your model variables. The control panel includes a Play/Pause TwoStateButton, a Reset Button, and a (non-assigned) numeric Field to which a model variable of type double can be linked.

 

  • This compound element is a three-dimensional version of DrawingFrame above. The panel at the center is a DrawingPanel3D? and the particle in it a Particle3D?.

 

  • This compound element is very similar to DrawingFrame above, but the center panel is a PlottingPanel? (i.e. a drawing panel with axes).

 

A user can create his/her own new compounds elements and add them to this panel for his/her own use.

 

To create a new compound element, first create the configuration you want in the tree of elements, using the elements currently available and customizing them (editing their properties, if required). Then, copy this group, and right-click on the compound elements palette to paste it. Then, follow the instructions to provide it with a name and an 24×24 icon that will be displayed for the new compound element.

 

New compound elements can be deleted by right-clicking on them and selecting the “Delete” option that will appear.

 



Edit - History - Print - Recent Changes - Search
Page last modified on April 29, 2009, at 12:11 AM