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

import org.kde.qt.Qt;
import org.kde.qt.QColor;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QPoint;
import org.kde.qt.QDragEnterEvent;
import org.kde.qt.QPainter;
import org.kde.qt.QMouseEvent;
import org.kde.qt.QDropEvent;
import org.kde.qt.QWidget;
import org.kde.qt.QResizeEvent;
import org.kde.qt.QGridView;

/**

 A table of editable color cells.
 See {@link KColorCellsSignals} for signals emitted by KColorCells
		@author Martin Jones <mjones@kde.org>

		@short    A table of editable color cells.

*/
public class KColorCells extends QGridView  {
	protected KColorCells(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public KColorCells(QWidget parent, int rows, int cols) {
		super((Class) null);
		newKColorCells(parent,rows,cols);
	}
	private native void newKColorCells(QWidget parent, int rows, int cols);
	public native void setColor(int colNum, QColor col);
	public native QColor color(int indx);
	public native int numCells();
	public native void setShading(boolean _shade);
	public native void setAcceptDrags(boolean _acceptDrags);
	public native int getSelected();
	public native void paintCell(QPainter painter, int row, int col);
	protected native void resizeEvent(QResizeEvent arg1);
	protected native void mouseReleaseEvent(QMouseEvent arg1);
	protected native void mousePressEvent(QMouseEvent arg1);
	protected native void mouseMoveEvent(QMouseEvent arg1);
	protected native void dragEnterEvent(QDragEnterEvent arg1);
	protected native void dropEvent(QDropEvent arg1);
	protected native void mouseDoubleClickEvent(QMouseEvent arg1);
	protected native int posToCell(QPoint pos, boolean ignoreBorders);
	protected native int posToCell(QPoint pos);
	/** 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();
}