summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KHTMLView.java
blob: fff1a85327f11bcb7210bd296f469c760e83e23f (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QHideEvent;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QObject;
import org.kde.qt.QCloseEvent;
import org.kde.qt.QDragEnterEvent;
import org.kde.qt.QContextMenuEvent;
import org.kde.qt.QPainter;
import org.kde.qt.QFocusEvent;
import org.kde.qt.QKeyEvent;
import org.kde.qt.QMouseEvent;
import org.kde.qt.QShowEvent;
import org.kde.qt.QDropEvent;
import org.kde.qt.QEvent;
import org.kde.qt.QTimerEvent;
import org.kde.qt.QWidget;
import org.kde.qt.QResizeEvent;
import org.kde.qt.QWheelEvent;
import org.kde.qt.QScrollView;

/**

 Renders and displays HTML in a QScrollView.
 Suitable for use as an application's main view.
 See {@link KHTMLViewSignals} for signals emitted by KHTMLView
		@short    Renders and displays HTML in a QScrollView.

*/
public class KHTMLView extends QScrollView  {
	protected KHTMLView(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	/**	
		 Constructs a KHTMLView.
		     		@short    Constructs a KHTMLView.
	*/
	public KHTMLView(KHTMLPart part, QWidget parent, String name) {
		super((Class) null);
		newKHTMLView(part,parent,name);
	}
	private native void newKHTMLView(KHTMLPart part, QWidget parent, String name);
	public KHTMLView(KHTMLPart part, QWidget parent) {
		super((Class) null);
		newKHTMLView(part,parent);
	}
	private native void newKHTMLView(KHTMLPart part, QWidget parent);
	/**	
		 Returns a pointer to the KHTMLPart that is
		 rendering the page.
				@short    Returns a pointer to the KHTMLPart that is  rendering the page.
	*/
	public native KHTMLPart part();
	public native int frameWidth();
	/**	
		 Sets a margin in x direction.
		     		@short    Sets a margin in x direction.
	*/
	public native void setMarginWidth(int x);
	/**	
		 Returns the margin width.
			 A return value of -1 means the default value will be used.
		     		@short    Returns the margin width.
	*/
	public native int marginWidth();
	public native void setMarginHeight(int y);
	/**	
		 Returns the margin height.
			 A return value of -1 means the default value will be used.
		     		@short    Returns the margin height.
	*/
	public native int marginHeight();
	/**	
		 Sets verticals scrollbar mode. Reimplemented for internal reasons.
		     		@short    Sets verticals scrollbar mode.
	*/
	public native void setVScrollBarMode(int mode);
	/**	
		 Sets horizontal scrollbar mode. Reimplemented for internal reasons.
		     		@short    Sets horizontal scrollbar mode.
	*/
	public native void setHScrollBarMode(int mode);
	/**	
		 Prints the HTML document.
		     		@short    Prints the HTML document.
	*/
	public native void print();
	/**	
		 Prints the HTML document.
			@param quick if true, fully automated printing, without print dialog
		     		@short    Prints the HTML document.
	*/
	public native void print(boolean quick);
	/**	
		 ensure the display is up to date
		     		@short    ensure the display is up to date
	*/
	public native void updateLayout();
	/**	
		 Display all accesskeys in small tooltips
		     		@short    Display all accesskeys in small tooltips
	*/
	public native void displayAccessKeys();
	protected native void clear();
	protected native void resizeEvent(QResizeEvent event);
	public native void showEvent(QShowEvent arg1);
	protected native void hideEvent(QHideEvent arg1);
	protected native boolean focusNextPrevChild(boolean next);
	protected native void drawContents(QPainter p, int clipx, int clipy, int clipw, int cliph);
	protected native void drawContents(QPainter arg1);
	protected native void viewportMousePressEvent(QMouseEvent arg1);
	protected native void focusInEvent(QFocusEvent arg1);
	protected native void focusOutEvent(QFocusEvent arg1);
	protected native void viewportMouseDoubleClickEvent(QMouseEvent arg1);
	protected native void viewportMouseMoveEvent(QMouseEvent arg1);
	protected native void viewportMouseReleaseEvent(QMouseEvent arg1);
	protected native void viewportResizeEvent(QResizeEvent arg1);
	protected native void viewportWheelEvent(QWheelEvent arg1);
	protected native void dragEnterEvent(QDragEnterEvent arg1);
	protected native void dropEvent(QDropEvent arg1);
	protected native void closeEvent(QCloseEvent arg1);
	public native boolean eventFilter(QObject arg1, QEvent arg2);
	protected native void keyPressEvent(QKeyEvent _ke);
	protected native void keyReleaseEvent(QKeyEvent _ke);
	protected native void contentsContextMenuEvent(QContextMenuEvent _ce);
	protected native void doAutoScroll();
	protected native void timerEvent(QTimerEvent arg1);
	protected native void slotPaletteChanged();
	protected native void slotScrollBarMoved();
	/** 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();
}