Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractFilterModelRefresher<T> - Class in is.codion.swing.common.model.component
-
A default swing based
FilterModel.Refresher. - AbstractFilterModelRefresher(Supplier<Collection<T>>) - Constructor for class is.codion.swing.common.model.component.AbstractFilterModelRefresher
- addListDataListener(ListDataListener) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- asyncRefresh(boolean) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Builder
B
- booleanItemComboBoxModel() - Static method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
-
Constructs a new Boolean based ItemComboBoxModel with null as the initially selected value.
- booleanItemComboBoxModel(String) - Static method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
-
Constructs a new Boolean based ItemComboBoxModel with null as the initially selected value.
- booleanItemComboBoxModel(String, String, String) - Static method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
-
Constructs a new Boolean based ItemComboBoxModel with null as the initially selected value.
- build() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Builder
- build() - Method in interface is.codion.swing.common.model.worker.ProgressWorker.Builder
- builder(FilterTableModel.Columns<R, C>) - Static method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Instantiates a new table model builder.
- builder(ProgressWorker.ProgressResultTask<T, V>) - Static method in class is.codion.swing.common.model.worker.ProgressWorker
- builder(ProgressWorker.ResultTask<T>) - Static method in class is.codion.swing.common.model.worker.ProgressWorker
C
- changedUpdate(DocumentEvent) - Method in interface is.codion.swing.common.model.component.text.DocumentAdapter
- CLEAR - Enum constant in enum class is.codion.swing.common.model.component.table.FilterTableModel.RefreshStrategy
-
Clear the table model before populating it with the refreshed data.
- cleared() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ComboBoxItems
- columnClass(C) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Columns
- columns() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- comparable(R, C) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Columns
-
Returns a Comparable instance for the given row and column.
- comparator(C) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Columns
-
Returns the comparator to use when comparing the values of the given column
- conditions() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- contentsChanged(DocumentEvent) - Method in interface is.codion.swing.common.model.component.text.DocumentAdapter
-
Called when the contents of this document change, either via insertion, update or removal
- createSelectorValue(FilterComboBoxModel.ItemFinder<Item<T>, V>) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- createSelectorValue(FilterComboBoxModel.ItemFinder<T, V>) - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
D
- DocumentAdapter - Interface in is.codion.swing.common.model.component.text
-
A document adapter, with default implementations for the
DocumentAdapter.insertUpdate(DocumentEvent)andDocumentAdapter.removeUpdate(DocumentEvent)callingDocumentAdapter.contentsChanged(DocumentEvent). - doInBackground() - Method in class is.codion.swing.common.model.worker.ProgressWorker
- done() - Method in class is.codion.swing.common.model.worker.ProgressWorker
E
- execute() - Method in interface is.codion.swing.common.model.worker.ProgressWorker.Builder
-
Builds and executes a new
ProgressWorkerbased on this builder - execute() - Method in interface is.codion.swing.common.model.worker.ProgressWorker.ResultTask
-
Executes the task.
- execute(ProgressWorker.ProgressReporter<V>) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.ProgressResultTask
-
Executes the task.
F
- filterComboBoxModel() - Static method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
- FilterComboBoxModel<T> - Interface in is.codion.swing.common.model.component.combobox
-
A combo box model based on
FilterModel. - FilterComboBoxModel.ComboBoxItems<T> - Interface in is.codion.swing.common.model.component.combobox
- FilterComboBoxModel.ComboBoxSelection<T> - Interface in is.codion.swing.common.model.component.combobox
- FilterComboBoxModel.ItemFinder<T,
V> - Interface in is.codion.swing.common.model.component.combobox -
Responsible for finding an item of type
FilterComboBoxModel.ItemFinderby a single value of typeFilterComboBoxModel.ItemFinder. - FilterComboBoxModel.NullItem<T> - Interface in is.codion.swing.common.model.component.combobox
-
Specifies the item that should represent null for providing a caption.
- filterModelFactory(ConditionModel.Factory<C>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Builder
- filterSelected() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ComboBoxSelection
-
Specifies whether filtering the model affects the currently selected item.
- FilterTableModel<R,
C> - Interface in is.codion.swing.common.model.component.table -
Specifies a table model supporting selection as well as filtering
- FilterTableModel.Builder<R,
C> - Interface in is.codion.swing.common.model.component.table -
A builder for a
FilterTableModel. - FilterTableModel.Columns<R,
C> - Interface in is.codion.swing.common.model.component.table -
Specifies the columns for a table model
- FilterTableModel.RefreshStrategy - Enum Class in is.codion.swing.common.model.component.table
-
Specifies how the data in a table model is refreshed.
- FilterTableModel.TableSelection<R> - Interface in is.codion.swing.common.model.component.table
-
A selection model for a
FilterTableModel. - findItem(Collection<T>, V) - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ItemFinder
-
Returns the first item in the given collection containing the given
value. - fireTableDataChanged() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Notifies all listeners that all cell values in the table's rows may have changed.
- fireTableRowsUpdated(int, int) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Notifies all listeners that the given rows have changed
G
- get() - Method in class is.codion.swing.common.model.component.button.NullableToggleButtonModel.ToggleState
- getColumnClass(C) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Returns the class of the column with the given identifier
- getElementAt(int) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- getSelectedItem() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- getSelectedItem() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
- getSize() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- getStringAt(int, C) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Returns a String representation of the value for the given row and column.
I
- identifier(int) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Columns
- identifiers() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Columns
- include() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.NullItem
- indexOf(T) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
-
Returns the index of the Item representing the given value, -1 if this model does not contain such an Item.
- insertUpdate(DocumentEvent) - Method in interface is.codion.swing.common.model.component.text.DocumentAdapter
- is.codion.swing.common.model - module is.codion.swing.common.model
-
Common Swing model classes, such as:
FilterComboBoxModelItemComboBoxModelFilterTableModelFilterTableModel.TableSelectionProgressWorker - is.codion.swing.common.model.component - package is.codion.swing.common.model.component
- is.codion.swing.common.model.component.button - package is.codion.swing.common.model.component.button
- is.codion.swing.common.model.component.combobox - package is.codion.swing.common.model.component.combobox
-
Package configuration values:
FilterComboBoxModel.NULL_CAPTION - is.codion.swing.common.model.component.table - package is.codion.swing.common.model.component.table
- is.codion.swing.common.model.component.text - package is.codion.swing.common.model.component.text
- is.codion.swing.common.model.worker - package is.codion.swing.common.model.worker
- isSelected() - Method in class is.codion.swing.common.model.component.button.NullableToggleButtonModel
- itemComboBoxModel() - Static method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- itemComboBoxModel(List<Item<T>>) - Static method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- ItemComboBoxModel<T> - Class in is.codion.swing.common.model.component.combobox
-
A ComboBoxModel implementation based on the
Itemclass. - items() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- items() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
M
- maximumProgress(int) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.Builder
- MERGE - Enum constant in enum class is.codion.swing.common.model.component.table.FilterTableModel.RefreshStrategy
-
Merges the refreshed data with the data already in the table model, by removing rows that are missing, replacing existing rows and adding new ones.
N
- next() - Method in class is.codion.swing.common.model.component.button.NullableToggleButtonModel.ToggleState
-
Iterates between the states: null -> false -> true
- NULL - Static variable in class is.codion.swing.common.model.component.button.NullableToggleButtonModel
-
The item state NULL.
- NULL_CAPTION - Static variable in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Specifies the caption used by default to represent the null item in combo box models.
- NullableToggleButtonModel - Class in is.codion.swing.common.model.component.button
-
A ToggleButtonModel implementation, which allows the null state.
- NullableToggleButtonModel() - Constructor for class is.codion.swing.common.model.component.button.NullableToggleButtonModel
-
Instantiates a new
NullableToggleButtonModelwith a null initial state. - NullableToggleButtonModel(Boolean) - Constructor for class is.codion.swing.common.model.component.button.NullableToggleButtonModel
-
Instantiates a new
NullableToggleButtonModelwith the given initial state. - NullableToggleButtonModel.ToggleState - Class in is.codion.swing.common.model.component.button
- nullItem() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ComboBoxItems
- nullSelected() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ComboBoxSelection
-
Returns true if this model contains null and it is selected.
O
- observer() - Method in class is.codion.swing.common.model.component.button.NullableToggleButtonModel.ToggleState
- onCancelled(Runnable) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.Builder
- onDone(Runnable) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.Builder
- onException(Consumer<Exception>) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.Builder
- onInterrupted(Runnable) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.Builder
- onProgress(Consumer<Integer>) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.Builder
- onPublish(Consumer<List<V>>) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.Builder
- onResult(Consumer<T>) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.Builder
- onStarted(Runnable) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.Builder
-
Note that this does not get called in case the background processing has finished before the
SwingWorker.StateValue.STARTEDchange event is fired.
P
- predicate(V) - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ItemFinder
-
Returns the
Predicateto use when searching for an item represented by the given value - ProgressWorker<T,
V> - Class in is.codion.swing.common.model.worker -
A SwingWorker implementation.
- ProgressWorker.Builder<T,
V> - Interface in is.codion.swing.common.model.worker -
Builds a
ProgressWorkerinstance. - ProgressWorker.ProgressReporter<V> - Interface in is.codion.swing.common.model.worker
-
Reports progress and publishes intermediate results for a ProgressWorker
- ProgressWorker.ProgressResultTask<T,
V> - Interface in is.codion.swing.common.model.worker -
A progress aware background task producing a result.
- ProgressWorker.ResultTask<T> - Interface in is.codion.swing.common.model.worker
-
A background task producing a result.
- publish(V...) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.ProgressReporter
R
- refresh() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- refresh() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Retains the selection and filtering. - refresh(Consumer<Collection<R>>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Retains the selection and filtering. - refresh(Consumer<Collection<Item<T>>>) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- refreshAsync(Consumer<Collection<T>>) - Method in class is.codion.swing.common.model.component.AbstractFilterModelRefresher
- refresher() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- refreshStrategy() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- refreshStrategy(FilterTableModel.RefreshStrategy) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Builder
- refreshSync(Consumer<Collection<T>>) - Method in class is.codion.swing.common.model.component.AbstractFilterModelRefresher
- removeListDataListener(ListDataListener) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- removeUpdate(DocumentEvent) - Method in interface is.codion.swing.common.model.component.text.DocumentAdapter
- replace(T, T) - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ComboBoxItems
-
Replaces the given item in this combo box model
- report(int) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.ProgressReporter
S
- selectedValues(C) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- selection() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- selection() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
- selection() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- set(Boolean) - Method in class is.codion.swing.common.model.component.button.NullableToggleButtonModel.ToggleState
- setSelected(boolean) - Method in class is.codion.swing.common.model.component.button.NullableToggleButtonModel
-
Sets the underlying state to true or false
- setSelectedItem(Object) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- sortedItemComboBoxModel() - Static method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- sortedItemComboBoxModel(Comparator<Item<T>>) - Static method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- sortedItemComboBoxModel(List<Item<T>>) - Static method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- sortedItemComboBoxModel(List<Item<T>>, Comparator<Item<T>>) - Static method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- string(R, C) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Columns
-
Returns a String representation of the value for the given row and column, an empty String in case of null.
- supplier(Supplier<? extends Collection<R>>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Builder
- supportsAsyncRefresh() - Method in class is.codion.swing.common.model.component.AbstractFilterModelRefresher
T
- toggleState() - Method in class is.codion.swing.common.model.component.button.NullableToggleButtonModel
- translator() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ComboBoxSelection
-
Provides a way for the combo box model to translate an item when it is selected, such as selecting the String "1" in a String based model when selected item is set to the number 1.
V
- validator() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ComboBoxItems
-
Provides a way for the model to prevent the addition of certain items.
- validator(Predicate<R>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Builder
-
Items failing validation can not be added to the model.
- validPredicate() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ComboBoxSelection
-
Provides a way for the combo box model to prevent the selection of certain items.
- value() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ComboBoxSelection
- value(R, C) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Columns
-
Returns a value for the given row and identifier
- value(T) - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel.ItemFinder
-
Returns the value representing the given item
- valueOf(String) - Static method in enum class is.codion.swing.common.model.component.table.FilterTableModel.RefreshStrategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class is.codion.swing.common.model.component.table.FilterTableModel.RefreshStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values(C) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form