public class GridEditProxy extends LayoutEditProxy
config, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
GridEditProxy() |
GridEditProxy(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
JavaScriptObject |
create() |
java.lang.Boolean |
getCanAddFormulaFields()
Can new formula fields be created from header context menu? Overrides
canAddFormulaFields when in edit mode. |
java.lang.Boolean |
getCanAddSummaryFields()
Can new summary fields be created from header context menu? Overrides
canAddSummaryFields when in edit mode. |
java.lang.Boolean |
getCanEditHilites()
Can highlights be edited from header context menu? Overrides
canEditHilites when in edit mode. |
java.lang.Boolean |
getCanGroupBy()
Can records be grouped from header context menu? Overrides
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(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?
|
void |
setCanAddFormulaFields(java.lang.Boolean canAddFormulaFields)
Can new formula fields be created from header context menu? Overrides
canAddFormulaFields when in edit mode. |
void |
setCanAddSummaryFields(java.lang.Boolean canAddSummaryFields)
Can new summary fields be created from header context menu? Overrides
canAddSummaryFields when in edit mode. |
void |
setCanEditHilites(java.lang.Boolean canEditHilites)
Can highlights be edited from header context menu? Overrides
canEditHilites when in edit mode. |
void |
setCanGroupBy(java.lang.Boolean canGroupBy)
Can records be grouped from header context menu? Overrides
canGroupBy when in edit mode. |
void |
setCanReorderFields(java.lang.Boolean canReorderFields)
Indicates whether fields in this listGrid can be reordered by dragging and dropping header fields.
|
void |
setCanResizeFields(java.lang.Boolean canResizeFields)
Indicates whether fields in this listGrid can be resized by dragging header fields.
|
void |
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).
|
void |
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).
|
void |
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.
|
void |
setSaveFieldFrozenState(java.lang.Boolean saveFieldFrozenState)
Should changes to which fields are
frozen be persisted? |
void |
setSaveFieldOrder(java.lang.Boolean saveFieldOrder)
Should changes to grid field order be persisted?
|
void |
setSaveFieldVisibility(java.lang.Boolean saveFieldVisibility)
Should changes to grid field visibility be persisted?
|
void |
setSaveFilterCriteria(java.lang.Boolean saveFilterCriteria)
Should changes to filter criteria by end user editing of criteria in the
filter editor by persisted? |
void |
setSaveGroupBy(java.lang.Boolean saveGroupBy)
Should changes to grid grouping (including both grouping and ungrouping the grid) be persisted?
|
void |
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, getSupportsInlineEdit, isCreated, setAllowNestedDrops, setAutoMaskChildren, setBringToFrontOnSelect, setCanSelect, setCanSelectChildren, setChildrenSnapResizeToGrid, setChildrenSnapToGrid, setInlineEditEvent, setInlineEditInstructions, setInlineEditMultiline, setInlineEditOnDrop, setJavaScriptObject, setPersistCoordinates, setSelectedAppearance, setSelectedBorder, setSelectedLabelBackgroundColor, setSelectedTintColor, setSelectedTintOpacity, setSupportsInlineEdit, showSelectedAppearance, startInlineEditing, startInlineEditing
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 GridEditProxy()
public GridEditProxy(JavaScriptObject jsObj)
public static GridEditProxy getOrCreateRef(JavaScriptObject jsObj)
public JavaScriptObject create()
create
in class LayoutEditProxy
public void setCanAddFormulaFields(java.lang.Boolean canAddFormulaFields) throws java.lang.IllegalStateException
canAddFormulaFields
when in edit mode.canAddFormulaFields
- Default value is truejava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanAddFormulaFields()
canAddFormulaFields
when in edit mode.public void setCanAddSummaryFields(java.lang.Boolean canAddSummaryFields) throws java.lang.IllegalStateException
canAddSummaryFields
when in edit mode.canAddSummaryFields
- Default value is truejava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanAddSummaryFields()
canAddSummaryFields
when in edit mode.public void setCanEditHilites(java.lang.Boolean canEditHilites) throws java.lang.IllegalStateException
canEditHilites
when in edit mode.canEditHilites
- Default value is truejava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanEditHilites()
canEditHilites
when in edit mode.public void setCanGroupBy(java.lang.Boolean canGroupBy) throws java.lang.IllegalStateException
canGroupBy
when in edit mode.canGroupBy
- Default value is truejava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanGroupBy()
canGroupBy
when in edit mode.public void setCanReorderFields(java.lang.Boolean canReorderFields) throws java.lang.IllegalStateException
canReorderFields
when in edit mode.canReorderFields
- Default value is truejava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanReorderFields()
canReorderFields
when in edit mode.public void setCanResizeFields(java.lang.Boolean canResizeFields) throws java.lang.IllegalStateException
canResizeFields
when in edit mode.canResizeFields
- Default value is truejava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getCanResizeFields()
canResizeFields
when in edit mode.public void setGenerateEditableFormulas(java.lang.Boolean generateEditableFormulas) throws java.lang.IllegalStateException
canEditFormula
.generateEditableFormulas
- Default value is truejava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getGenerateEditableFormulas()
canEditFormula
.public void setGenerateEditableHilites(java.lang.Boolean generateEditableHilites) throws java.lang.IllegalStateException
canEdit
.generateEditableHilites
- Default value is truejava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getGenerateEditableHilites()
canEdit
.public void setGenerateEditableSummaries(java.lang.Boolean generateEditableSummaries) throws java.lang.IllegalStateException
canEditSummary
.generateEditableSummaries
- Default value is truejava.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.Boolean getGenerateEditableSummaries()
canEditSummary
.public void 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
- Default value is truejava.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 void 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
- Default value is truejava.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 void 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
- Default value is truejava.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 void 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
- Default value is truejava.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 void setSaveGroupBy(java.lang.Boolean saveGroupBy) throws java.lang.IllegalStateException
Only valid with
SelectedAppearance
settings that allow direct interactivity (such as "outlineEdges").
saveGroupBy
- Default value is truejava.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 void setSaveSort(java.lang.Boolean saveSort) throws java.lang.IllegalStateException
Only valid with SelectedAppearance
settings that allow direct interactivity (such as "outlineEdges").
saveSort
- Default value is truejava.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()
inlineEditForm
to obtain the starting edit value. Returns the
grid's wiki-style data - see mockData
for a description of
this format.
getInlineEditText
in class EditProxy
public void setInlineEditText(java.lang.String newValue)
inlineEditForm
to commit the change. Updates the grid's data and field configuration.
setInlineEditText
in class EditProxy
newValue
- the new grid configuration