public class FormItemEditProxy extends EditProxy
config, factoryCreated, factoryProperties, id, scClassName
Constructor and Description |
---|
FormItemEditProxy() |
FormItemEditProxy(JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
JavaScriptObject |
create() |
static FormItemEditProxy |
getOrCreateRef(JavaScriptObject jsObj) |
java.lang.String |
getValueMapDisplaySeparatorChar()
If
inline editing for this FormItem edits the
valueMap , character that should be used as a
separator for
entering com.smartgwt.client.types.ValueMap s that map from a stored value to a user-displayed value. |
java.lang.String |
getValueMapEscapeChar()
If
inline editing for this FormItem edits the valueMap , character that can be used to enter literal
separator chars (such as the valueMapSeparatorChar ) or literal leading or trailing whitespace. |
java.lang.String |
getValueMapSelectedChar()
If
inline editing for this FormItem edits the
valueMap , character that can be used to mark the
default selected
option. |
java.lang.String |
getValueMapSeparatorChar()
If
inline editing for this FormItem edits the valueMap , character that should be used as a separator
between values, or between pairs of stored vs display values if the user is entering such a com.smartgwt.client.types.ValueMap using the valueMapDisplaySeparatorChar . |
void |
setValueMapDisplaySeparatorChar(java.lang.String valueMapDisplaySeparatorChar)
If
inline editing for this FormItem edits the
valueMap , character that should be used as a
separator for
entering com.smartgwt.client.types.ValueMap s that map from a stored value to a user-displayed value. |
void |
setValueMapEscapeChar(java.lang.String valueMapEscapeChar)
If
inline editing for this FormItem edits the valueMap , character that can be used to enter literal
separator chars (such as the valueMapSeparatorChar ) or literal leading or trailing whitespace. |
void |
setValueMapSelectedChar(java.lang.String valueMapSelectedChar)
If
inline editing for this FormItem edits the
valueMap , character that can be used to mark the
default selected
option. |
void |
setValueMapSeparatorChar(java.lang.String valueMapSeparatorChar)
If
inline editing for this FormItem edits the valueMap , character that should be used as a separator
between values, or between pairs of stored vs display values if the user is entering such a com.smartgwt.client.types.ValueMap using the valueMapDisplaySeparatorChar . |
getAllowNestedDrops, getAutoMaskChildren, getBringToFrontOnSelect, getCanSelect, getCanSelectChildren, getChildrenSnapResizeToGrid, getChildrenSnapToGrid, getEditMask, getHoopSelector, getInlineEditEvent, getInlineEditForm, getInlineEditInstructionLabel, getInlineEditInstructions, getInlineEditMultiline, getInlineEditOnDrop, getInlineEditText, getJsObj, getOrCreateJsObj, getPersistCoordinates, getSelectedAppearance, getSelectedBorder, getSelectedLabelBackgroundColor, getSelectedTintColor, getSelectedTintOpacity, getSupportsInlineEdit, isCreated, setAllowNestedDrops, setAutoMaskChildren, setBringToFrontOnSelect, setCanSelect, setCanSelectChildren, setChildrenSnapResizeToGrid, setChildrenSnapToGrid, setInlineEditEvent, setInlineEditInstructions, setInlineEditMultiline, setInlineEditOnDrop, setInlineEditText, 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 FormItemEditProxy()
public FormItemEditProxy(JavaScriptObject jsObj)
public static FormItemEditProxy getOrCreateRef(JavaScriptObject jsObj)
public JavaScriptObject create()
public void setValueMapDisplaySeparatorChar(java.lang.String valueMapDisplaySeparatorChar) throws java.lang.IllegalStateException
inline editing
for this FormItem edits the
valueMap
, character that should be used as a
separator for
entering com.smartgwt.client.types.ValueMap
s that map from a stored value to a user-displayed value.
With the default of ":", the following input:
1:Fixed, 2:Won't Fix, 3:ResolvedWould be assumed to be a mapping like this (expressed in JSON):
{ "1" : "Fixed", "2" : "Won't Fix", "3" : "Resolved" }
If the input has inconsistent use of the separator char, the input will be assumed to be stored-to-displayed mapping if the separator char is present in a majority of values, and any values that lack a separator will use the same value for storage and display. For example, for this input:
Fixed:Reported Fixed, WontFix:Won't Fix, ResolvedThe resulting
valueMap
would be:
{ "Fixed" : "Reported Fixed", "WontFix" : "Won't Fix", "Resolved" : "Resolved" }
The valueMapEscapeChar
can be used to enter
literal colon characters.
Set valueMapDisplaySeparatorChar
to null to prevent entry of stored
vs displayed values - user input will always be treated as just a list of legal
values.
valueMapDisplaySeparatorChar
- Default value is ":"java.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getValueMapDisplaySeparatorChar()
inline editing
for this FormItem edits the
valueMap
, character that should be used as a
separator for
entering com.smartgwt.client.types.ValueMap
s that map from a stored value to a user-displayed value.
With the default of ":", the following input:
1:Fixed, 2:Won't Fix, 3:ResolvedWould be assumed to be a mapping like this (expressed in JSON):
{ "1" : "Fixed", "2" : "Won't Fix", "3" : "Resolved" }
If the input has inconsistent use of the separator char, the input will be assumed to be stored-to-displayed mapping if the separator char is present in a majority of values, and any values that lack a separator will use the same value for storage and display. For example, for this input:
Fixed:Reported Fixed, WontFix:Won't Fix, ResolvedThe resulting
valueMap
would be:
{ "Fixed" : "Reported Fixed", "WontFix" : "Won't Fix", "Resolved" : "Resolved" }
The valueMapEscapeChar
can be used to enter
literal colon characters.
Set valueMapDisplaySeparatorChar
to null to prevent entry of stored
vs displayed values - user input will always be treated as just a list of legal
values.
public void setValueMapEscapeChar(java.lang.String valueMapEscapeChar) throws java.lang.IllegalStateException
inline editing
for this FormItem edits the valueMap
, character that can be used to enter literal
separator chars (such as the valueMapSeparatorChar
) or literal leading or trailing whitespace. Repeat this character twice to enter it literally. For example, with the default of "\", inputting "\\" would result in a literal backslash in the value.
valueMapEscapeChar
- Default value is "\"java.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getValueMapEscapeChar()
inline editing
for this FormItem edits the valueMap
, character that can be used to enter literal
separator chars (such as the valueMapSeparatorChar
) or literal leading or trailing whitespace. Repeat this character twice to enter it literally. For example, with the default of "\", inputting "\\" would result in a literal backslash in the value.
public void setValueMapSelectedChar(java.lang.String valueMapSelectedChar) throws java.lang.IllegalStateException
inline editing
for this FormItem edits the
valueMap
, character that can be used to mark the
default selected
option. Can appear before or after a value, for example, with this input:
Fixed,Won't Fix,Resolved*"Resolved" would be the default selected value.
If multiple values are marked selected for a SelectItem,
multiple
will automatically be set.
The valueMapEscapeChar
can be used to allow
the
valueMapSelectedChar
to appear at the beginning or end of a
valueMap value.
valueMapSelectedChar
- Default value is "*"java.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getValueMapSelectedChar()
inline editing
for this FormItem edits the
valueMap
, character that can be used to mark the
default selected
option. Can appear before or after a value, for example, with this input:
Fixed,Won't Fix,Resolved*"Resolved" would be the default selected value.
If multiple values are marked selected for a SelectItem,
multiple
will automatically be set.
The valueMapEscapeChar
can be used to allow
the
valueMapSelectedChar
to appear at the beginning or end of a
valueMap value.
public void setValueMapSeparatorChar(java.lang.String valueMapSeparatorChar) throws java.lang.IllegalStateException
inline editing
for this FormItem edits the valueMap
, character that should be used as a separator
between values, or between pairs of stored vs display values if the user is entering such a com.smartgwt.client.types.ValueMap
using the valueMapDisplaySeparatorChar
. If inlineEditMultiline
is enabled, newlines will be used as
value separators and the valueMapSeparatorChar
The valueMapEscapeChar
can be used to enter the separator
char as part of a valueMap value.
valueMapSeparatorChar
- Default value is ","java.lang.IllegalStateException
- this property cannot be changed after the underlying component has been createdpublic java.lang.String getValueMapSeparatorChar()
inline editing
for this FormItem edits the valueMap
, character that should be used as a separator
between values, or between pairs of stored vs display values if the user is entering such a com.smartgwt.client.types.ValueMap
using the valueMapDisplaySeparatorChar
. If inlineEditMultiline
is enabled, newlines will be used as
value separators and the valueMapSeparatorChar
The valueMapEscapeChar
can be used to enter the separator
char as part of a valueMap value.