SAS Object-Oriented Programming Concepts |
The SAS Component Object Model (SCOM) is an object-oriented
programming model that provides a flexible framework for SAS/AF component
developers. With SCOM, you can develop plug-and-play components that adhere
to simple communication rules, which in turn make it easy to share information
between components.
A component in SCOM is a self-contained, reusable object
with specific properties, including
-
a set of attributes and methods
-
a set of events that the object
sends
-
a set of event handlers that execute in response
to various types of events
-
a set of supported or required interfaces.
With SCOM, you can design components
that communicate
with each other, using any of the following processes:
Attribute linking |
enabling a component to change one
of its attributes when the value of another attribute is changed. |
Model/view communication |
enabling a view (typically a control)
to communicate with a model based on a set of common methods that are defined
in an interface. |
Drag and drop operations |
enabling information to be transferred
from one component to another by defining "drag" attributes on
one component and "drop" attributes on the other. |
Event handling |
enabling a component to send an event
that another component can respond to by using an associated event handler. |
For more information on component communication with
SCOM, see Adding Communication Capabilities to Components.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.