Méthode | Description | |
---|---|---|
AddCell ( |
Adds the Cell at the specified row and column indicies to the current selection
|
|
AddCell ( int row, int column ) : void |
Adds the Cell at the specified row and column indicies to the current selection
|
|
AddCells ( |
Adds the Cells located between the specified start and end CellPos to the current selection
|
|
AddCells ( int startRow, int startColumn, int endRow, int endColumn ) : void |
Adds the Cells located between the specified start and end row/column indicies to the current selection
|
|
AddShiftSelectedCell ( |
Adds the Cells between the last selection start Cell and the Cell at the specified CellPas to the current selection. Any Cells that are between the last start and end Cells that are not in the new area are removed from the current selection
|
|
AddShiftSelectedCell ( int row, int column ) : void |
Adds the Cells between the last selection start Cell and the Cell at the specified row/column indicies to the current selection. Any Cells that are between the last start and end Cells that are not in the new area are removed from the current selection
|
|
Clear ( ) : void |
Removes all selected Rows and Cells from the selection
|
|
IsCellSelected ( |
Returns whether the Cell at the specified CellPos is currently selected
|
|
IsCellSelected ( int row, int column ) : bool |
Returns whether the Cell at the specified row and column indicies is currently selected
|
|
IsRowSelected ( int index ) : bool |
Returns whether the Row at the specified index in th TableModel is currently selected
|
|
RemoveCell ( |
Removes the Cell at the specified row and column indicies from the current selection
|
|
RemoveCell ( int row, int column ) : void |
Removes the Cell at the specified row and column indicies from the current selection
|
|
RemoveCells ( |
Removes the Cells located between the specified start and end CellPos from the current selection
|
|
RemoveCells ( int startRow, int startColumn, int endRow, int endColumn ) : void |
Removes the Cells located between the specified start and end row/column indicies from the current selection
|
|
SelectCell ( |
Replaces the currently selected Cells with the Cell at the specified CellPos
|
|
SelectCell ( int row, int column ) : void |
Replaces the currently selected Cells with the Cell at the specified row and column indexes
|
|
SelectCells ( |
Replaces the currently selected Cells with the Cells located between the specified start and end CellPos
|
|
SelectCells ( int startRow, int startColumn, int endRow, int endColumn ) : void |
Replaces the currently selected Cells with the Cells located between the specified start and end row/column indicies
|
|
Selection ( |
Initializes a new instance of the TableModel.Selection class that belongs to the specified TableModel
|
Méthode | Description | |
---|---|---|
CalcSelectionBounds ( int start, int end ) : |
Returns a Rectange that bounds the currently selected Rows
|
|
InternalAddCells ( |
Adds the Cells located between the specified start and end CellPos to the current selection without raising an event
|
|
InternalAddCells ( int startRow, int startColumn, int endRow, int endColumn ) : bool |
Adds the Cells located between the specified start and end row/column indicies to the current selection without raising an event
|
|
InternalClear ( ) : void |
Removes all selected Rows and Cells from the selection without raising an event
|
|
InternalRemoveCells ( |
Removes the Cells located between the specified start and end CellPos from the current selection without raising an event
|
|
InternalRemoveCells ( int startRow, int startColumn, int endRow, int endColumn ) : bool |
Removes the Cells located between the specified start and end row/column indicies from the current selection without raising an event
|
|
Normalise ( int &a, int &b ) : void |
Ensures that the first index is smaller than the second index, performing a swap if necessary
|
|
RemoveRow ( |
Removes the specified Row from the selection
|
|
RemoveRow ( int row ) : void |
Removes the specified Row from selection
|
public AddCell ( |
||
cellPos | A CellPos that specifies the Cell to add to the selection | |
Résultat | void |
public AddCell ( int row, int column ) : void | ||
row | int | The row index of the Cell to add to the selection |
column | int | The column index of the Cell to add to the selection |
Résultat | void |
public AddCells ( |
||
start | A CellPos that specifies the start Cell | |
end | A CellPos that specifies the end Cell | |
Résultat | void |
public AddCells ( int startRow, int startColumn, int endRow, int endColumn ) : void | ||
startRow | int | The row index of the start Cell |
startColumn | int | The column index of the start Cell |
endRow | int | The row index of the end Cell |
endColumn | int | The column index of the end Cell |
Résultat | void |
public AddShiftSelectedCell ( |
||
cellPos | A CellPos that specifies the shift selected Cell | |
Résultat | void |
public AddShiftSelectedCell ( int row, int column ) : void | ||
row | int | The row index of the shift selected Cell |
column | int | The column index of the shift selected Cell |
Résultat | void |
public IsCellSelected ( |
||
cellPos | A CellPos the represents the row and column indicies /// of the Cell to check | |
Résultat | bool |
public IsCellSelected ( int row, int column ) : bool | ||
row | int | The row index of the specified Cell |
column | int | The column index of the specified Cell |
Résultat | bool |
public IsRowSelected ( int index ) : bool | ||
index | int | The index of the Row to check |
Résultat | bool |
public RemoveCell ( |
||
cellPos | A CellPos that specifies the Cell to remove from the selection | |
Résultat | void |
public RemoveCell ( int row, int column ) : void | ||
row | int | The row index of the Cell to remove from the selection |
column | int | The column index of the Cell to remove from the selection |
Résultat | void |
public RemoveCells ( |
||
start | A CellPos that specifies the start Cell | |
end | A CellPos that specifies the end Cell | |
Résultat | void |
public RemoveCells ( int startRow, int startColumn, int endRow, int endColumn ) : void | ||
startRow | int | The row index of the start Cell |
startColumn | int | The column index of the start Cell |
endRow | int | The row index of the end Cell |
endColumn | int | The column index of the end Cell |
Résultat | void |
public SelectCell ( |
||
cellPos | A CellPos thst specifies the row and column indicies of /// the Cell to be selected | |
Résultat | void |
public SelectCell ( int row, int column ) : void | ||
row | int | The row index of the Cell to be selected |
column | int | The column index of the Cell to be selected |
Résultat | void |
public SelectCells ( |
||
start | A CellPos that specifies the start Cell | |
end | A CellPos that specifies the end Cell | |
Résultat | void |
public SelectCells ( int startRow, int startColumn, int endRow, int endColumn ) : void | ||
startRow | int | The row index of the start Cell |
startColumn | int | The column index of the start Cell |
endRow | int | The row index of the end Cell |
endColumn | int | The column index of the end Cell |
Résultat | void |
public Selection ( |
||
owner | A TableModel representing the tableModel that owns /// the Selection | |
Résultat | System |