org.vizzini.ui.graphics
Class GraphicsUIFactory

java.lang.Object
  extended by org.vizzini.ui.graphics.GraphicsUIFactory

public class GraphicsUIFactory
extends Object

Provides creation methods for graphics UI objects.

Since:
v0.2
Version:
v0.3
Author:
Jeffrey M. Thompson

Field Summary
static int AWT
          Constant for AWT type.
static int JAVA3D
          Constant for Java 3D type.
static int SWING
          Constant for Swing type.
 
Method Summary
 IViewer createAWTObjectViewer()
          Return a new AWT object viewer.
 IViewerSwing createJava3DObjectViewer()
          Return a new Java 3D object viewer.
 IViewer createObjectViewer(int type)
          Return a new object viewer of the given type.
 IViewerSwing createSwingObjectViewer()
          Return a new Swing object viewer.
protected  IViewer createViewer(String className)
          Return a new object viewer of the given type.
static GraphicsUIFactory getInstance()
          Return the singleton instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AWT

public static final int AWT
Constant for AWT type.

See Also:
Constant Field Values

SWING

public static final int SWING
Constant for Swing type.

See Also:
Constant Field Values

JAVA3D

public static final int JAVA3D
Constant for Java 3D type.

See Also:
Constant Field Values
Method Detail

getInstance

public static final GraphicsUIFactory getInstance()
Return the singleton instance.

Since:
v0.3

createAWTObjectViewer

public IViewer createAWTObjectViewer()
Return a new AWT object viewer.

Since:
v0.2

createJava3DObjectViewer

public IViewerSwing createJava3DObjectViewer()
Return a new Java 3D object viewer.

Since:
v0.3

createObjectViewer

public IViewer createObjectViewer(int type)
Return a new object viewer of the given type.

Since:
v0.2

createSwingObjectViewer

public IViewerSwing createSwingObjectViewer()
Return a new Swing object viewer.

Since:
v0.2

createViewer

protected IViewer createViewer(String className)
Return a new object viewer of the given type.

Since:
v0.2


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02