ini.trakem2.display.graphics
Class TestGraphicsSource

java.lang.Object
  extended by ini.trakem2.display.graphics.TestGraphicsSource
All Implemented Interfaces:
GraphicsSource

public class TestGraphicsSource
extends java.lang.Object
implements GraphicsSource


Constructor Summary
TestGraphicsSource()
           
 
Method Summary
 java.util.List<? extends Paintable> asPaintable(java.util.List<? extends Paintable> ds)
          Replaces all Patch instances by a smiley face.
 void paintOnTop(java.awt.Graphics2D g, Display display, java.awt.Rectangle srcRect, double magnification)
          Does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestGraphicsSource

public TestGraphicsSource()
Method Detail

asPaintable

public java.util.List<? extends Paintable> asPaintable(java.util.List<? extends Paintable> ds)
Replaces all Patch instances by a smiley face.

Specified by:
asPaintable in interface GraphicsSource

paintOnTop

public void paintOnTop(java.awt.Graphics2D g,
                       Display display,
                       java.awt.Rectangle srcRect,
                       double magnification)
Does nothing.

Specified by:
paintOnTop in interface GraphicsSource