equal
deleted
inserted
replaced
77 public CachedPainter(int cacheCount) { |
77 public CachedPainter(int cacheCount) { |
78 getCache(getClass()).setMaxCount(cacheCount); |
78 getCache(getClass()).setMaxCount(cacheCount); |
79 } |
79 } |
80 |
80 |
81 /** |
81 /** |
82 * Renders the cached image to the the passed in <code>Graphic</code>. |
82 * Renders the cached image to the passed in <code>Graphic</code>. |
83 * If there is no cached image <code>paintToImage</code> will be invoked. |
83 * If there is no cached image <code>paintToImage</code> will be invoked. |
84 * <code>paintImage</code> is invoked to paint the cached image. |
84 * <code>paintImage</code> is invoked to paint the cached image. |
85 * |
85 * |
86 * @param c Component rendering to, this may be null. |
86 * @param c Component rendering to, this may be null. |
87 * @param g Graphics to paint to |
87 * @param g Graphics to paint to |