com.charliemouse.cambozola
Class PercentArea
public
class
PercentArea
extends Object
com/charliemouse/cambozola/PercentArea.java
Copyright (C) Andy Wilcock, 2003.
Available from http://www.charliemouse.com
Cambozola is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Cambozola is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Cambozola; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
public static final int DOWN
public static final int LEFT
public static final int RIGHT
public static final int UP
public PercentArea()
public Rectangle getArea(int width, int height)
public double getHeight()
public double getWidth()
public boolean panHorizontal(int dir)
public boolean panVertical(int dir)
public void reset()
public boolean setBounds(double ax1, double ay1, double ax2, double ay2)
public boolean setBoundsAspect(double cx, double cy, double w, double h)
public String toString()
public boolean zoomIn()
public boolean zoomOut()