TOC PREV NEXT INDEX



Property Notebooks


Notebook pages

Each time a part is added to the Emulator, its Properties Notebook is displayed in the Composer window. At any future time, a part's Properties Notebook can be viewed either by selecting the part's Object Name from the Part List or by clicking the part with the mouse.

Every part in the Composer has a minimum of one page in its properties notebook. This page is the part-specific properties page.

All properties specified in the properties notebook are the initial properties that a part will have. Some properties may be changed in the Emulator by either event code or by user interaction with the Emulator. The user may restore all parts to the state specified in the properties pages by choosing the Initialize Class menu item on the Program menu.

The property page for any part contains the name which will identify the declared object and the part-specific properties for that object. For example, the first page for a Checkbox would contain the Object Name plus the checkbox text and the initial checkbox state.

Parts may also have additional pages, where users can type code which executes when a part receives a penDown, penMove, or keyDown event, in addition to the default behavior for the part.

For example, when a button receives a penDown event, it will briefly highlight itself. In addition to this default behavior, users can write code which will occur after the highlight.

The user can enter any legal Java statements in these code event areas. Simplicity watches for any changes made and updates the Emulator so that the Emulator always reflects the current state of the code. If there is an error in the code, a message will be printed to the console. If an import statement is entered in a code event area, it will be moved to the proper place in the generated code.

At the top of every code page is a Code Sourcerer button. The Code Sourcerer will write Java statements for the user based upon the user's choices.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX