summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQMultiLineEdit.java
blob: 706edabf3eded298cca28935fb533bbeca6bb68e (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

public class TQMultiLineEdit extends TQTextEdit  {
	protected TQMultiLineEdit(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQMultiLineEdit(TQWidget parent, String name) {
		super((Class) null);
		newTQMultiLineEdit(parent,name);
	}
	private native void newTQMultiLineEdit(TQWidget parent, String name);
	public TQMultiLineEdit(TQWidget parent) {
		super((Class) null);
		newTQMultiLineEdit(parent);
	}
	private native void newTQMultiLineEdit(TQWidget parent);
	public TQMultiLineEdit() {
		super((Class) null);
		newTQMultiLineEdit();
	}
	private native void newTQMultiLineEdit();
	public native String textLine(int line);
	public native int numLines();
	public native void insertLine(String s, int line);
	public native void insertLine(String s);
	public native void insertAt(String s, int line, int col);
	public native void insertAt(String s, int line, int col, boolean mark);
	public native void removeLine(int line);
	public native void setCursorPosition(int line, int col);
	public native void setCursorPosition(int line, int col, boolean mark);
	public native boolean atBeginning();
	public native boolean atEnd();
	public native void setAlignment(int flags);
	public native int alignment();
	public native void setEdited(boolean arg1);
	public native boolean edited();
	public native boolean hasMarkedText();
	public native String markedText();
	public native void cursorWordForward(boolean mark);
	public native void cursorWordBackward(boolean mark);
	public native boolean autoUpdate();
	public native void setAutoUpdate(boolean arg1);
	public native int totalWidth();
	public native int totalHeight();
	public native int maxLines();
	public native void setMaxLines(int arg1);
	public native void deselect();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native TQPoint cursorPoint();
	protected native void insertAndMark(String arg1, boolean mark);
	protected native void newLine();
	protected native void killLine();
	protected native void pageUp(boolean mark);
	protected native void pageUp();
	protected native void pageDown(boolean mark);
	protected native void pageDown();
	protected native void cursorLeft(boolean mark, boolean wrap);
	protected native void cursorLeft(boolean mark);
	protected native void cursorLeft();
	protected native void cursorRight(boolean mark, boolean wrap);
	protected native void cursorRight(boolean mark);
	protected native void cursorRight();
	protected native void cursorUp(boolean mark);
	protected native void cursorUp();
	protected native void cursorDown(boolean mark);
	protected native void cursorDown();
	protected native void backspace();
	protected native void home(boolean mark);
	protected native void home();
	protected native void end(boolean mark);
	protected native void end();
	protected native boolean getMarkedRegion(int[] line1, int[] col1, int[] line2, int[] col2);
	protected native int lineLength(int row);
	/** 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();
}