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 QDataBrowserSignals} for signals emitted by QDataBrowser
*/
public class QDataBrowser extends QWidget {
protected QDataBrowser(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 QMetaObject metaObject();
public native String className();
public QDataBrowser(QWidget parent, String name, int fl) {
super((Class) null);
newQDataBrowser(parent,name,fl);
}
private native void newQDataBrowser(QWidget parent, String name, int fl);
public QDataBrowser(QWidget parent, String name) {
super((Class) null);
newQDataBrowser(parent,name);
}
private native void newQDataBrowser(QWidget parent, String name);
public QDataBrowser(QWidget parent) {
super((Class) null);
newQDataBrowser(parent);
}
private native void newQDataBrowser(QWidget parent);
public QDataBrowser() {
super((Class) null);
newQDataBrowser();
}
private native void newQDataBrowser();
public native int boundary();
public native void setBoundaryChecking(boolean active);
public native boolean boundaryChecking();
public native void setSort(QSqlIndex 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(QSqlCursor cursor, boolean autoDelete);
public native void setSqlCursor(QSqlCursor cursor);
public native QSqlCursor sqlCursor();
public native void setForm(QSqlForm form);
public native QSqlForm 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(QSqlError 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();
}
|