summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QDataBrowser.java
blob: 2aac25252e7dab448753b0674f67215f6594e844 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

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

/**
 See {@link TQDataBrowserSignals} for signals emitted by TQDataBrowser
*/
public class TQDataBrowser extends TQWidget  {
	protected TQDataBrowser(Class dummy){super((Class) null);}
	public static final int Unknown = 0;
	public static final int None = 1;
	public static final int BeforeBeginning = 2;
	public static final int Beginning = 3;
	public static final int End = 4;
	public static final int AfterEnd = 5;

	public native TQMetaObject metaObject();
	public native String className();
	public TQDataBrowser(TQWidget parent, String name, int fl) {
		super((Class) null);
		newTQDataBrowser(parent,name,fl);
	}
	private native void newTQDataBrowser(TQWidget parent, String name, int fl);
	public TQDataBrowser(TQWidget parent, String name) {
		super((Class) null);
		newTQDataBrowser(parent,name);
	}
	private native void newTQDataBrowser(TQWidget parent, String name);
	public TQDataBrowser(TQWidget parent) {
		super((Class) null);
		newTQDataBrowser(parent);
	}
	private native void newTQDataBrowser(TQWidget parent);
	public TQDataBrowser() {
		super((Class) null);
		newTQDataBrowser();
	}
	private native void newTQDataBrowser();
	public native int boundary();
	public native void setBoundaryChecking(boolean active);
	public native boolean boundaryChecking();
	public native void setSort(TQSqlIndex sort);
	public native void setSort(String[] sort);
	public native ArrayList sort();
	public native void setFilter(String filter);
	public native String filter();
	public native void setSqlCursor(TQSqlCursor cursor, boolean autoDelete);
	public native void setSqlCursor(TQSqlCursor cursor);
	public native TQSqlCursor sqlCursor();
	public native void setForm(TQSqlForm form);
	public native TQSqlForm form();
	public native void setConfirmEdits(boolean confirm);
	public native void setConfirmInsert(boolean confirm);
	public native void setConfirmUpdate(boolean confirm);
	public native void setConfirmDelete(boolean confirm);
	public native void setConfirmCancels(boolean confirm);
	public native boolean confirmEdits();
	public native boolean confirmInsert();
	public native boolean confirmUpdate();
	public native boolean confirmDelete();
	public native boolean confirmCancels();
	public native void setReadOnly(boolean active);
	public native boolean isReadOnly();
	public native void setAutoEdit(boolean autoEdit);
	public native boolean autoEdit();
	public native boolean seek(int i, boolean relative);
	public native boolean seek(int i);
	public native void refresh();
	public native void insert();
	public native void update();
	public native void del();
	public native void first();
	public native void last();
	public native void next();
	public native void prev();
	public native void readFields();
	public native void writeFields();
	public native void clearValues();
	public native void updateBoundary();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native boolean insertCurrent();
	protected native boolean updateCurrent();
	protected native boolean deleteCurrent();
	protected native boolean currentEdited();
	protected native int confirmEdit(int m);
	protected native int confirmCancel(int m);
	protected native void handleError(TQSqlError error);
	/** 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();
}