Overlay
class to this interface when possible.@Deprecated public interface Painter
Modifier and Type | Method and Description |
---|---|
void |
keyPressed(java.awt.event.KeyEvent e,
java.awt.geom.Point2D imagePoint,
IcyCanvas canvas)
Deprecated.
Key press event forwarded to the painter.
|
void |
keyReleased(java.awt.event.KeyEvent e,
java.awt.geom.Point2D imagePoint,
IcyCanvas canvas)
Deprecated.
Key release event forwarded to the painter.
|
void |
mouseClick(java.awt.event.MouseEvent e,
java.awt.geom.Point2D imagePoint,
IcyCanvas canvas)
Deprecated.
Mouse click event forwarded to the painter.
|
void |
mouseDrag(java.awt.event.MouseEvent e,
java.awt.geom.Point2D imagePoint,
IcyCanvas canvas)
Deprecated.
Mouse drag event forwarded to the painter.
|
void |
mouseMove(java.awt.event.MouseEvent e,
java.awt.geom.Point2D imagePoint,
IcyCanvas canvas)
Deprecated.
Mouse move event forwarded to the painter.
|
void |
mousePressed(java.awt.event.MouseEvent e,
java.awt.geom.Point2D imagePoint,
IcyCanvas canvas)
Deprecated.
Mouse press event forwarded to the painter.
|
void |
mouseReleased(java.awt.event.MouseEvent e,
java.awt.geom.Point2D imagePoint,
IcyCanvas canvas)
Deprecated.
Mouse release event forwarded to the painter.
|
void |
paint(java.awt.Graphics2D g,
Sequence sequence,
IcyCanvas canvas)
Deprecated.
Paint method called to draw the painter.
|
void paint(java.awt.Graphics2D g, Sequence sequence, IcyCanvas canvas)
void mousePressed(java.awt.event.MouseEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvasvoid mouseReleased(java.awt.event.MouseEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvasvoid mouseClick(java.awt.event.MouseEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvasvoid mouseMove(java.awt.event.MouseEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvasvoid mouseDrag(java.awt.event.MouseEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvasvoid keyPressed(java.awt.event.KeyEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
e
- key eventimagePoint
- mouse position (image coordinates)canvas
- icy canvasvoid keyReleased(java.awt.event.KeyEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
e
- key eventimagePoint
- mouse position (image coordinates)canvas
- icy canvas