org.diylc.common
Class ObjectCache

java.lang.Object
  extended by org.diylc.common.ObjectCache

public class ObjectCache
extends java.lang.Object

Repository for object that may be reused, such as Stroke or AlphaComposite.

Author:
Branislav Stojkovic

Method Summary
 java.awt.Stroke fetchBasicStroke(int width)
           
static ObjectCache getInstance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ObjectCache getInstance()

fetchBasicStroke

public java.awt.Stroke fetchBasicStroke(int width)