JadeSkin Class (superseded from JADE release 6.0)

The JadeSkin class contains JADE skins defined for your JADE release 5.1 and 5.2 applications and encapsulates the behavior required to define and maintain JADE skins using the JadeSkinMaint and JadeSkinSelect forms provided by the JADE RootSchema.

As the functionality of this class has been replaced by new skin classes and this class provides limited functionality required to define skins only for the application, it may be deimplemented in a later release.

For details about the extended functionality that enables you to define and maintain skins for your runtime applications, forms, or controls and use these only when specific criteria are met, see the JadeSkinEntity and JadeSkinRoot classes, later in this chapter, and "Defining and Maintaining JADE Skins at Run Time", in Chapter 2 of the JADE Runtime Application Guide.

A skin is a series of images that is applied to the caption line, menu line, and border areas of each form to provide an enhanced look and feel to each form. The skin can also define images for buttons, JadeMask controls, check boxes, and option buttons to further enhance the look and feel forms.

In JADE, applications can set a skin that is applied to all JADE forms displayed during the running of that application in the current work session. User applications could enforce a specific skin (for example, a company logo and so on), or they could provide the user with the ability to select a preferred skin that is set by the application initialize method (by calling the app.setSkin method).

JADE provides a collection of skins for the JADE development environment and a global collection that contains any user-defined skins that are available to all schemas. As JADE must be able to upgrade existing systems by just replacing the JADE system files, the skins used by the JADE development environment cannot be updated, and access to user-defined skins is not permitted.

As references to skins information are contained in the _usergui.dat system schema file, when the ReadOnlySchema parameter in the JADE initialization file is set to true, skins cannot be loaded.

JADE provides the following facilities that are available to any developer.

The set of skin images used by JADE is provided with the product release so that you can use these skins in your applications, if required. (By default, skins are not used in JADE 5.1 and 5.2 applications.)

The form border for a skin is made up of 11 images, as shown in the following image.

The following is a description of the above areas.

Button , CheckBox, and OptionButton control images are optional. If these images are not included, the standard drawing of controls is performed. If not all images for a button are included, the required state is drawn by using the button up picture. For example, if there is no roll over picture, no rollover state is displayed.

If the skin includes button images, any Button or JadeMask control adopts the appearance defined by the skin. Any button then also behaves like a JadeMask control with roll over and roll under effects. (For details, see "JadeMask Class", in Chapter 2.)

The following areas are not affected by using a skin.

For details about maintaining and using JADE skins, see "Specifying Your JADE Installation Preferences", in Chapter 2 of the JADE Installation and Configuration Guide, and "Defining and Maintaining JADE Skins" under "Using JADE Skins in Your Runtime Applications", in Chapter 2 of the JADE Runtime Application Guide.

Object

(None)