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

import org.kde.qt.Qt;
import org.kde.qt.TQColor;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQSize;
import org.kde.qt.TQPainter;
import org.kde.qt.TQWidget;

/**

 The KGradientSelector widget allows the user to choose
 from a one-dimensional range of colors which is given as a
 gradient between two colors provided by the programmer.
 \image html kgradientselector.png "KDE Gradient Selector Widget"
		@short    The KGradientSelector widget allows the user to choose  from a one-dimensional range of colors which is given as a  gradient between two colors provided by the programmer.

*/
public class KGradientSelector extends TDESelector  {
	protected KGradientSelector(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**	
		 Constructs a horizontal color selector which
		 contains a gradient between white and black.
		   		@short    Constructs a horizontal color selector which  contains a gradient between white and black.
	*/
	public KGradientSelector(TQWidget parent, String name) {
		super((Class) null);
		newKGradientSelector(parent,name);
	}
	private native void newKGradientSelector(TQWidget parent, String name);
	public KGradientSelector(TQWidget parent) {
		super((Class) null);
		newKGradientSelector(parent);
	}
	private native void newKGradientSelector(TQWidget parent);
	public KGradientSelector() {
		super((Class) null);
		newKGradientSelector();
	}
	private native void newKGradientSelector();
	/**	
		 Constructs a colors selector with orientation o which
		 contains a gradient between white and black.
		   		@short    Constructs a colors selector with orientation o which  contains a gradient between white and black.
	*/
	public KGradientSelector(int o, TQWidget parent, String name) {
		super((Class) null);
		newKGradientSelector(o,parent,name);
	}
	private native void newKGradientSelector(int o, TQWidget parent, String name);
	public KGradientSelector(int o, TQWidget parent) {
		super((Class) null);
		newKGradientSelector(o,parent);
	}
	private native void newKGradientSelector(int o, TQWidget parent);
	public KGradientSelector(int o) {
		super((Class) null);
		newKGradientSelector(o);
	}
	private native void newKGradientSelector(int o);
	/**	
		 Sets the two colors which span the gradient.
		   		@short    Sets the two colors which span the gradient.
	*/
	public native void setColors(TQColor col1, TQColor col2);
	public native void setText(String t1, String t2);
	/**	
		 Set each color on its own.
		   		@short    Set each color on its own.
	*/
	public native void setFirstColor(TQColor col);
	public native void setSecondColor(TQColor col);
	/**	
		 Set each description on its own
		   		@short    Set each description on its own
	*/
	public native void setFirstText(String t);
	public native void setSecondText(String t);
	public native TQColor firstColor();
	public native TQColor secondColor();
	public native String firstText();
	public native String secondText();
	protected native void drawContents(TQPainter arg1);
	public native TQSize minimumSize();
	/** 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();
}