gumbo.graphic
Class GlobalGraphicFactory

java.lang.Object
  |
  +--gumbo.graphic.GlobalGraphicFactory

public class GlobalGraphicFactory
extends java.lang.Object

Provides a common point of access for the graphic factory used by the client and system. The intent is for the client to provide a global factory that takes advantage of the native graphic system. To assure consistency during runtime the factory can only be initialized once. As a convenience, if the factory has not been initialized upon first access it will be initialized with DefaultGraphicFactory. TODO: Is this really needed? Perhaps native classes should just use compatible native resources instead of getting them through the factory.

Version:
$Revision: 1.1 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Method Summary
static gumbo.graphic.GraphicFactory getGraphicFactory()
           
static void initGraphicFactory(gumbo.graphic.GraphicFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initGraphicFactory

public static void initGraphicFactory(gumbo.graphic.GraphicFactory factory)

getGraphicFactory

public static gumbo.graphic.GraphicFactory getGraphicFactory()