1 /*
2 * jcurl java curling software framework https://JCurl.mro.name Copyright (C)
3 * 2005-2009 M. Rohrmoser
4 *
5 * This program is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License as published by the Free Software
7 * Foundation; either version 2 of the License, or (at your option) any later
8 * version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13 * details.
14 *
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17 * Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19
20 package org.jcurl.demo.tactics;
21
22 import java.awt.geom.RectangularShape;
23
24 /**
25 * @author <a href="mailto:JCurl@mro.name">M. Rohrmoser </a>
26 * @version $Id$
27 */
28 public interface Zoomable {
29
30 public RectangularShape getZoom();
31
32 public void setZoom(RectangularShape viewport);
33
34 /**
35 *
36 * @param viewport
37 * @param transitionMillis
38 * < 0 uses a default value.
39 */
40 public void setZoom(RectangularShape viewport, int transitionMillis);
41 }