Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.gui
Class QTableWidgetSelectionRange

    java.lang.Object
      com.trolltech.qt.internal.QSignalEmitterInternal
          com.trolltech.qt.QSignalEmitter
              com.trolltech.qt.QtJambiObject
                  com.trolltech.qt.gui.QTableWidgetSelectionRange

All Implemented Interfaces:
  QtJambiInterface, java.lang.Cloneable

    public class QTableWidgetSelectionRange

extends QtJambiObject
implements java.lang.Cloneable

The `QTableWidgetSelectionRange` class provides a way to interact with selection in a model without using model indexes and a selection model. 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.

Note: If the item within the selection range is marked as not selectable, e.g., `itemFlags() & Qt::ItemIsSelectable == 0` then it will not appear in the selection range.

See also:
  `QTableWidget`.

Nested Class Summary

Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
`QSignalEmitter.AbstractSignal, QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9`

Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
`com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal`

Field Summary

Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
`currentSender`

Constructor Summary
`QTableWidgetSelectionRange()` Constructs an table selection range, i.
`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.
`int` | `leftColumn()` Returns the left column of the range.
`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 com.trolltech.qt.internal.QSignalEmitterInternal
`__qt_signalInitialization`

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

### QTableWidgetSelectionRange

    public QTableWidgetSelectionRange()

  Constructs an table selection range, i. . a range whose `rowCount()` and `columnCount()` are 0.

### QTableWidgetSelectionRange

    public QTableWidgetSelectionRange(QTableWidgetSelectionRange other)

  Constructs a the table selection range by copying the given `other` table selection range.

### QTableWidgetSelectionRange

    public 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.

See also:
  `topRow()`, `leftColumn()`, `bottomRow()`, and `rightColumn()`.

Method Detail

### bottomRow

    public final int bottomRow()

  Returns the bottom row of the range.

See also:
  `topRow()`, `rightColumn()`, and `rowCount()`.

### columnCount

    public final int columnCount()

  Returns the number of columns in the range.

  This is equivalent to `rightColumn()` - `leftColumn()` + 1.

See also:
  `rowCount()`, `leftColumn()`, and `rightColumn()`.

### leftColumn

    public final int leftColumn()

  Returns the left column of the range.

See also:
  `rightColumn()`, `topRow()`, and `columnCount()`.

### rightColumn

    public final int rightColumn()

  Returns the right column of the range.

See also:
  `leftColumn()`, `bottomRow()`, and `columnCount()`.

### rowCount

    public final int rowCount()

  Returns the number of rows in the range.

  This is equivalent to `bottomRow()` - `topRow()` + 1.

See also:
  `columnCount()`, `topRow()`, and `bottomRow()`.

### topRow

    public final int topRow()

  Returns the top row of the range.

See also:
  `bottomRow()`, `leftColumn()`, and `rowCount()`.

### clone

    public QTableWidgetSelectionRange clone()

  This method is reimplemented for internal reasons

  Overrides:
    `clone` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD