ini.trakem2.display.graphics
Class DefaultGraphicsSource

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

public class DefaultGraphicsSource
extends java.lang.Object
implements GraphicsSource

Handles default mode, i.e. just plain images without any transformation handles of any kind.


Constructor Summary
DefaultGraphicsSource()
           
 
Method Summary
 java.util.List<? extends Paintable> asPaintable(java.util.List<? extends Paintable> ds)
          Returns the list given as argument without any modification.
 void paintOnTop(java.awt.Graphics2D g, Display display, java.awt.Rectangle srcRect, double magnification)
          Paints bounding boxes of selected objects as pink and active object as white.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGraphicsSource

public DefaultGraphicsSource()
Method Detail

asPaintable

public java.util.List<? extends Paintable> asPaintable(java.util.List<? extends Paintable> ds)
Returns the list given as argument without any modification.

Specified by:
asPaintable in interface GraphicsSource

paintOnTop

public void paintOnTop(java.awt.Graphics2D g,
                       Display display,
                       java.awt.Rectangle srcRect,
                       double magnification)
Paints bounding boxes of selected objects as pink and active object as white.

Specified by:
paintOnTop in interface GraphicsSource