jfig.objects
Class FigObjectFactory
java.lang.Object
jfig.objects.FigObjectFactory
- Direct Known Subclasses:
- FigObjectFactory.AWTFactory, FigObjectFactory.Java2DFactory
- public class FigObjectFactory
- extends java.lang.Object
provides factory and utility functions to create FIG objects.
FigObjectFactory provides a full set of methods to create FIG
graphical objects in either AWT 1.1 or Java2D variants.
To ensure compatibility with older JDKs, the Microsoft VM, and several
1.1 based free JVMs, the actual object creation is delegated
to two inner classes, AWTFactory and Java2DFactory.
Nested Class Summary |
(package private) class |
FigObjectFactory.AWTFactory
inner class to create AWT 1.1 based objects with restricted functionality
but compatible with Java 1.1 based virtual machines. |
(package private) class |
FigObjectFactory.Java2DFactory
inner class to create Java2D based objects |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FigObjectFactory
public FigObjectFactory()
getDefaultObjectFactory
public static FigObjectFactory getDefaultObjectFactory()
createPolylineRenderer
public FigRenderer createPolylineRenderer(FigPolyline target)
createXSplineRenderer
public FigRenderer createXSplineRenderer(FigXSpline target)
createSplineRenderer
public FigRenderer createSplineRenderer(FigSpline target)
createBezierSplineRenderer
public FigRenderer createBezierSplineRenderer(FigBezier target)
createArcRenderer
public FigRenderer createArcRenderer(FigArc target)
createRectangleRenderer
public FigRenderer createRectangleRenderer(FigRectangle target)
createImageRenderer
public FigRenderer createImageRenderer(FigImage target)
createTextRenderer
public FigRenderer createTextRenderer(FigText target)
createEllipseRenderer
public FigRenderer createEllipseRenderer(FigEllipse target)