UJML Language Reference
Contents
|
Index
Contents
Introduction
What's New in UJML 2.1
New in UJML 1.5
Syntax Notes
UJML Concepts
Layout of UJML Files
XML Tags
XML Entities
Types of UJML Files
Application Files
Partition Files
Component Files
Interface Declaration Files
Entity Include Files
Media Files
Byte Code Files
Package Files
Anatomy of a UJML Application
Running Files
Linking Files
Including Files
Execution Order
Identifiers
Names
Scope
Sharing
Data
Data Types
boolean
int
string
reference
Interface Types
Literals and Constants
Variables
Variables Explained
State Variables
Parameters
Arrays
Arrays Explained
Resizable Arrays
Data Scoping and Sharing
State Transitions
Delayed Execution in Transitions
Scripting
Script Blocks
XML Scripts
Script Expressions
Using Functions
Flow Control
Side Effects
User Defined Functions
Returning Function Results
Function Scoping and Sharing
Handling Events
Visual Elements
UJML Colors
Text and Fonts
Images
Visual Components
Position and Size
Z-Order
Nesting
Visual Element Templates
Template Scoping and Sharing
Audio Elements
Resources
Component Resources
Resource Management Events
Capturing User Input
Selection Events
Function Keys
On-Key Events
Key Codes
Edit Boxes
State Machines
State Machine Scoping and Sharing
Components
Interfaces
Component Events
Components and Object Oriented Programming
Device Independence
Determining Device Context
Screen Resolution
Color Support
Image Support
Audio Support
Locale Independence
Compiling
Debugging
UJML Tags
<add>
<accelerators>
<and>
<application>
<bg>
<box>
<call>
<caption>
<clear-state>
<comment>
<component>
<condition>
<delay>
<discard>
<display>
<display-instance>
<div>
<edit>
<else>
<eq>
<eval>
<event>
<events>
<execute>
<expand>
<face>
<fg>
<fn>
<function>
<functions>
<gt>
<gte>
<height>
<if>
<image>
<image-url>
<include>
<index>
<instance>
<interface>
<interfaces>
<is-null>
<key>
<label>
<line>
<lt>
<lte>
<max>
<min>
<mod>
<mult>
<multi-edit>
<multi-label>
<multi-text-height>
<name>
<ne>
<not>
<or>
<oval>
<parameters>
<partition>
<play>
<polygon>
<polyline>
<prefetch>
<ref>
<resource>
<resources>
<return>
<round-box>
<script>
<set>
<set-state>
<size>
<sound>
<sound-url>
<src-x>
<src-y>
<state>
<states>
<state-index>
<state-machine>
<state-machines>
<state-var>
<state-variables>
<strcat>
<streq>
<strlen>
<string-to-int>
<style>
<sub>
<substring>
<template>
<templates>
<text>
<text-height>
<text-width>
<then>
<trace>
<transition>
<ujml>
<url>
<val>
<var>
<variables>
<while>
<width>
<x>
<x1>
<x2>
<x-alpha>
<x-arc-height>
<x-arc-width>
<x-bg>
<x-caption>
<x-clip>
<x-oval>
<x-sound>
<x-src-height>
<x-src-width>
<y>
<y1>
<y2>
Compilation Tags
<?ujml-define?>
<?ujml-else?>
<?ujml-endif?>
<?ujml-ifdef?>
<?ujml-ifndef?>
<?ujml-undef?>
Entities
Color Entities
Font Entities
Script Entities
Event Entities
Application Control Entities
Device Information Entities
Boolean Device Information Entities
Integer Device Information Entities
String Device Information Entities
Feature Support Information Entities
Functions
Boolean Functions
_and()
_eq()
_gt()
_gte()
_lt()
_lte()
_ne()
_not()
_or()
_streq()
Math Functions
_max()
_min()
_srand()
String Functions
_getCharacterCode()
_string_to_int()
_strcat()
_strlen()
_substring()
_urlEncode()
Array Functions
_getArrayLength()
_resizeArray()
Event Functions
_getStringEventData()
State Functions
_clear_state()
_state_index()
Component Functions
_castInterface()
_createInstance()
_getSelf()
_instanceOf()
_is_null()
_isSameInstance()
Application Control Functions
_discard()
_link()
_prefetch()
_replace()
_run()
_trace()
_unlink()
_unload()
_unloadSelf()
Device Information Functions
_getBooleanProperty()
_getIntProperty()
_getStringProperty()
_image_url()
_isSupported()
_multi_text_height()
_sound_url()
_text_height()
_text_width()
System Functions
_msec()
_x_browseTo()
_x_phoneTo()
_x_utcCurrentDate()
Property Bag Functions
_x_closeBag()
_x_getBagBoolean()
_x_getBagInt()
_x_getBagString()
_x_loadBag()
_x_removeBag()
_x_removeBagKey()
_x_setBagBoolean()
_x_setBagInt()
_x_setBagString()
_x_storeBag()
Events
onKeyDown Event
onKeyUp Event
onSelect Event
UNLOAD Event
onSoundStarted Event
onSoundFinished Event
onRequestStarted Event
onRequestSucceeded Event
onRequestFailed Event
onResourceAvailable Event
onResourceError Event
Scripting Language
Literals
Operators
Keywords
Statements
Expressions
Comments
Samples
Hello World Samples
helloworld1.ujml
helloworld2.ujml
helloworld3.ujml
helloworld4.ujml
State Transition Samples
transition1.ujml
transition2.ujml
transition3.ujml
transition4.ujml
stopwatch.ujml
Scripting Samples
assignment.ujml
logic.ujml
math.ujml
strings.ujml
colorchanger.ujml
colors.ujml
edit.ujml
events.ujml
datetime.ujml
lunarlander.ujml
Component Samples
Things
ithings.ujmi
things.ujml
animal.ujml
vegetable.ujml
mineral.ujml
unknown.ujml
Things Locale
thingdata.ujml
Life
ilife.ujmi
life.ujml
lifeblock.ujml
lifegrid.ujml
lifegridlight.ujml
lifemenu.ujml
life.ent
Shared
icollections.ujmi
flexiblelist.ujml
itimer.ujmi
timer.ujml
State Machine Samples
background.ujms
datetime.ujms
flexlist.ujms
listbox.ujms
messagebox.ujms
padbuttons.ujms
screenpane.ujms
scrollbar.ujms
scrollmenu.ujms
scrolltextbox.ujms
uicinclude.ent
menulist.ujms
pane.ujms
Application Runner Sample
apprunner.ujml
data.ujms
appdata.xml
data.xsl
Visual Elements Sample
visualelements.ujml
settings.ujml
venclude.ent
Visual Elements Locale
velocale.ujml
stglocale.ujml
Copyright (c) 2000-2007 UIEvolution, Inc. All rights reserved.
Contents
|
Index