public interface Mode
Modifier and Type | Method and Description |
---|---|
boolean |
apply() |
boolean |
cancel() |
boolean |
canChangeLayer() |
boolean |
canPan() |
boolean |
canZoom() |
GraphicsSource |
getGraphicsSource() |
Rectangle |
getRepaintBounds() |
boolean |
isDragging() |
void |
magnificationUpdated(Rectangle srcRect,
double magnification) |
void |
mouseDragged(MouseEvent me,
int x_p,
int y_p,
int x_d,
int y_d,
int x_d_old,
int y_d_old) |
void |
mousePressed(MouseEvent me,
int x_p,
int y_p,
double magnification) |
void |
mouseReleased(MouseEvent me,
int x_p,
int y_p,
int x_d,
int y_d,
int x_r,
int y_r) |
void |
redoOneStep() |
void |
srcRectUpdated(Rectangle srcRect,
double magnification) |
void |
undoOneStep() |
GraphicsSource getGraphicsSource()
boolean canChangeLayer()
boolean canZoom()
boolean canPan()
boolean isDragging()
void undoOneStep()
void redoOneStep()
void mousePressed(MouseEvent me, int x_p, int y_p, double magnification)
void mouseDragged(MouseEvent me, int x_p, int y_p, int x_d, int y_d, int x_d_old, int y_d_old)
void mouseReleased(MouseEvent me, int x_p, int y_p, int x_d, int y_d, int x_r, int y_r)
void srcRectUpdated(Rectangle srcRect, double magnification)
void magnificationUpdated(Rectangle srcRect, double magnification)
boolean apply()
boolean cancel()
Rectangle getRepaintBounds()
Copyright © 2015–2021 Fiji. All rights reserved.