Resources Card

Access

The Resources card found in the Object Manager is opened in one of the following ways:


Purpose


Features


Instance Name and Class

The first two fields in the Resources card provide the object's name and the class from which the object is derived. You can change an object's name (it must be unique), but not its class. Use the name when referring to the object in code. Note that the object name is not the same as the label attribute which changes the label seen on button and label objects.


Attributes

Attributes define the look and feel of an object. Modifying Object Attributes and Geometry describes how to modify an object.


Event Handlers

Event handlers are methods that are executed when an event is generated by a user action in the interface. This area of the Resources card allows you to enter the name of a method that you want to handle the event. Handling Events describes this in more detail.

JDK 1.0.2 Style events are displayed in upper case and are marked as deprecated. JDK 1.1 Style events use both lower and upper case letters.

Notes:


Geometry

Geometry defines the location and dimensions of an object. Modifying Object Attributes and Geometry describes how to modify these.

Guide to the Cosmo Code Development Environment
12-96*507