FAXL3: Commands
From fringDocumentation
Contents |
Commands
Commands is a set of Command elements where a fring Command defines a set of actions to execute locally or send data to the server and display a label.
The UI implementation of a Command may vary between architectures. The current implementation adds each Command to the Soft Key menu using its label. When the label is selected, all the actions of that Command are executed.
Command Hierarchy
Since Commands may appear in various places in the FAXL Command hierarchy is used to display them.
If a Message Feed contains two Commands c1 and c2 and the user is focused on a Control that also contains two Commands c3 and c4, pressing the Soft Key displays a menu with four Commands: c1, c2, c3, c4. Pressing the Joystick-In button displays the menu only with c3, c4 Commands. If the user changes focus to a Control with a single Command c5, pressing the Soft Key displays a menu with three Commands: c1, c2, c5. Pressing the Joystick-In button executes Command c5 (instead of opening a menu with only one Command displayed).
Element Commands
The following are the elements or building blocks comprising a Commands:
| Required | Name | Type | Description |
| Optional/Unbounded | Command | Command | An element defining a single Command. |
FAXL Syntax
<Commands> <Command> </Command> <Command> </Command> <Commands>
FAXL compatibility
Supported from FAXL 2.5