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

import org.kde.qt.Qt;

/**
 See {@link QLineEditSignals} for signals emitted by QLineEdit
*/
public class QLineEdit extends QFrame  {
	protected QLineEdit(Class dummy){super((Class) null);}
	public static final int Normal = 0;
	public static final int NoEcho = 1;
	public static final int Password = 2;

	public native QMetaObject metaObject();
	public native String className();
	public QLineEdit(QWidget parent, String name) {
		super((Class) null);
		newQLineEdit(parent,name);
	}
	private native void newQLineEdit(QWidget parent, String name);
	public QLineEdit(QWidget parent) {
		super((Class) null);
		newQLineEdit(parent);
	}
	private native void newQLineEdit(QWidget parent);
	public QLineEdit(String arg1, QWidget parent, String name) {
		super((Class) null);
		newQLineEdit(arg1,parent,name);
	}
	private native void newQLineEdit(String arg1, QWidget parent, String name);
	public QLineEdit(String arg1, QWidget parent) {
		super((Class) null);
		newQLineEdit(arg1,parent);
	}
	private native void newQLineEdit(String arg1, QWidget parent);
	public QLineEdit(String arg1, String arg2, QWidget parent, String name) {
		super((Class) null);
		newQLineEdit(arg1,arg2,parent,name);
	}
	private native void newQLineEdit(String arg1, String arg2, QWidget parent, String name);
	public QLineEdit(String arg1, String arg2, QWidget parent) {
		super((Class) null);
		newQLineEdit(arg1,arg2,parent);
	}
	private native void newQLineEdit(String arg1, String arg2, QWidget parent);
	public native String text();
	public native String displayText();
	public native int maxLength();
	public native boolean frame();
	public native int echoMode();
	public native boolean isReadOnly();
	public native QValidator validator();
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native int cursorPosition();
	public native boolean validateAndSet(String arg1, int arg2, int arg3, int arg4);
	public native int alignment();
	public native void cursorLeft(boolean mark, int steps);
	public native void cursorLeft(boolean mark);
	public native void cursorRight(boolean mark, int steps);
	public native void cursorRight(boolean mark);
	public native void cursorForward(boolean mark, int steps);
	public native void cursorForward(boolean mark);
	public native void cursorBackward(boolean mark, int steps);
	public native void cursorBackward(boolean mark);
	public native void cursorWordForward(boolean mark);
	public native void cursorWordBackward(boolean mark);
	public native void backspace();
	public native void del();
	public native void home(boolean mark);
	public native void end(boolean mark);
	public native boolean isModified();
	public native void clearModified();
	public native boolean edited();
	public native void setEdited(boolean arg1);
	public native boolean hasSelectedText();
	public native String selectedText();
	public native int selectionStart();
	public native boolean isUndoAvailable();
	public native boolean isRedoAvailable();
	public native boolean hasMarkedText();
	public native String markedText();
	public native boolean dragEnabled();
	public native String inputMask();
	public native void setInputMask(String inputMask);
	public native boolean hasAcceptableInput();
	public native int characterAt(int arg1, char arg2);
	public native boolean getSelection(int[] arg1, int[] arg2);
	public native void setText(String arg1);
	public native void selectAll();
	public native void deselect();
	public native void clearValidator();
	public native void insert(String arg1);
	public native void clear();
	public native void undo();
	public native void redo();
	public native void setMaxLength(int arg1);
	public native void setFrame(boolean arg1);
	public native void setEchoMode(int arg1);
	public native void setReadOnly(boolean arg1);
	public native void setValidator(QValidator arg1);
	public native void setFont(QFont arg1);
	public native void setPalette(QPalette arg1);
	public native void setSelection(int arg1, int arg2);
	public native void setCursorPosition(int arg1);
	public native void setAlignment(int flag);
	public native void cut();
	public native void copy();
	public native void paste();
	public native void setDragEnabled(boolean b);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public native boolean event(QEvent arg1);
	protected native void mousePressEvent(QMouseEvent arg1);
	protected native void mouseMoveEvent(QMouseEvent arg1);
	protected native void mouseReleaseEvent(QMouseEvent arg1);
	protected native void mouseDoubleClickEvent(QMouseEvent arg1);
	protected native void keyPressEvent(QKeyEvent arg1);
	protected native void imStartEvent(QIMEvent arg1);
	protected native void imComposeEvent(QIMEvent arg1);
	protected native void imEndEvent(QIMEvent arg1);
	protected native void focusInEvent(QFocusEvent arg1);
	protected native void focusOutEvent(QFocusEvent arg1);
	protected native void resizeEvent(QResizeEvent arg1);
	protected native void drawContents(QPainter arg1);
	protected native void dragEnterEvent(QDragEnterEvent arg1);
	protected native void dragMoveEvent(QDragMoveEvent e);
	protected native void dragLeaveEvent(QDragLeaveEvent e);
	protected native void dropEvent(QDropEvent arg1);
	protected native void contextMenuEvent(QContextMenuEvent arg1);
	protected native QPopupMenu createPopupMenu();
	protected native void windowActivationChange(boolean arg1);
	protected native void repaintArea(int arg1, int arg2);
	/** 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();
}