config, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
CellSelection() |
CellSelection(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
|
JavaScriptObject |
create() |
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) |
JavaScriptObject |
getJsObj() |
JavaScriptObject |
getOrCreateJsObj() |
static CellSelection |
getOrCreateRef(JavaScriptObject jsObj) |
int[][] |
getSelectedCells()
Returns an array of the currently selected cells.
|
ListGridRecord |
getSelectedRecord()
Returns the first record that has any cells selected.
|
boolean |
isCreated() |
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(JavaScriptObject jsObj) |
applyFactoryProperties, asSGWTComponent, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getID, getRef, getScClassName, getTestInstance, hasAutoAssignedID, internalSetID, internalSetID, isFactoryCreated, onBind, onInit, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setFactoryCreated, setID, setProperty, setProperty, setProperty, setProperty, setScClassName
public CellSelection()
public CellSelection(JavaScriptObject jsObj)
public static CellSelection getOrCreateRef(JavaScriptObject jsObj)
public void setJavaScriptObject(JavaScriptObject jsObj)
setJavaScriptObject
in class BaseClass
public JavaScriptObject create()
public JavaScriptObject getJsObj()
public JavaScriptObject getOrCreateJsObj()
getOrCreateJsObj
in class BaseClass
public java.lang.Boolean anySelected()
Selection overview and related methods
public 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 methods
public 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 methods
public ListGridRecord getSelectedRecord()
Selection overview and related methods
public java.lang.Boolean selectCell(int rowNum, int colNum)
rowNum
- row index of cell to selectcolNum
- column index of cell to selectSelection overview and related methods
public 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 methods
public int[][] getSelectedCells()
[rowNum, colNum]
.Selection overview and related methods
public java.lang.Boolean deselectCellList()
Selection overview and related methods
public java.lang.Boolean deselectCellList(int[][] cells)
public java.lang.Boolean selectCellList()
Selection overview and related methods
public java.lang.Boolean selectCellList(int[][] cells)