PRODUCTS

The STYLED-CONTROLS library

The COM.CURL.GUI.STYLED library is an add-on library that provides style sheets and skinned controls for the Curl GUI Toolkit. It is compatible with version 6.0 of the Curl RTE.

You must use the version of the library that goes with the version of the RTE you downloaded.

The library includes a basic StyleManager implementation called BasicStyleManager. This class implements "style sheets" for GUI objects. It also provides skinnable UI delegates for almost all of the controls in the Curl GUI Toolkit. Finally, it includes a default skin for all of the skinnable controls.

Developing with the Library

To get started with this library you need to download, unzip, and install the documentation in the Curl IDE.

If you previously downloaded the beta version of Version 6.0 or the Curl RTE or Curl IDE and the beta version of the styled controls library, you must download the released version of Version 6.0 of the Curl RTE or IDE along with the version of the styled controls library available here.

First, download and unzip the library to a convenient location. This location should not be inside of any other project directory. Note that there are two zip files for each locale. For the "en" locale, the files are COM.CURL.GUI.STYLED-6.0-01-en.zip, which should be used for development and COM.CURL.GUI.STYLED-6.0-01-pcurl-en.zip, which should be used for deployment. The former zip file is larger because it includes documentation. The zip file that includes "pcurl" in the name is smaller because it only includes files that need to be deployed.

Once you have downloaded the development version of the library, you can install the documentation in the Curl IDE. Choose Install Documentation from the Help menu in the IDE. Click the Install button and then navigate to the location where you unzipped your copy of the library and select the manifest.mcurl file. You only need to do this once, when you download the library (or if you download an update, you'll want to uninstall and install the updated documentation).

To use the default skin, you will do the following:

  • Download the styled controls library and unzip it in a convenient location.
  • Install the documentation from the downloaded library.
  • In your project, delegate to the downloaded library. Use an alternate manifest location to specify the location of the library on your web site.
  • In your applet, import the STYLED-CONTROLS package and call install-style-sheet.
  • When you deploy, deploy both the applet and the library.

The installed documentation explains all of these steps in detail. After you install it, You will see a new item at the bottom of the Contents panel in the documentation viewer called COM.CURL.GUI.STYLED.6.0. Expand that item and you'll see the API Reference and the Skinned Controls Developer's Guide. Click the Skinned Controls link under that to see the complete documentation.

Home  Print Page  Site Map Disclaimers Privacy Policy