|
GLG Toolkit, JavaScript Library
Version 4.6
|
Mutable double object. More...
Mutable double object.
This object contains a double value. New GlgDouble instances can be created using the CreateGlgDouble method.
Static Public Member Functions | |
| static GlgDouble | CreateGlgDouble (double value) |
| Constructor. More... | |
| static double | GetValue (GlgDouble object) |
| Retrieves a double value of GlgDouble. More... | |
| static void | ReleaseToCache (GlgDouble double_obj) |
| Returns the object to the internal cache for reuse. More... | |
| static void | SetValue (GlgDouble object, double value) |
| Sets a double value of GlgDouble. More... | |
|
static |
Constructor.
Creates an instance of GlgDouble 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 GlgDouble instance. |
|
static |
Retrieves a double value of GlgDouble.
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.
| double_obj | The object to release. |
|
static |
Sets a double value of GlgDouble.
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. |