/** * If true, even non-matching options will be shown, with configurable {@link * com.smartgwt.client.widgets.form.fields.ComboBoxItem#getSeparatorRows separator rows} in between. Not valid for {@link * com.smartgwt.client.widgets.form.fields.ComboBoxItem#getOptionDataSource databound pickLists}. * * * @return Boolean */ public Boolean getShowAllOptions() { return getAttributeAsBoolean("showAllOptions"); }
/** * If this combo box retrieves its options from a <code>dataSource</code>, should options be fetched from the server when * the item is first written out, or should this fetch be delayed until the user opens the pickList. * * * @return Boolean */ public Boolean getAutoFetchData() { return getAttributeAsBoolean("autoFetchData"); }
/** * If showing a hint for this form item, should it be shown within the field? <P>CSS style for the hint is {@link * com.smartgwt.client.widgets.form.fields.SelectItem#getTextBoxStyle textBoxStyle} with the suffix "Hint" appended to it. * * * @return Boolean * @see com.smartgwt.client.widgets.form.fields.FormItem#getHint * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public Boolean getShowHintInField() { return getAttributeAsBoolean("showHintInField"); }
/** * Show the picker icon for the ComboBox. * * * @return Boolean */ public Boolean getShowPickerIcon() { return getAttributeAsBoolean("showPickerIcon"); }
/** * If this pickList contains no options, should it be hidden? If unset, default behavior is to allow the empty * pickList to show if it is databound. * * @return Boolean */ public Boolean getHideEmptyPickList() { return getAttributeAsBoolean("hideEmptyPickList"); }
/** * If true, when the pickList is showing, the user can select the current value by hitting the <code>Tab</code> key. * * * @return Boolean */ public Boolean getCompleteOnTab() { return getAttributeAsBoolean("completeOnTab"); }
/** * Select the first option as the default value for this ComboBoxItem. If options are derived from a dataSource, the first * value returned by the server will be used, otherwise the first value in the valueMap. If enabled, this setting overrides * {@link com.smartgwt.client.widgets.form.fields.ComboBoxItem#getDefaultValue defaultValue} and {@link * com.smartgwt.client.widgets.form.fields.ComboBoxItem#defaultDynamicValue ComboBoxItem.defaultDynamicValue}. * * * @return Boolean */ public Boolean getDefaultToFirstOption() { return getAttributeAsBoolean("defaultToFirstOption"); }
/** * If this item is part of a databound form, and has a specified <code>valueMap</code>, by default we show the valueMap * options in the pickList for the item. Setting this property to true will ensure that the options displayed in our * pickList are derived from the form's <code>dataSource</code>. * * * @return Boolean * @see com.smartgwt.client.docs.Databinding Databinding overview and related methods */ public Boolean getShowOptionsFromDataSource() { return getAttributeAsBoolean("showOptionsFromDataSource"); }
/** * If true, when the pickList is shown, it will be shown via an animated reveal effect * * @return Boolean */ public Boolean getAnimatePickList() { return getAttributeAsBoolean("animatePickList"); }
/** * Static default value for this ComboBoxItem. To default to the first option use {@link * com.smartgwt.client.widgets.form.fields.ComboBoxItem#getDefaultToFirstOption defaultToFirstOption} instead. * * * @return Boolean */ public Boolean getDefaultValue() { return getAttributeAsBoolean("defaultValue"); }
/** * Read-only property set by the ComboBoxItem to indicate whether we should use the current typed-in value as part of the * filter criteria returned by {@link com.smartgwt.client.widgets.form.fields.ComboBoxItem#getPickListFilterCriteria * ComboBoxItem.getPickListFilterCriteria}. You can check this flag in order to mimic the ComboBoxItem's default behavior * if you provide a custom implementation of <code>getPickListFilterCriteria()</code>. * * * @return Boolean */ public Boolean getFilterWithValue() { return getAttributeAsBoolean("filterWithValue"); }
/** * Should the list of options be displayed whenever the user types into the the combo-box textArea, or only when the user * clicks on the pick button or uses the explicit <code>Alt+Arrow Down</code> key combination? * * * @return Boolean */ public Boolean getShowPickListOnKeypress() { return getAttributeAsBoolean("showPickListOnKeypress"); }
/** * If <code>filterLocally</code> is set for this item, and this item is showing options from a dataSource, fetch the * entire set of options from the server, and use these values to map the item value to the appropriate display value. Also * use <code>"local"</code> type filtering on drop down list of options. <P> This means data will only be fetched once from * the server, and then filtered on the client. * * * @return Boolean * @see com.smartgwt.client.widgets.form.fields.FormItem#getFilterLocally */ public Boolean getFilterLocally() { return getAttributeAsBoolean("filterLocally"); }
/** * If set to false, if a value has been entered that does not match an entry in the ValueMap or a value loaded from the * {@link com.smartgwt.client.widgets.form.fields.ComboBoxItem#getOptionDataSource optionDataSource}, it will be discarded * if the user leaves the field. <P> When this mode is enabled, {@link * com.smartgwt.client.widgets.form.fields.ComboBoxItem#getGetValue getValue} will return null unless the value typed in by * the user has valid matches. Use {@link com.smartgwt.client.widgets.form.fields.ComboBoxItem#getEnteredValue * ComboBoxItem.getEnteredValue} to get the raw value typed in by the user. <P> Note that this flag effectively enables * {@link com.smartgwt.client.widgets.form.fields.ComboBoxItem#getCompleteOnTab completeOnTab}, since leaving the field in * general (whether by tab or another means) will attempt completion, and discard the value if no valid completion exists. * As with <code>completeOnTab</code>, if the typed in value has more than one match, the first match will be used. * * * @return Boolean */ public Boolean getAddUnknownValues() { return getAttributeAsBoolean("addUnknownValues"); }