org.gicentre.utils.gui
Class DrawableFactory

java.lang.Object
  extended by org.gicentre.utils.gui.DrawableFactory

public class DrawableFactory
extends java.lang.Object

Factory to produce drawable renderers. This factory will allow renderers created in external libraries to be used by giCentre utilities.

Version:
3.3, 15th January, 2012.
Author:
Jo Wood, giCentre, City University London.

Constructor Summary
DrawableFactory()
           
 
Method Summary
static Drawable createHandyRenderer(org.gicentre.handy.HandyRenderer handy)
          Creates a Drawable instance from the given Handy (sketchy hand-drawn library) renderer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawableFactory

public DrawableFactory()
Method Detail

createHandyRenderer

public static Drawable createHandyRenderer(org.gicentre.handy.HandyRenderer handy)
Creates a Drawable instance from the given Handy (sketchy hand-drawn library) renderer.

Parameters:
handy - Hand-drawn renderer.
Returns:
Instance of the Drawable interface capable of sketchy hand-drawn rendering.


giCentre Utilities V.3.3, API documentation generated 6th April, 2013