|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.gui.QTableWidgetSelectionRange
public class QTableWidgetSelectionRange
The QTableWidgetSelectionRange
class provides a container for storing a selection range in a QTableWidget
. The QTableWidgetSelectionRange
class stores the top left and bottom right rows and columns of a selection range in a table. The selections in the table may consist of several selection ranges.
QTableWidget
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
---|
QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9 |
Constructor Summary | |
---|---|
QTableWidgetSelectionRange()
Constructs an table selection range, i.e. |
|
QTableWidgetSelectionRange(int top,
int left,
int bottom,
int right)
Constructs the table selection range from the given top, left, bottom and right table rows and columns. |
|
QTableWidgetSelectionRange(QTableWidgetSelectionRange other)
Constructs a the table selection range by copying the given other table selection range. |
Method Summary | |
---|---|
int |
bottomRow()
Returns the bottom row of the range. |
QTableWidgetSelectionRange |
clone()
This method is reimplemented for internal reasons |
int |
columnCount()
Returns the number of columns in the range. |
static QTableWidgetSelectionRange |
fromNativePointer(QNativePointer nativePointer)
|
int |
leftColumn()
Returns the left column of the range. |
static QNativePointer |
nativePointerArray(QTableWidgetSelectionRange[] array)
|
int |
rightColumn()
Returns the right column of the range. |
int |
rowCount()
Returns the number of rows in the range. |
int |
topRow()
Returns the top row of the range. |
Methods inherited from class com.trolltech.qt.QtJambiObject |
---|
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr |
Methods inherited from class com.trolltech.qt.QSignalEmitter |
---|
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.trolltech.qt.QtJambiInterface |
---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
Constructor Detail |
---|
public QTableWidgetSelectionRange()
rowCount()
and columnCount()
are 0.
public QTableWidgetSelectionRange(QTableWidgetSelectionRange other)
public QTableWidgetSelectionRange(int top, int left, int bottom, int right)
topRow()
, leftColumn()
, bottomRow()
, and rightColumn()
.
Method Detail |
---|
public final int bottomRow()
topRow()
, rightColumn()
, and rowCount()
.
public final int columnCount()
This is equivalent to rightColumn()
- leftColumn()
+ 1.
rowCount()
, leftColumn()
, and rightColumn()
.
public final int leftColumn()
rightColumn()
, topRow()
, and columnCount()
.
public final int rightColumn()
leftColumn()
, bottomRow()
, and columnCount()
.
public final int rowCount()
This is equivalent to bottomRow()
- topRow()
+ 1.
columnCount()
, topRow()
, and bottomRow()
.
public final int topRow()
bottomRow()
, leftColumn()
, and rowCount()
.
public static QTableWidgetSelectionRange fromNativePointer(QNativePointer nativePointer)
public static QNativePointer nativePointerArray(QTableWidgetSelectionRange[] array)
public QTableWidgetSelectionRange clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |