Package com.smartgwt.client.tools
Class SelectItemEditProxy
java.lang.Object
com.smartgwt.client.core.BaseClass
com.smartgwt.client.tools.EditProxy
com.smartgwt.client.tools.FormItemEditProxy
com.smartgwt.client.tools.SelectItemEditProxy
- All Implemented Interfaces:
HasHandlers
- Direct Known Subclasses:
SavedSearchItemEditProxy
- See Also:
-
Field Summary
Fields inherited from class com.smartgwt.client.core.BaseClass
config, configOnly, factoryCreated, factoryProperties, id, scClassName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
void
Returns the text based on the current component state to be edited inline.static SelectItemEditProxy
getOrCreateRef
(JavaScriptObject jsObj) void
setInlineEditText
(String newValue) Save the new value into the component's state.Methods inherited from class com.smartgwt.client.tools.FormItemEditProxy
getValueMapDisplaySeparatorChar, getValueMapEscapeChar, getValueMapSelectedChar, getValueMapSeparatorChar, setValueMapDisplaySeparatorChar, setValueMapEscapeChar, setValueMapSelectedChar, setValueMapSeparatorChar
Methods inherited from class com.smartgwt.client.tools.EditProxy
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
Methods inherited from class com.smartgwt.client.core.BaseClass
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
-
Constructor Details
-
SelectItemEditProxy
public SelectItemEditProxy() -
SelectItemEditProxy
-
-
Method Details
-
getOrCreateRef
-
create
- Overrides:
create
in classFormItemEditProxy
-
getInlineEditText
public void getInlineEditText()Returns the text based on the current component state to be edited inline. Called by theEditProxy.inlineEditForm
to obtain the starting edit value.Returns the component's valueMap one-per-line as specified in
FormItemEditProxy.valueMapDisplaySeparatorChar
. Current value(s) is indicated withFormItemEditProxy.valueMapSelectedChar
.- Overrides:
getInlineEditText
in classEditProxy
-
setInlineEditText
Save the new value into the component's state. Called by theEditProxy.inlineEditForm
to commit the change.Updates the component's valueMap and current value.
- Overrides:
setInlineEditText
in classEditProxy
- Parameters:
newValue
- the new component valueMap
-