|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.graphic.GlobalGraphicFactory
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.
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 |
public static void initGraphicFactory(gumbo.graphic.GraphicFactory factory)
public static gumbo.graphic.GraphicFactory getGraphicFactory()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |