Browse Prior Art Database

Office Container Class

IP.com Disclosure Number: IPCOM000121973D
Original Publication Date: 1991-Oct-01
Included in the Prior Art Database: 2005-Apr-04
Document File: 2 page(s) / 59K

Publishing Venue

IBM

Related People

Baker, R: AUTHOR [+3]

Abstract

Object-oriented programming technology allows for reusable code to be developed as classes within a framework of objects. In an object- oriented design developed for OfficeVision*, a generic container class for encapsulating all container-specific behavior is required. While some object-oriented languages provide a set of classes for certain types of collections, a new class with OfficeVision-specific behaviors is required.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 58% of the total text.

Office Container Class

      Object-oriented programming technology allows for
reusable code to be developed as classes within a framework of
objects. In an object- oriented design developed for OfficeVision*, a
generic container class for encapsulating all container-specific
behavior is required. While some object-oriented languages provide a
set of classes for certain types of collections, a new class with
OfficeVision-specific behaviors is required.

      The solution is a new class called the Container class which is
a generic container of OfficeVision Office Objects. The container
class provides specific functions, such as belongings, add, delete,
copyDeep, and copyShallow, which are inherited by the container
subclasses. The Container's View can add icons to its window, delete,
copy and move them as well. CopyDeep and copyShallow define how to
copy containers themselves, i.e., whether or not to copy the list of
a containers contents or the contents (which may be other containers)
themselves. If a container contains other containers and a copyDeep
method is specified, all levels of containment will be copied down to
the individual objects that are contained at the deepest level.

      The container class is one of the most widely used classes in
the OfficeVision system and, hence, is one of the most important. The
provision of a generic container class allows for writing the
behaviors of many of the OfficeVision classes only once, since a
large number of...