config, configOnly, factoryCreated, factoryProperties, id, scClassName
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
|
com.google.gwt.core.client.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) |
com.google.gwt.core.client.JavaScriptObject |
getJsObj() |
com.google.gwt.core.client.JavaScriptObject |
getOrCreateJsObj() |
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.
|
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()
Method called 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) |
addDynamicProperty, addDynamicProperty, addDynamicProperty, addDynamicProperty, applyFactoryProperties, asSGWTComponent, clearDynamicProperty, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getID, getRef, getRuleScope, getScClassName, getTestInstance, hasAutoAssignedID, hasDynamicProperty, internalSetID, internalSetID, isConfigOnly, 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, setConfigOnly, setFactoryCreated, setID, setProperty, setProperty, setProperty, setProperty, setRuleScope, setScClassName
public 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)
setJavaScriptObject
in class BaseClass
public com.google.gwt.core.client.JavaScriptObject create()
public com.google.gwt.core.client.JavaScriptObject getJsObj()
public com.google.gwt.core.client.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()
Selection overview and related methods
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)