summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/TQCanvasItem.java
blob: 91cb3296366408dcf09e36186c1aba35fe5ffe48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;
import java.util.ArrayList;

public class TQCanvasItem extends Qt  {
	protected TQCanvasItem(Class dummy){super((Class) null);}
	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;

	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(TQCanvasItem arg1);
	public native ArrayList collisions(boolean exact);
	public native void setCanvas(TQCanvas arg1);
	public native void draw(TQPainter 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 TQRect boundingRect();
	public native TQRect boundingRectAdvanced();
	public native TQCanvas canvas();
}