setApplicationSkin
setApplicationSkin(skin: JadeSkinApplication);
The setApplicationSkin method of the Application class defines the
When you call this method to set a skin, any existing skin for the application is replaced. When the value of the
When the setApplicationSkin method is first called, the collected skin data is stored as a blob on the JadeSkinApplication instance. Subsequent calls use this stored information and do not need to retrieve the skin information.
In addition, a presentation client caches the skin information. As a result, subsequent calls of the setApplicationSkin method only need to request the creation of the skin from the presentation client cache file without having to transmit the skin data.
When you change a skin definition using the JadeSkinMaintence form or by loading a form and data definition (.ddb or .ddx) file, the timestamp of all JadeSkinApplication instances is updated, which requires a rebuild of the skin information the first time each skin is set for an application or form. If you change Jade skin information by any other means, you must call the
Each control that is active or subsequently loaded applies the corresponding control skin matching the value of the
Changing a skin object after this method is called has no impact on the displayed skin. To apply any skin changes dynamically, you must call the
To clear the application skin (cancel the skin display), call this method again with a null value, as follows.
app.setApplicationSkin(null);
See also the Application class getApplicationSkin method, the