Uses of Class
com.jbstrap.ui.components.form.items.DualListBox
-
Uses of DualListBox in com.jbstrap.ui.components.form.items
Modifier and TypeMethodDescriptionfinal DualListBox
DualListBox.addElement
(Object dataValue, Object displayValue) Adds an item to the dual list box.final DualListBox
DualListBox.addElements
(Map<Object, Object> data) Adds multiple items to the dual list box.final DualListBox
DualListBox.clear()
Clears the value set of the dual list box and removes all items from the value set.final DualListBox
DualListBox.fetchData()
Gets the value set data from the database.final DualListBox
Gets the dual list box’s value set data from the database, fulfilling the specified filter criterion.final DualListBox
DualListBox.removeElement
(Object dataValue) Removes an item from the dual list box’s value set based on the item’s data value.DualListBox.setAutoFetchData
(boolean autoFetch) Sets if the component should automatically query the data for the value set from the database.final DualListBox
DualListBox.setCollator
(Collator collator) Sets the collator instance sorting the value set.DualListBox.setCustomFetch
(FetchEvent fetchEvent) Sets a custom query.final DualListBox
DualListBox.setDataColumn
(String columnName) Specifies the name of the DataDescriptor which contains value set data values.final DualListBox
DualListBox.setDataDescriptor
(DataDescriptor dataDesriptor) Sets the DataDescriptor associated with the value set.DualListBox.setDefaultValue
(Object defaultValue) Sets the default value of the dual list box.DualListBox.setDispalyColumnNames
(String... columnNames) Sets the columns containing the displayed value.final DualListBox
DualListBox.setDisplayColumn
(String columnName) Sets the name of the DataDescriptor column containing the value set’s displayed values.final DualListBox
DualListBox.setDisplayColumnSeparator
(String separator) Sets the separator text for the display values.DualListBox.setEnabled
(boolean enabled) Enables/disables the dual list box.final DualListBox
DualListBox.setExtendValues
(String extendValues) This parameter enables you to save additional data to the relation table.final DualListBox
DualListBox.setFilterCriteria
(Criteria criteria) Sets the filter criterion used to filter the value set.final DualListBox
DualListBox.setJoinTableName
(String joinTableName) This method sets the name of the relation table.DualListBox.setReadOnly
(boolean readOnly) final DualListBox
DualListBox.setRecordColumnName
(String recordColumnName) You can use this setting to specify the way the saved record and the record in the relation table are joined.DualListBox.setSort
(boolean sort) Specifies if the displayed values are sorted.Sets the dual list box value set according to the specified collator.Sets the current value of the dual list box.final DualListBox
DualListBox.setValueColumnName
(String valueColumnName) Sets the relation table column name where the component value is saved.
The component value is a list of data values.