About Reusing Objects
Oracle Forms includes many features that make development projects easier
by allowing you to reuse objects. Reusing objects helps you maintain consistency
in your applications, and allows you to build on work that you or other developers
have done previously.
There are many ways to reuse an object; you can:
- Copy an object for when you want to create a new and separate instance of
the the object
- Subclass an object for when you want to create a new object that maintains
a link to the source object. Once you create a subclassed object, any changes
you make to the source object are inherited by the subclassed object when
you open or recompile the module that contains the subclassed object. If the
both modules are open, changes are inherited immediately.
- Create a visual attribute for when you want to create a standard for font,
color, and pattern properties for the form and menu objects that appear in
your application's interface.
- Create an object group for when you want to bundle objects into higher-level
building blocks that can be used in other parts of an application and in subsequent
development projects.
- Create a property class for when you want to define a universal subclassing
parent.
- Create a template form for when you want to create a default starting point
for team member development.
Templates typically include generic objects, such as boilerplate, toolbars,
program units, and more.
Related topics
About standards
Copying an object
Subclassing an object
Creating a named visual attribute
Creating an object group
Creating a property class
Creating a form based on a template form