Overlay
class instead.@Deprecated public abstract class PainterAdapter extends java.lang.Object implements Painter
Constructor and Description |
---|
PainterAdapter()
Deprecated.
|
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.
|
public PainterAdapter()
public void keyPressed(java.awt.event.KeyEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
Painter
keyPressed
in interface Painter
e
- key eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void keyReleased(java.awt.event.KeyEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
Painter
keyReleased
in interface Painter
e
- key eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void mouseClick(java.awt.event.MouseEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
Painter
mouseClick
in interface Painter
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void mouseDrag(java.awt.event.MouseEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
Painter
public void mouseMove(java.awt.event.MouseEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
Painter
public void mousePressed(java.awt.event.MouseEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
Painter
mousePressed
in interface Painter
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvaspublic void mouseReleased(java.awt.event.MouseEvent e, java.awt.geom.Point2D imagePoint, IcyCanvas canvas)
Painter
mouseReleased
in interface Painter
e
- mouse eventimagePoint
- mouse position (image coordinates)canvas
- icy canvas