com.croftsoft.core.animation.collector
Class NullRepaintCollector

java.lang.Object
  extended by com.croftsoft.core.animation.collector.NullRepaintCollector
All Implemented Interfaces:
RepaintCollector

public class NullRepaintCollector
extends Object
implements RepaintCollector

A Null Object RepaintCollector implemenation.

Since:
2002-12-01
Version:
2002-12-01
Author:
David Wallace Croft

Field Summary
static NullRepaintCollector INSTANCE
           
 
Method Summary
 int getCount()
           
 Rectangle[] getRepaintRegions()
           
 void repaint()
           
 void repaint(int x, int y, int width, int height)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final NullRepaintCollector INSTANCE
Method Detail

getCount

public int getCount()
Specified by:
getCount in interface RepaintCollector

getRepaintRegions

public Rectangle[] getRepaintRegions()
Specified by:
getRepaintRegions in interface RepaintCollector

repaint

public void repaint(int x,
                    int y,
                    int width,
                    int height)
Specified by:
repaint in interface RepaintCollector

repaint

public void repaint()
Specified by:
repaint in interface RepaintCollector

reset

public void reset()
Specified by:
reset in interface RepaintCollector

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)