All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class collage.generic.DisplayFactory

java.lang.Object
   |
   +----openstar.generic.ParamSet
           |
           +----openstar.generic.Factory
                   |
                   +----collage.generic.DisplayFactory

public class DisplayFactory
extends Factory
Display factory base class.


Variable Index

 o NAME

Constructor Index

 o DisplayFactory()

Method Index

 o create()
Creates a new display instance.
 o newParam(String, Object)
Implements the support for testing the "name" parameter.

Variables

 o NAME
  protected final String NAME

Constructors

 o DisplayFactory
  public DisplayFactory()

Methods

 o newParam
  public int newParam(String name,
                      Object value)
Implements the support for testing the "name" parameter.

Note: A defined name parameter must still be passed to the concrete display object in the create() method of the derived Display factory class.

Overrides:
newParam in class Factory
 o create
  public abstract Object create()
Creates a new display instance. All concrete factory classes must implement this method.

All objects created from descendants of this factory class must return Display-objects. However, this cannot be enforced at compile-time due to the generic character of the factory mechanism.

Overrides:
create in class Factory

All Packages  Class Hierarchy  This Package  Previous  Next  Index