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

import org.kde.qt.Qt;
import java.util.Calendar;

/**
 See {@link QDateEditSignals} for signals emitted by QDateEdit
*/
public class QDateEdit extends QDateTimeEditBase  {
	protected QDateEdit(Class dummy){super((Class) null);}
	public static final int DMY = 0;
	public static final int MDY = 1;
	public static final int YMD = 2;
	public static final int YDM = 3;

	public native QMetaObject metaObject();
	public native String className();
	public QDateEdit(QWidget parent, String name) {
		super((Class) null);
		newQDateEdit(parent,name);
	}
	private native void newQDateEdit(QWidget parent, String name);
	public QDateEdit(QWidget parent) {
		super((Class) null);
		newQDateEdit(parent);
	}
	private native void newQDateEdit(QWidget parent);
	public QDateEdit() {
		super((Class) null);
		newQDateEdit();
	}
	private native void newQDateEdit();
	public QDateEdit(Calendar date, QWidget parent, String name) {
		super((Class) null);
		newQDateEdit(date,parent,name);
	}
	private native void newQDateEdit(Calendar date, QWidget parent, String name);
	public QDateEdit(Calendar date, QWidget parent) {
		super((Class) null);
		newQDateEdit(date,parent);
	}
	private native void newQDateEdit(Calendar date, QWidget parent);
	public QDateEdit(Calendar date) {
		super((Class) null);
		newQDateEdit(date);
	}
	private native void newQDateEdit(Calendar date);
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native Calendar date();
	public native void setOrder(int order);
	public native int order();
	public native void setAutoAdvance(boolean advance);
	public native boolean autoAdvance();
	public native void setMinValue(Calendar d);
	public native Calendar minValue();
	public native void setMaxValue(Calendar d);
	public native Calendar maxValue();
	public native void setRange(Calendar min, Calendar max);
	public native String separator();
	public native void setSeparator(String s);
	public native void removeFirstNumber(int sec);
	public native void setDate(Calendar date);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public native boolean event(QEvent e);
	protected native void timerEvent(QTimerEvent arg1);
	protected native void resizeEvent(QResizeEvent arg1);
	public native void stepUp();
	public native void stepDown();
	public native String sectionFormattedText(int sec);
	public native void addNumber(int sec, int num);
	public native void removeLastNumber(int sec);
	public native boolean setFocusSection(int s);
	protected native void setYear(int year);
	protected native void setMonth(int month);
	protected native void setDay(int day);
	protected native void fix();
	protected native boolean outOfRange(int y, int m, int d);
	protected native void updateButtons();
	/** 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();
}