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, setScClassNamepublic 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 BaseClasspublic 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 BaseClasspublic java.lang.Boolean anySelected()
Selectionpublic java.lang.Boolean cellIsSelected(int rowNum,
int colNum) rowNum - row index of the cell to checkcolNum - column index of the cell to checkSelectionpublic java.lang.Boolean deselectCell(int rowNum,
int colNum) rowNum - row index of the cell to selectcolNum - column index of the cell to selectSelectionpublic ListGridRecord getSelectedRecord()
Selectionpublic java.lang.Boolean selectCell(int rowNum,
int colNum) rowNum - row index of cell to selectcolNum - column index of cell to selectSelectionpublic void selectionChanged()
Selectionpublic java.lang.Boolean selectSingleCell(int rowNum,
int colNum) rowNum - row index of cell to selectcolNum - column index of cell to selectSelectionpublic 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)