com.croftsoft.core.animation.collector
Class SimpleRepaintCollector

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

public class SimpleRepaintCollector
extends Object
implements RepaintCollector

Simply collects the repaint requests.

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

Constructor Summary
SimpleRepaintCollector()
           
 
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
 

Constructor Detail

SimpleRepaintCollector

public SimpleRepaintCollector()
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)