summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQCanvas.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQCanvas.java')
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQCanvas.java103
1 files changed, 103 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvas.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvas.java
new file mode 100644
index 00000000..49ac66dd
--- /dev/null
+++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvas.java
@@ -0,0 +1,103 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.trinitydesktop.qt;
+
+import org.trinitydesktop.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link TQCanvasSignals} for signals emitted by TQCanvas
+*/
+public class TQCanvas extends TQObject {
+ protected TQCanvas(Class dummy){super((Class) null);}
+ public native TQMetaObject metaObject();
+ public native String className();
+ public TQCanvas(TQObject parent, String name) {
+ super((Class) null);
+ newTQCanvas(parent,name);
+ }
+ private native void newTQCanvas(TQObject parent, String name);
+ public TQCanvas(TQObject parent) {
+ super((Class) null);
+ newTQCanvas(parent);
+ }
+ private native void newTQCanvas(TQObject parent);
+ public TQCanvas() {
+ super((Class) null);
+ newTQCanvas();
+ }
+ private native void newTQCanvas();
+ public TQCanvas(int w, int h) {
+ super((Class) null);
+ newTQCanvas(w,h);
+ }
+ private native void newTQCanvas(int w, int h);
+ public TQCanvas(TQPixmap p, int h, int v, int tilewidth, int tileheight) {
+ super((Class) null);
+ newTQCanvas(p,h,v,tilewidth,tileheight);
+ }
+ private native void newTQCanvas(TQPixmap p, int h, int v, int tilewidth, int tileheight);
+ public native void setTiles(TQPixmap tiles, int h, int v, int tilewidth, int tileheight);
+ public native void setBackgroundPixmap(TQPixmap p);
+ public native TQPixmap backgroundPixmap();
+ public native void setBackgroundColor(TQColor c);
+ public native TQColor backgroundColor();
+ public native void setTile(int x, int y, int tilenum);
+ public native int tile(int x, int y);
+ public native int tilesHorizontally();
+ public native int tilesVertically();
+ public native int tileWidth();
+ public native int tileHeight();
+ public native void resize(int width, int height);
+ public native int width();
+ public native int height();
+ public native TQSize size();
+ public native TQRect rect();
+ public native boolean onCanvas(int x, int y);
+ public native boolean onCanvas(TQPoint p);
+ public native boolean validChunk(int x, int y);
+ public native boolean validChunk(TQPoint p);
+ public native int chunkSize();
+ public native void retune(int chunksize, int maxclusters);
+ public native void retune(int chunksize);
+ public native boolean sameChunk(int x1, int y1, int x2, int y2);
+ public native void setChangedChunk(int i, int j);
+ public native void setChangedChunkContaining(int x, int y);
+ public native void setAllChanged();
+ public native void setChanged(TQRect area);
+ public native void setUnchanged(TQRect area);
+ public native void addItemToChunk(TQCanvasItem arg1, int i, int j);
+ public native void removeItemFromChunk(TQCanvasItem arg1, int i, int j);
+ public native void addItemToChunkContaining(TQCanvasItem arg1, int x, int y);
+ public native void removeItemFromChunkContaining(TQCanvasItem arg1, int x, int y);
+ public native ArrayList allItems();
+ public native ArrayList collisions(TQPoint arg1);
+ public native ArrayList collisions(TQRect arg1);
+ public native ArrayList collisions(TQPointArray pa, TQCanvasItem item, boolean exact);
+ public native void drawArea(TQRect arg1, TQPainter p, boolean double_buffer);
+ public native void drawArea(TQRect arg1, TQPainter p);
+ public native void addView(TQCanvasView arg1);
+ public native void removeView(TQCanvasView arg1);
+ public native void drawCanvasArea(TQRect arg1, TQPainter p, boolean double_buffer);
+ public native void drawCanvasArea(TQRect arg1, TQPainter p);
+ public native void drawCanvasArea(TQRect arg1);
+ public native void drawViewArea(TQCanvasView view, TQPainter p, TQRect r, boolean dbuf);
+ public native void addItem(TQCanvasItem arg1);
+ public native void addAnimation(TQCanvasItem arg1);
+ public native void removeItem(TQCanvasItem arg1);
+ public native void removeAnimation(TQCanvasItem arg1);
+ public native void setAdvancePeriod(int ms);
+ public native void setUpdatePeriod(int ms);
+ public native void setDoubleBuffering(boolean y);
+ public native void advance();
+ public native void update();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native void drawBackground(TQPainter arg1, TQRect area);
+ protected native void drawForeground(TQPainter arg1, TQRect area);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}