public class GridEditProxy extends LayoutEditProxy
Dashboards & Tools Framework Overview
config, configOnly, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
GridEditProxy() |
GridEditProxy(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.Boolean |
getCanAddFormulaFields()
Can new formula fields be created from header context menu? Overrides
ListGrid.canAddFormulaFields when in edit mode. |
java.lang.Boolean |
getCanAddSummaryFields()
Can new summary fields be created from header context menu? Overrides
ListGrid.canAddSummaryFields when in edit mode. |
java.lang.Boolean |
getCanEditHilites()
Can highlights be edited from header context menu? Overrides
ListGrid.canEditHilites when in edit mode. |
java.lang.Boolean |
getCanGroupBy()
Can records be grouped from header context menu? Overrides
ListGrid.canGroupBy when in edit mode. |
java.lang.Boolean |
getCanReorderFields()
Indicates whether fields in this listGrid can be reordered by dragging and dropping header fields.
|
java.lang.Boolean |
getCanResizeFields()
Indicates whether fields in this listGrid can be resized by dragging header fields.
|
java.lang.Boolean |
getGenerateEditableFormulas()
Controls whether formula fields created while in edit mode are editable by end users at runtime (when the grid is no
longer in edit mode).
|
java.lang.Boolean |
getGenerateEditableHilites()
Controls whether highlights created while in edit mode are editable by end users at runtime (when the grid is no longer
in edit mode).
|
java.lang.Boolean |
getGenerateEditableSummaries()
Controls whether summary fields created while in edit mode are editable by end users at runtime (when the grid is no
longer in edit mode).
|
void |
getInlineEditText()
Returns the text based on the current component state to be edited inline.
|
static GridEditProxy |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.Boolean |
getSaveFieldFrozenState()
Should changes to which fields are
frozen be persisted? |
java.lang.Boolean |
getSaveFieldOrder()
Should changes to grid field order be persisted?
|
java.lang.Boolean |
getSaveFieldVisibility()
Should changes to grid field visibility be persisted?
|
java.lang.Boolean |
getSaveFilterCriteria()
Should changes to filter criteria by end user editing of criteria in the
filter editor by persisted? |
java.lang.Boolean |
getSaveGroupBy()
Should changes to grid grouping (including both grouping and ungrouping the grid) be persisted?
|
java.lang.Boolean |
getSaveSort()
Should changes to which fields are sorted be persisted?
|
GridEditProxy |
setCanAddFormulaFields(java.lang.Boolean canAddFormulaFields)
Can new formula fields be created from header context menu? Overrides
ListGrid.canAddFormulaFields when in edit mode. |
GridEditProxy |
setCanAddSummaryFields(java.lang.Boolean canAddSummaryFields)
Can new summary fields be created from header context menu? Overrides
ListGrid.canAddSummaryFields when in edit mode. |
GridEditProxy |
setCanEditHilites(java.lang.Boolean canEditHilites)
Can highlights be edited from header context menu? Overrides
ListGrid.canEditHilites when in edit mode. |
GridEditProxy |
setCanGroupBy(java.lang.Boolean canGroupBy)
Can records be grouped from header context menu? Overrides
ListGrid.canGroupBy when in edit mode. |
GridEditProxy |
setCanReorderFields(java.lang.Boolean canReorderFields)
Indicates whether fields in this listGrid can be reordered by dragging and dropping header fields.
|
GridEditProxy |
setCanResizeFields(java.lang.Boolean canResizeFields)
Indicates whether fields in this listGrid can be resized by dragging header fields.
|
GridEditProxy |
setGenerateEditableFormulas(java.lang.Boolean generateEditableFormulas)
Controls whether formula fields created while in edit mode are editable by end users at runtime (when the grid is no
longer in edit mode).
|
GridEditProxy |
setGenerateEditableHilites(java.lang.Boolean generateEditableHilites)
Controls whether highlights created while in edit mode are editable by end users at runtime (when the grid is no longer
in edit mode).
|
GridEditProxy |
setGenerateEditableSummaries(java.lang.Boolean generateEditableSummaries)
Controls whether summary fields created while in edit mode are editable by end users at runtime (when the grid is no
longer in edit mode).
|
void |
setInlineEditText(java.lang.String newValue)
Save the new value into the component's state.
|
GridEditProxy |
setSaveFieldFrozenState(java.lang.Boolean saveFieldFrozenState)
Should changes to which fields are
frozen be persisted? |
GridEditProxy |
setSaveFieldOrder(java.lang.Boolean saveFieldOrder)
Should changes to grid field order be persisted?
|
GridEditProxy |
setSaveFieldVisibility(java.lang.Boolean saveFieldVisibility)
Should changes to grid field visibility be persisted?
|
GridEditProxy |
setSaveFilterCriteria(java.lang.Boolean saveFilterCriteria)
Should changes to filter criteria by end user editing of criteria in the
filter editor by persisted? |
GridEditProxy |
setSaveGroupBy(java.lang.Boolean saveGroupBy)
Should changes to grid grouping (including both grouping and ungrouping the grid) be persisted?
|
GridEditProxy |
setSaveSort(java.lang.Boolean saveSort)
Should changes to which fields are sorted be persisted?
|
getAllowNestedDrops, getAutoMaskChildren, getBringToFrontOnSelect, getCanSelect, getCanSelectChildren, getChildrenSnapResizeToGrid, getChildrenSnapToGrid, getEditMask, getHoopSelector, getInlineEditEvent, getInlineEditForm, getInlineEditInstructionLabel, getInlineEditInstructions, getInlineEditMultiline, getInlineEditOnDrop, getJsObj, getOrCreateJsObj, getPersistCoordinates, getSelectedAppearance, getSelectedBorder, getSelectedLabelBackgroundColor, getSelectedTintColor, getSelectedTintOpacity, getShowDragHandle, getSupportsInlineEdit, getUseCopyPasteShortcuts, getUseEditMask, isCreated, setAllowNestedDrops, setAutoMaskChildren, setBringToFrontOnSelect, setCanSelect, setCanSelectChildren, setChildrenSnapResizeToGrid, setChildrenSnapToGrid, setInlineEditEvent, setInlineEditInstructions, setInlineEditMultiline, setInlineEditOnDrop, setJavaScriptObject, setPersistCoordinates, setSelectedAppearance, setSelectedBorder, setSelectedLabelBackgroundColor, setSelectedTintColor, setSelectedTintOpacity, setShowDragHandle, setSupportsInlineEdit, setUseCopyPasteShortcuts, setUseEditMask, showSelectedAppearance, startInlineEditing, startInlineEditing
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 GridEditProxy()
public GridEditProxy(com.google.gwt.core.client.JavaScriptObject jsObj)
public static GridEditProxy getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject create()
create
in class LayoutEditProxy
public GridEditProxy setCanAddFormulaFields(java.lang.Boolean canAddFormulaFields) throws java.lang.IllegalStateException
ListGrid.canAddFormulaFields
when in edit mode.canAddFormulaFields
- New canAddFormulaFields value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanAddFormulaFields()
ListGrid.canAddFormulaFields
when in edit mode.public GridEditProxy setCanAddSummaryFields(java.lang.Boolean canAddSummaryFields) throws java.lang.IllegalStateException
ListGrid.canAddSummaryFields
when in edit mode.canAddSummaryFields
- New canAddSummaryFields value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanAddSummaryFields()
ListGrid.canAddSummaryFields
when in edit mode.public GridEditProxy setCanEditHilites(java.lang.Boolean canEditHilites) throws java.lang.IllegalStateException
ListGrid.canEditHilites
when in edit mode.canEditHilites
- New canEditHilites value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanEditHilites()
ListGrid.canEditHilites
when in edit mode.public GridEditProxy setCanGroupBy(java.lang.Boolean canGroupBy) throws java.lang.IllegalStateException
ListGrid.canGroupBy
when in edit mode.canGroupBy
- New canGroupBy value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanGroupBy()
ListGrid.canGroupBy
when in edit mode.public GridEditProxy setCanReorderFields(java.lang.Boolean canReorderFields) throws java.lang.IllegalStateException
ListGrid.canReorderFields
when in edit mode.canReorderFields
- New canReorderFields value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanReorderFields()
ListGrid.canReorderFields
when in edit mode.public GridEditProxy setCanResizeFields(java.lang.Boolean canResizeFields) throws java.lang.IllegalStateException
ListGrid.canResizeFields
when in edit mode.canResizeFields
- New canResizeFields value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanResizeFields()
ListGrid.canResizeFields
when in edit mode.public GridEditProxy setGenerateEditableFormulas(java.lang.Boolean generateEditableFormulas) throws java.lang.IllegalStateException
ListGridField.canEditFormula
.generateEditableFormulas
- New generateEditableFormulas value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getGenerateEditableFormulas()
ListGridField.canEditFormula
.public GridEditProxy setGenerateEditableHilites(java.lang.Boolean generateEditableHilites) throws java.lang.IllegalStateException
Hilite.canEdit
.generateEditableHilites
- New generateEditableHilites value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getGenerateEditableHilites()
Hilite.canEdit
.public GridEditProxy setGenerateEditableSummaries(java.lang.Boolean generateEditableSummaries) throws java.lang.IllegalStateException
ListGridField.canEditSummary
.generateEditableSummaries
- New generateEditableSummaries value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getGenerateEditableSummaries()
ListGridField.canEditSummary
.public GridEditProxy setSaveFieldFrozenState(java.lang.Boolean saveFieldFrozenState) throws java.lang.IllegalStateException
frozen
be persisted?
Note that changes are saved directly into the ListGridFields not via fieldState or viewState settings. EditNodes will also be introduced for fields as needed if they do not already exist.
Only valid with SelectedAppearance
settings that allow direct interactivity (such as "outlineEdges").
saveFieldFrozenState
- New saveFieldFrozenState value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getSaveFieldFrozenState()
frozen
be persisted?
Note that changes are saved directly into the ListGridFields not via fieldState or viewState settings. EditNodes will also be introduced for fields as needed if they do not already exist.
Only valid with SelectedAppearance
settings that allow direct interactivity (such as "outlineEdges").
public GridEditProxy setSaveFieldOrder(java.lang.Boolean saveFieldOrder) throws java.lang.IllegalStateException
Note that changes are saved directly into the ListGridFields not via fieldState or viewState settings. EditNodes will also be introduced for fields as needed if they do not already exist.
Only valid with SelectedAppearance
settings that allow direct interactivity
(such as "outlineEdges").
saveFieldOrder
- New saveFieldOrder value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getSaveFieldOrder()
Note that changes are saved directly into the ListGridFields not via fieldState or viewState settings. EditNodes will also be introduced for fields as needed if they do not already exist.
Only valid with SelectedAppearance
settings that allow direct interactivity
(such as "outlineEdges").
public GridEditProxy setSaveFieldVisibility(java.lang.Boolean saveFieldVisibility) throws java.lang.IllegalStateException
Note that changes are saved directly into the ListGridFields not via fieldState or viewState settings. EditNodes will also be introduced for fields as needed if they do not already exist.
Only valid with SelectedAppearance
settings that allow direct interactivity
(such as "outlineEdges").
saveFieldVisibility
- New saveFieldVisibility value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getSaveFieldVisibility()
Note that changes are saved directly into the ListGridFields not via fieldState or viewState settings. EditNodes will also be introduced for fields as needed if they do not already exist.
Only valid with SelectedAppearance
settings that allow direct interactivity
(such as "outlineEdges").
public GridEditProxy setSaveFilterCriteria(java.lang.Boolean saveFilterCriteria) throws java.lang.IllegalStateException
filter editor
by persisted? Only valid with SelectedAppearance
settings that allow direct interactivity (such as "outlineEdges").
saveFilterCriteria
- New saveFilterCriteria value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getSaveFilterCriteria()
filter editor
by persisted? Only valid with SelectedAppearance
settings that allow direct interactivity (such as "outlineEdges").
public GridEditProxy setSaveGroupBy(java.lang.Boolean saveGroupBy) throws java.lang.IllegalStateException
Only valid with
SelectedAppearance
settings that allow direct interactivity (such as "outlineEdges").
saveGroupBy
- New saveGroupBy value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getSaveGroupBy()
Only valid with
SelectedAppearance
settings that allow direct interactivity (such as "outlineEdges").
public GridEditProxy setSaveSort(java.lang.Boolean saveSort) throws java.lang.IllegalStateException
Only valid with SelectedAppearance
settings that allow direct interactivity (such as "outlineEdges").
saveSort
- New saveSort value. Default value is trueGridEditProxy
instance, for chaining setter callsjava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getSaveSort()
Only valid with SelectedAppearance
settings that allow direct interactivity (such as "outlineEdges").
public void getInlineEditText()
EditProxy.inlineEditForm
to obtain the starting edit value.
Returns the grid's wiki-style data - see MockDataSource.mockData
for a description of this format.
getInlineEditText
in class EditProxy
public void setInlineEditText(java.lang.String newValue)
EditProxy.inlineEditForm
to commit the change. Updates the grid's data and field configuration.
setInlineEditText
in class EditProxy
newValue
- the new grid configuration