public class CellSelection extends RefDataClass
CubeGrid widgets.id| Constructor and Description |
|---|
CellSelection() |
CellSelection(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
anySelected()
Is anything in the list selected?
|
java.lang.Boolean |
cellIsSelected(int rowNum,
int colNum)
Return true if a particular item is selected
|
java.lang.Boolean |
deselectCell(int rowNum,
int colNum)
Deselect a particular cell
|
java.lang.Boolean |
deselectCellList()
deselect an array of cells
|
java.lang.Boolean |
deselectCellList(int[][] cells) |
static CellSelection |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
int[][] |
getSelectedCells()
Returns an array of the currently selected cells.
|
ListGridRecord |
getSelectedRecord()
Returns the first record that has any cells selected.
|
java.lang.Boolean |
selectCell(int rowNum,
int colNum)
Select a particular cell
|
java.lang.Boolean |
selectCellList()
select an array of cells
|
java.lang.Boolean |
selectCellList(int[][] cells) |
void |
selectionChanged()
Observable handler fired whenever the cell selection is modified
|
java.lang.Boolean |
selectSingleCell(int rowNum,
int colNum)
select a single cell and deselect everything else
|
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
getRef, getRef, internalSetIDdoAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObjectpublic CellSelection()
public CellSelection(com.google.gwt.core.client.JavaScriptObject jsObj)
public static CellSelection getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
public java.lang.Boolean anySelected()
Selection overview and related methodspublic java.lang.Boolean cellIsSelected(int rowNum,
int colNum)
rowNum - row index of the cell to checkcolNum - column index of the cell to checkSelection overview and related methodspublic java.lang.Boolean deselectCell(int rowNum,
int colNum)
rowNum - row index of the cell to selectcolNum - column index of the cell to selectSelection overview and related methodspublic ListGridRecord getSelectedRecord()
Selection overview and related methodspublic java.lang.Boolean selectCell(int rowNum,
int colNum)
rowNum - row index of cell to selectcolNum - column index of cell to selectSelection overview and related methodspublic void selectionChanged()
public java.lang.Boolean selectSingleCell(int rowNum,
int colNum)
rowNum - row index of cell to selectcolNum - column index of cell to selectSelection overview and related methodspublic int[][] getSelectedCells()
[rowNum, colNum].Selection overview and related methodspublic java.lang.Boolean deselectCellList()
Selection overview and related methodspublic java.lang.Boolean deselectCellList(int[][] cells)
public java.lang.Boolean selectCellList()
Selection overview and related methodspublic java.lang.Boolean selectCellList(int[][] cells)