summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QScrollView.java
blob: 187c8ecd013cc7e6260779ef46aab3ce7b094743 (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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link QScrollViewSignals} for signals emitted by QScrollView
*/
public class QScrollView extends QFrame  {
	protected QScrollView(Class dummy){super((Class) null);}
	public static final int Default = 0;
	public static final int Manual = 1;
	public static final int AutoOne = 2;
	public static final int AutoOneFit = 3;

	public static final int Auto = 0;
	public static final int AlwaysOff = 1;
	public static final int AlwaysOn = 2;

	public native QMetaObject metaObject();
	public native String className();
	public QScrollView(QWidget parent, String name, int f) {
		super((Class) null);
		newQScrollView(parent,name,f);
	}
	private native void newQScrollView(QWidget parent, String name, int f);
	public QScrollView(QWidget parent, String name) {
		super((Class) null);
		newQScrollView(parent,name);
	}
	private native void newQScrollView(QWidget parent, String name);
	public QScrollView(QWidget parent) {
		super((Class) null);
		newQScrollView(parent);
	}
	private native void newQScrollView(QWidget parent);
	public QScrollView() {
		super((Class) null);
		newQScrollView();
	}
	private native void newQScrollView();
	public native void setResizePolicy(int arg1);
	public native int resizePolicy();
	public native void styleChange(QStyle arg1);
	public native void removeChild(QWidget child);
	public native void addChild(QWidget child, int x, int y);
	public native void addChild(QWidget child, int x);
	public native void addChild(QWidget child);
	public native void moveChild(QWidget child, int x, int y);
	public native int childX(QWidget child);
	public native int childY(QWidget child);
	public native boolean childIsVisible(QWidget child);
	public native void showChild(QWidget child, boolean yes);
	public native void showChild(QWidget child);
	public native int vScrollBarMode();
	public native void setVScrollBarMode(int arg1);
	public native int hScrollBarMode();
	public native void setHScrollBarMode(int arg1);
	public native QWidget cornerWidget();
	public native void setCornerWidget(QWidget arg1);
	public native QScrollBar horizontalScrollBar();
	public native QScrollBar verticalScrollBar();
	public native QWidget viewport();
	public native QWidget clipper();
	public native int visibleWidth();
	public native int visibleHeight();
	public native int contentsWidth();
	public native int contentsHeight();
	public native int contentsX();
	public native int contentsY();
	public native void resize(int w, int h);
	public native void resize(QSize arg1);
	public native void show();
	public native void updateContents(int x, int y, int w, int h);
	public native void updateContents(QRect r);
	public native void updateContents();
	public native void repaintContents(int x, int y, int w, int h, boolean erase);
	public native void repaintContents(int x, int y, int w, int h);
	public native void repaintContents(QRect r, boolean erase);
	public native void repaintContents(QRect r);
	public native void repaintContents(boolean erase);
	public native void repaintContents();
	public native void contentsToViewport(int x, int y, int[] vx, int[] vy);
	public native void viewportToContents(int vx, int vy, int[] x, int[] y);
	public native QPoint contentsToViewport(QPoint arg1);
	public native QPoint viewportToContents(QPoint arg1);
	public native void enableClipper(boolean y);
	public native void setStaticBackground(boolean y);
	public native boolean hasStaticBackground();
	public native QSize viewportSize(int arg1, int arg2);
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native void removeChild(QObject child);
	public native boolean isHorizontalSliderPressed();
	public native boolean isVerticalSliderPressed();
	public native void setDragAutoScroll(boolean b);
	public native boolean dragAutoScroll();
	public native void disableSizeHintCaching();
	public native void resizeContents(int w, int h);
	public native void scrollBy(int dx, int dy);
	public native void setContentsPos(int x, int y);
	public native void ensureVisible(int x, int y);
	public native void ensureVisible(int x, int y, int xmargin, int ymargin);
	public native void center(int x, int y);
	public native void center(int x, int y, float xmargin, float ymargin);
	public native void updateScrollBars();
	public native void setEnabled(boolean enable);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void drawContents(QPainter arg1, int cx, int cy, int cw, int ch);
	protected native void drawContentsOffset(QPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch);
	protected native void contentsMousePressEvent(QMouseEvent arg1);
	protected native void contentsMouseReleaseEvent(QMouseEvent arg1);
	protected native void contentsMouseDoubleClickEvent(QMouseEvent arg1);
	protected native void contentsMouseMoveEvent(QMouseEvent arg1);
	protected native void contentsDragEnterEvent(QDragEnterEvent arg1);
	protected native void contentsDragMoveEvent(QDragMoveEvent arg1);
	protected native void contentsDragLeaveEvent(QDragLeaveEvent arg1);
	protected native void contentsDropEvent(QDropEvent arg1);
	protected native void contentsWheelEvent(QWheelEvent arg1);
	protected native void contentsContextMenuEvent(QContextMenuEvent arg1);
	protected native void viewportPaintEvent(QPaintEvent arg1);
	protected native void viewportResizeEvent(QResizeEvent arg1);
	protected native void viewportMousePressEvent(QMouseEvent arg1);
	protected native void viewportMouseReleaseEvent(QMouseEvent arg1);
	protected native void viewportMouseDoubleClickEvent(QMouseEvent arg1);
	protected native void viewportMouseMoveEvent(QMouseEvent arg1);
	protected native void viewportDragEnterEvent(QDragEnterEvent arg1);
	protected native void viewportDragMoveEvent(QDragMoveEvent arg1);
	protected native void viewportDragLeaveEvent(QDragLeaveEvent arg1);
	protected native void viewportDropEvent(QDropEvent arg1);
	protected native void viewportWheelEvent(QWheelEvent arg1);
	protected native void viewportContextMenuEvent(QContextMenuEvent arg1);
	protected native void frameChanged();
	protected native void setMargins(int left, int top, int right, int bottom);
	protected native int leftMargin();
	protected native int topMargin();
	protected native int rightMargin();
	protected native int bottomMargin();
	protected native boolean focusNextPrevChild(boolean next);
	protected native void setHBarGeometry(QScrollBar hbar, int x, int y, int w, int h);
	protected native void setVBarGeometry(QScrollBar vbar, int x, int y, int w, int h);
	protected native void resizeEvent(QResizeEvent arg1);
	protected native void mousePressEvent(QMouseEvent arg1);
	protected native void mouseReleaseEvent(QMouseEvent arg1);
	protected native void mouseDoubleClickEvent(QMouseEvent arg1);
	protected native void mouseMoveEvent(QMouseEvent arg1);
	protected native void wheelEvent(QWheelEvent arg1);
	protected native void contextMenuEvent(QContextMenuEvent arg1);
	public native boolean eventFilter(QObject arg1, QEvent e);
	protected native void setCachedSizeHint(QSize sh);
	protected native QSize cachedSizeHint();
	protected native void fontChange(QFont arg1);
	/** 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();
}