UJML supports only simple data types and arrays of simple data types.
There are four basic data types in UJML: boolean, int, string, and reference. The boolean and int data types are 'primitive' in the sense that they are stored and passed by value. The string is a 'complex' data type in that it is stored and passed as a pointer to an array of characters elsewhere in memory. The reference data type is also 'complex', consisting of a reference to an an instance of a UJML component elsewhere in memory. See Components.
Arrays of a single data type are supported. See Arrays. There is no support for compound data types (other than arrays).
Component instances may be stored as reference types, but may also be stored as interface types, which allow access to the methods and events exposed by an interface implemented by the component instance. See Components, Interfaces, Interface Types.
|
Topic |
Description |
|
A boolean is a logical value that is always either true or false. | |
|
An int is an integer—a signed, whole-number, numeric value. | |
|
A string is a sequence of Unicode characters. | |
|
A Reference Type is an opaque value used to reference an instance of a component. | |
|
An Interface Type is an opaque value used to reference a specified interface of a component instance. |
|
Copyright (c) 2000-2007 UIEvolution, Inc. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|