UIEvolutin Inc.
UJML Language Reference
Capturing User Input

UJML provides several different ways to capture user input.

Most applications need to do more than just display some information; they also need to interact with the user in some way. UJML provides several types of user input functionality, allowing you to create rich and responsive user interfaces.

Device independent user input

Different devices vary a great deal in functionality and design, including the methods that are provided for users to interact with the device. A device can have anywhere from no buttons to a full keyboard. Some of those buttons might be dedicated to device functions or to movement. A device might provide a stylus or some other pointing device, or it might not. A single application designed to run across such a wide range of devices requires a limited, but ubiquitous, set of user input methods which will work almost everywhere. 

To meet this need, UJML provides events and device-dependant data entry elements which include the most commonly provided device input functionality. See Handling Events, Events. For devices that support a pointing device there is support for selection of on-screen visual elements, along with a way to use button presses to select the same elements on devices without pointing device support. See Visual Elements, Selection Events. UJML also supports button presses not attached to on-screen elements including specialized function keys. See On-Key Events, Function Keys

Because the available buttons themselves can vary so much from device to device, UJML recognizes the key codes most likely to be supplied by a device. See Key Codes. This is combined with device-agnostic visual edit elements providing single and multiline text input. See Edit Boxes.

Topic 
Description 
Selection events are fired when the user selects a visual element with a pointing device or clicks a related accelerator button. 
Function keys are special purpose buttons on a device, with an associated label. 
On-Key events are fired when the user presses a button or releases a pressed button. 
Key codes are the string values associated with buttons on a device. 
Edit boxes allow the user to input text into a UJML application. 
Copyright (c) 2000-2007 UIEvolution, Inc. All rights reserved.
What do you think about this topic? Send feedback!