|
GLG Toolkit, JavaScript Library
Version 4.6
|
Mutable integer object. More...
Mutable integer object.
This object contains an integer value and is used to pass integer values as objects to the SendMessageToObject method.
GlgInteger instances can be created using CreateGlgInteger.
Static Public Member Functions | |
| static GlgInteger | CreateGlgInteger (int value) |
| Constructor. More... | |
| static int | GetValue (GlgInteger object) |
| Retrieves an integer value of GlgInteger. More... | |
| static void | ReleaseToCache (GlgInteger integer_obj) |
| Returns the object to the internal cache for reuse. More... | |
| static void | SetValue (GlgInteger object, int value) |
| Sets an integer value of GlgInteger. More... | |
|
static |
Constructor.
Creates an instance of GlgInteger containing the specified value. The static method is invoked on the GLG Toolkit handle obtained via a 'new GlgToolkit()' call at the application start-up.
| value | The value to assign to the GlgInteger instance. |
|
static |
Retrieves an integer value of GlgInteger.
The static method is invoked on the GLG Toolkit handle obtained via a 'new GlgToolkit()' call at the application start-up.
| object | The object to query. |
|
static |
Returns the object to the internal cache for reuse.
The object should not be accessed after it is released to the cache.
Only objects obtained with a call to GLG API method should be released to the cache.
The static method is invoked on the GLG Toolkit handle obtained via a 'new GlgToolkit()' call at the application start-up.
| integer_obj | The object to release. |
|
static |
Sets an integer value of GlgInteger.
The static method is invoked on the GLG Toolkit handle obtained via a 'new GlgToolkit()' call at the application start-up.
| object | The object to set the value of. |
| value | The new value. |