com.croftsoft.core.animation.collector
Class SwingRepaintCollector

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

public class SwingRepaintCollector
extends Object
implements RepaintCollector

Routes repaint requests back to the standard Swing RepaintManager.

Since:
2002-03-13
Version:
2002-12-07
Author:
David Wallace Croft

Constructor Summary
SwingRepaintCollector(JComponent jComponent)
           
 
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

SwingRepaintCollector

public SwingRepaintCollector(JComponent jComponent)
Method Detail

getRepaintRegions

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

getCount

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

repaint

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

repaint

public void repaint(int x,
                    int y,
                    int width,
                    int height)
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)