blob: eda369de7c8b311a00054f1d8088efb824b8a448 (
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.TQColor;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQPoint;
import org.kde.qt.TQDragEnterEvent;
import org.kde.qt.TQPainter;
import org.kde.qt.TQMouseEvent;
import org.kde.qt.TQDropEvent;
import org.kde.qt.TQWidget;
import org.kde.qt.TQResizeEvent;
import org.kde.qt.TQGridView;
/**
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 TQGridView {
protected KColorCells(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
public KColorCells(TQWidget parent, int rows, int cols) {
super((Class) null);
newKColorCells(parent,rows,cols);
}
private native void newKColorCells(TQWidget parent, int rows, int cols);
public native void setColor(int colNum, TQColor col);
public native TQColor 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(TQPainter painter, int row, int col);
protected native void resizeEvent(TQResizeEvent arg1);
protected native void mouseReleaseEvent(TQMouseEvent arg1);
protected native void mousePressEvent(TQMouseEvent arg1);
protected native void mouseMoveEvent(TQMouseEvent arg1);
protected native void dragEnterEvent(TQDragEnterEvent arg1);
protected native void dropEvent(TQDropEvent arg1);
protected native void mouseDoubleClickEvent(TQMouseEvent arg1);
protected native int posToCell(TQPoint pos, boolean ignoreBorders);
protected native int posToCell(TQPoint 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();
}
|