public class GridSelectRecordsTask extends ComponentTask
Task Output:
config, configOnly, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
GridSelectRecordsTask() |
GridSelectRecordsTask(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
Criteria |
getCriteria()
Criteria defining the records that should be selected or deselected.
|
java.lang.Boolean |
getKeepExistingSelection()
For grids that allow multiple selection, should any existing selection be retained? Only applies when selecting records.
|
static GridSelectRecordsTask |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.Boolean |
getScrollIntoView()
Set to
false to prevent the first affected record from being scrolled into view. |
java.lang.Boolean |
getSelect()
Set to
false to clear selection. |
java.lang.Boolean |
getSelectMultiple()
Should multiple records matching
Criteria be affected? If set to false
only the first matching record is affected. |
GridSelectRecordsTask |
setCriteria(Criteria criteria)
Criteria defining the records that should be selected or deselected.
|
GridSelectRecordsTask |
setKeepExistingSelection(java.lang.Boolean keepExistingSelection)
For grids that allow multiple selection, should any existing selection be retained? Only applies when selecting records.
|
GridSelectRecordsTask |
setScrollIntoView(java.lang.Boolean scrollIntoView)
Set to
false to prevent the first affected record from being scrolled into view. |
GridSelectRecordsTask |
setSelect(java.lang.Boolean select)
Set to
false to clear selection. |
GridSelectRecordsTask |
setSelectMultiple(java.lang.Boolean selectMultiple)
Should multiple records matching
Criteria be affected? If set to false
only the first matching record is affected. |
getComponentBaseClass, getComponentBaseClassAsStringArray, getComponentId, getComponentRequiresDataSource, getTargetComponent, getTargetComponent, setComponentBaseClass, setComponentBaseClass, setComponentId, setComponentRequiresDataSource
completeElement, convertToJavaScriptArray, executeElement, getBindOutput, getClassDescription, getDescription, getDynamicValue, getEditorType, getElementDescription, getForceSingle, getID, getJsObj, getMockMode, getNextElement, getOrCreateJsObj, getPassThruOutput, getProcessElements, getSupportsMultipleInputRecords, getTextFormulaValue, getTypeTitle, isCreated, objectReferencesLastTaskOutput, onInit, reset, setAttribute, setBindOutput, setClassDescription, setDescription, setEditorType, setForceSingle, setID, setJavaScriptObject, setMockMode, setNextElement, setPassThruOutput, setSupportsMultipleInputRecords, setTypeTitle, updateGlobalIDInCriteria, updateGlobalIDInValueProperty, updateGlobalIDInValues, updateGlobalIDReferences, updateLastElementBindingReferences, updateLastElementInCriteria, updateLastElementInValueProperty, updateLastElementInValues
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, getRef, getRuleScope, getScClassName, getTestInstance, hasAutoAssignedID, hasDynamicProperty, internalSetID, internalSetID, isConfigOnly, isFactoryCreated, onBind, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setFactoryCreated, setProperty, setProperty, setProperty, setProperty, setRuleScope, setScClassName
public GridSelectRecordsTask()
public GridSelectRecordsTask(com.google.gwt.core.client.JavaScriptObject jsObj)
public static GridSelectRecordsTask getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject create()
create
in class ComponentTask
public GridSelectRecordsTask setCriteria(Criteria criteria) throws java.lang.IllegalStateException
To target a single record just specify criteria for its primary key.
criteria
- New criteria value. Default value is nullGridSelectRecordsTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic Criteria getCriteria()
To target a single record just specify criteria for its primary key.
public GridSelectRecordsTask setKeepExistingSelection(java.lang.Boolean keepExistingSelection) throws java.lang.IllegalStateException
keepExistingSelection
- New keepExistingSelection value. Default value is nullGridSelectRecordsTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getKeepExistingSelection()
public GridSelectRecordsTask setScrollIntoView(java.lang.Boolean scrollIntoView) throws java.lang.IllegalStateException
false
to prevent the first affected record from being scrolled into view.scrollIntoView
- New scrollIntoView value. Default value is nullGridSelectRecordsTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getScrollIntoView()
false
to prevent the first affected record from being scrolled into view.public GridSelectRecordsTask setSelect(java.lang.Boolean select) throws java.lang.IllegalStateException
false
to clear selection.select
- New select value. Default value is nullGridSelectRecordsTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getSelect()
false
to clear selection.public GridSelectRecordsTask setSelectMultiple(java.lang.Boolean selectMultiple) throws java.lang.IllegalStateException
Criteria
be affected? If set to false
only the first matching record is affected.selectMultiple
- New selectMultiple value. Default value is nullGridSelectRecordsTask
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getSelectMultiple()
Criteria
be affected? If set to false
only the first matching record is affected.