ini.trakem2.display
Interface Mode

All Known Implementing Classes:
AffineTransformMode, ContrastAdjustmentMode, DefaultMode, GroupingMode, ManualAlignMode, NonLinearTransformMode

public interface Mode


Method Summary
 boolean apply()
           
 boolean cancel()
           
 boolean canChangeLayer()
           
 boolean canPan()
           
 boolean canZoom()
           
 GraphicsSource getGraphicsSource()
           
 java.awt.Rectangle getRepaintBounds()
           
 boolean isDragging()
           
 void magnificationUpdated(java.awt.Rectangle srcRect, double magnification)
           
 void mouseDragged(java.awt.event.MouseEvent me, int x_p, int y_p, int x_d, int y_d, int x_d_old, int y_d_old)
           
 void mousePressed(java.awt.event.MouseEvent me, int x_p, int y_p, double magnification)
           
 void mouseReleased(java.awt.event.MouseEvent me, int x_p, int y_p, int x_d, int y_d, int x_r, int y_r)
           
 void redoOneStep()
           
 void srcRectUpdated(java.awt.Rectangle srcRect, double magnification)
           
 void undoOneStep()
           
 

Method Detail

getGraphicsSource

GraphicsSource getGraphicsSource()

canChangeLayer

boolean canChangeLayer()

canZoom

boolean canZoom()

canPan

boolean canPan()

isDragging

boolean isDragging()

undoOneStep

void undoOneStep()

redoOneStep

void redoOneStep()

mousePressed

void mousePressed(java.awt.event.MouseEvent me,
                  int x_p,
                  int y_p,
                  double magnification)

mouseDragged

void mouseDragged(java.awt.event.MouseEvent me,
                  int x_p,
                  int y_p,
                  int x_d,
                  int y_d,
                  int x_d_old,
                  int y_d_old)

mouseReleased

void mouseReleased(java.awt.event.MouseEvent me,
                   int x_p,
                   int y_p,
                   int x_d,
                   int y_d,
                   int x_r,
                   int y_r)

srcRectUpdated

void srcRectUpdated(java.awt.Rectangle srcRect,
                    double magnification)

magnificationUpdated

void magnificationUpdated(java.awt.Rectangle srcRect,
                          double magnification)

apply

boolean apply()

cancel

boolean cancel()

getRepaintBounds

java.awt.Rectangle getRepaintBounds()