|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.table.JCSelection | +--com.klg.jclass.table.JCListTable.ListSelection
The JCListSelection
class supports row and column level
selection.
Field Summary |
Fields inherited from class com.klg.jclass.table.JCSelection |
last_selected_column, last_selected_row, policy, selected_cells, table |
Fields inherited from interface com.klg.jclass.table.SelectionModel |
ADD, DESELECT, END, EXTEND, SELECT, SELECT_MULTIRANGE, SELECT_NONE, SELECT_RANGE, SELECT_SINGLE |
Constructor Summary | |
JCListTable.ListSelection(com.klg.jclass.table.JCTable table)
|
Method Summary | |
boolean |
addSelection(com.klg.jclass.table.JCCellRange cr)
Adds a JCCellRange to the selection. |
boolean |
extendSelection(int row,
int column)
Extends the current selection to the given row and column. |
boolean |
select(int state,
int row,
int column)
Adds, extends, deselects, or ends a selection based on a row or column. |
boolean |
setSelection(com.klg.jclass.table.JCCellRange cr)
Sets the selection to a JCCellRange . |
Methods inherited from class com.klg.jclass.table.JCSelection |
addColumnSelection, addRowSelection, addSelection, cleanup, clearSelection, clearSelection, clearWithNoNotification, getSelectedCells, getSelectionPolicy, getTable, isLabel, isSelected, moveColumns, moveRows, remapColumns, remapRows, selectAll, setColumnSelection, setRowSelection, setSelection, setSelection, setSelectionPolicy, setTable, shiftColumn, shiftRow, swapColumns, swapRows |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JCListTable.ListSelection(com.klg.jclass.table.JCTable table)
Method Detail |
public boolean addSelection(com.klg.jclass.table.JCCellRange cr)
JCCellRange
to the selection.
addSelection
in interface SelectionModel
addSelection
in class JCSelection
cr
-
true
if the selection is acceptedpublic boolean extendSelection(int row, int column)
extendSelection
in interface SelectionModel
extendSelection
in class JCSelection
row
- column
-
true
if the selection is acceptedpublic boolean setSelection(com.klg.jclass.table.JCCellRange cr)
JCCellRange
.
setSelection
in interface SelectionModel
setSelection
in class JCSelection
cr
-
true
if the selection is acceptedpublic boolean select(int state, int row, int column)
select
in interface SelectionModel
select
in class JCSelection
column
- row
- state
-
true
if the model supports the selection
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |