/***************************************************************************
                            QCanvasItem.java -  description
                             -------------------
    begin                : Sun Feb 10 08:33:44 2002
    copyright            : (C) 2000-2002 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Feb 10 08:33:44 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program 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.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class QCanvasItem extends Qt  {
	protected QCanvasItem(Class dummy){super((Class) null);}

	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();
	public native double x();
	public native double y();
	public native double z();
	public native void moveBy( double dx, double dy);
	public native void move( double x, double y);
	public native void setX( double a);
	public native void setY( double a);
	public native void setZ( double a);
	public native boolean animated();
	public native void setAnimated( boolean y);
	public native void setVelocity( double vx, double vy);
	public native void setXVelocity( double vx);
	public native void setYVelocity( double vy);
	public native double xVelocity();
	public native double yVelocity();
	public native void advance( int stage);
	public native boolean collidesWith( QCanvasItem arg1);
	public native ArrayList collisions( boolean exact);
	public native void setCanvas( QCanvas arg1);
	public native void draw( QPainter arg1);
	public native void show();
	public native void hide();
	public native void setVisible( boolean yes);
	public native boolean isVisible();
	public native void setSelected( boolean yes);
	public native boolean isSelected();
	public native void setEnabled( boolean yes);
	public native boolean isEnabled();
	public native void setActive( boolean yes);
	public native boolean isActive();
	public native boolean visible();
	public native boolean selected();
	public native boolean enabled();
	public native boolean active();
	public native int rtti();
	public native QRect boundingRect();
	public native QRect boundingRectAdvanced();
	public native QCanvas canvas();
	public static final int Rtti_Item = 0;
	public static final int Rtti_Sprite = 1;
	public static final int Rtti_PolygonalItem = 2;
	public static final int Rtti_Text = 3;
	public static final int Rtti_Polygon = 4;
	public static final int Rtti_Rectangle = 5;
	public static final int Rtti_Ellipse = 6;
	public static final int Rtti_Line = 7;
	public static final int Rtti_Spline = 8;
}
