001/*
002 * Copyright 2010-2015 Institut Pasteur.
003 * 
004 * This file is part of Icy.
005 * 
006 * Icy is free software: you can redistribute it and/or modify
007 * it under the terms of the GNU General Public License as published by
008 * the Free Software Foundation, either version 3 of the License, or
009 * (at your option) any later version.
010 * 
011 * Icy is distributed in the hope that it will be useful,
012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
014 * GNU General Public License for more details.
015 * 
016 * You should have received a copy of the GNU General Public License
017 * along with Icy. If not, see <http://www.gnu.org/licenses/>.
018 */
019package icy.painter;
020
021import icy.canvas.IcyCanvas;
022import icy.sequence.Sequence;
023
024import java.awt.Graphics2D;
025import java.awt.event.KeyEvent;
026import java.awt.event.MouseEvent;
027import java.awt.geom.Point2D;
028
029/**
030 * @deprecated Use {@link Overlay} class instead.
031 */
032@Deprecated
033public abstract class PainterAdapter implements Painter
034{
035    @Override
036    public void keyPressed(KeyEvent e, Point2D imagePoint, IcyCanvas canvas)
037    {
038
039    }
040
041    @Override
042    public void keyReleased(KeyEvent e, Point2D imagePoint, IcyCanvas canvas)
043    {
044
045    }
046
047    @Override
048    public void mouseClick(MouseEvent e, Point2D imagePoint, IcyCanvas canvas)
049    {
050
051    }
052
053    @Override
054    public void mouseDrag(MouseEvent e, Point2D imagePoint, IcyCanvas canvas)
055    {
056
057    }
058
059    @Override
060    public void mouseMove(MouseEvent e, Point2D imagePoint, IcyCanvas canvas)
061    {
062
063    }
064
065    @Override
066    public void mousePressed(MouseEvent e, Point2D imagePoint, IcyCanvas canvas)
067    {
068
069    }
070
071    @Override
072    public void mouseReleased(MouseEvent e, Point2D imagePoint, IcyCanvas canvas)
073    {
074
075    }
076
077    @Override
078    public void paint(Graphics2D g, Sequence sequence, IcyCanvas canvas)
079    {
080
081    }
082}