Using catalogs

You can use the Catalog panel to save custom objects, colors, and patterns for later use. Adding items to the Catalog panel creates a library that can be accessed whenever you open a project in BlackBerry Composer.

The BlackBerry Composer has six default catalogs:

  • Animations: stores predefined animation objects
  • Buttons: stores predefined button objects
  • Colors: stores predefined colors
  • Images: stores pattern images that can be used as fills for objects
  • Objects: stores static shapes, text, and rasterized images
  • Sounds: stores imported sound files

You can create additional catalogs and specify the types of items they can store.

View the Catalog panel

On the Window menu, click Catalog.

Add a color to the Catalog

Perform one of the following actions:
  • On the toolbox, drag the color from the Stroke Swatch or Fill Swatch to the Catalog.
  • On the Inspector, click the Fill or Stroke tab, then drag the color from the Color Swatch to the Catalog.
If you try to drag an item to a catalog that does not allow the selected type, the BlackBerry Composer automatically adds the item to the appropriate default catalog.

Add an object to the Catalog

Drag the object from the Objects panel to the Catalog.

Add a pattern to the Catalog

  1. On the Inspector, click the Fill tab.
  2. Click Pattern from the drop-down list.
  3. Drag the color from the Color Swatch to the Catalog.

Open a catalog

Choose a catalog in the Catalog drop-down list.

Create a new catalog

  1. Click the Catalog options icon, then click New.
  2. In the Catalog Name field, provide a unique name for the catalog.
  3. Define the types of items that you can add to the catalog. Select any combination of animations, buttons, colors, images, objects, and sounds, or select All to permit all six.

Edit an existing custom catalog

  1. Choose a custom catalog in the Catalog drop-down list.
  2. Click the Catalog options icon.
  3. Click Edit.
  4. In the Catalog Name field, edit the name for the catalog.
  5. Edit the types of items that you can add to the catalog.

Delete a custom catalog

  1. Choose a custom catalog in the Catalog drop-down list.
  2. Click the Catalog options icon.
  3. Click Delete.

Add a Catalog item to a project

  1. Choose a catalog in the Catalog drop-down list.
  2. Click the item you want to add.
  3. Drag the selected item and perform one of the following actions:
    • To add a color, drag the color onto the Fill or Stroke tab on the Inspector panel or the Fill or Stroke color swatches on the toolbox.To add a color, drag the color onto the Fill or Stroke tab on the Inspector panel or the Fill or Stroke color swatches on the toolbox.
    • To add a pattern, drag the image onto the Fill tab on the Inspector panel.
    • To add an animation, button, or static object, drop the object onto the Objects panel or the project canvas.

Delete an item from the Catalog

  1. Choose a catalog in the Catalog drop-down list.
  2. Click the item that you want to delete.
  3. Click the Delete icon.