A
class can be defined to support or require one or more interfaces. For example, model/view
component communication is implemented with the use of interfaces. The
model typically supports the interface, whereas the
view requires the same interface. The interfaces for the components must match before
a model/view relationship can be established.
A class stores interface information as a
property to identify whether it supports or requires an interface. Interface data on a class
consists of the following items:
State
specifies whether the interface is New or Inherited.
InterfaceName
specifies the four–level catalog entry name of the interface class (such as sashelp.classes.staticStringList.intrface).
Status
indicates whether the interface is Required or Supported.
Although classes that support or require an interface are often used together, they
are still independent components and can be used without
taking advantage of an interface.