Uses of Class
com.jbstrap.ui.components.form.items.ComboboxItem
-
Uses of ComboboxItem in com.jbstrap.ui.components.form.items
Modifier and TypeMethodDescriptionprotected ComboboxItem
ComboboxItem._addElement
(Object dataValue, Object displayValue) ComboboxItem.addElement
(Object dataValue, Object displayValue) Adds the specified element to the combobox set of values.ComboboxItem.addElements
(Map<Object, Object> data) Adds the specified elements to the combobox set of values.final ComboboxItem
ComboboxItem.clear()
Clears the combobox's set of valuesfinal ComboboxItem
ComboboxItem.close()
Closes the combobox listComboboxItem.fetchData()
Fetches datafinal ComboboxItem
Fetches the combobox's set of values, following the specified criteriafinal ComboboxItem
ComboboxItem.removeElement
(Object dataValue) Removes the specified element from the combobox set of values.final ComboboxItem
ComboboxItem.setAllowNull
(boolean allowNull) Sets if the combobox can accept null values.final ComboboxItem
ComboboxItem.setAutoFetchData
(boolean autoFetch) Sets if the data is automatically fetched from the database.final ComboboxItem
ComboboxItem.setCollator
(Collator collator) Sets the sorting collatorComboboxItem.setCustomFetch
(FetchEvent fetchEvent) Sets a custom query.final ComboboxItem
ComboboxItem.setDataColumn
(String columnName) Sets the name of the DataDescriptor column, that contains the data values(data values are the actual values that are used by the component when the user selects something, not the displayed value).final ComboboxItem
ComboboxItem.setDataDescriptor
(DataDescriptor dataDescriptor) Sets the DataDescriptor, that is used by the Combobox component, to read the set of values from.ComboboxItem.setDefaultValue
(Object defaultValue) Sets the default value of the comboboxfinal ComboboxItem
ComboboxItem.setDisplayColumn
(String columnName) Sets the name of the DataDescriptor column, that contains the display values.final ComboboxItem
ComboboxItem.setDisplayColumns
(String... columnNames) Sets the names of the DataDescriptor columns If multiple display values are used.final ComboboxItem
ComboboxItem.setDisplayColumnSeparator
(String separator) Sets the separator character that is used to separate the display values.ComboboxItem.setEnabled
(boolean enabled) Sets the combobox to be enabled.final ComboboxItem
ComboboxItem.setExtendValues
(String extendValues) If further data is to be stored in the relation table, it can be set using this parameter.final ComboboxItem
ComboboxItem.setFilterCriteria
(Criteria criteria) Sets the criteria that is applied to the records that are in the combobox set of valuesfinal ComboboxItem
ComboboxItem.setJoinTableName
(String joinTableName) If the user can select multiple values in the combobox, those values will be saved to a separate relation table.final ComboboxItem
ComboboxItem.setMultiselect
(boolean multiple) Sets if the user can select multiple values in the combobox.final ComboboxItem
ComboboxItem.setReadOnly
(boolean readOnly) Sets the combobox to be read only for the user.final ComboboxItem
ComboboxItem.setRecordColumnName
(String recordColumnName) This is where the connection of the saved record and the record in the table can be set.ComboboxItem.setRequired
(boolean required) If set, the combobox has to be filled out by the user.ComboboxItem.setSort
(boolean sort) Sets if the combobox values appear sorted to the user.Sets the sorting of the combobox values.Sets the current value of the combobox.final ComboboxItem
ComboboxItem.setValueColumnName
(String valueColumnName) Sets the name of the column , where the component values are to be saved.ComboboxItem.setVisible
(boolean visible) Sets if the component is visible on the interface.