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
- add(Item<T>) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- add(T) - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Adds the given item to this model, respecting the sorting order if specified.
- addItem(R) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Adds the given item to the bottom of this table model.
- addItemAt(int, R) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- addItems(Collection<R>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Adds the given items to the bottom of this table model.
- addItemsAt(int, Collection<R>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Adds the given items to this table model, non-filtered items are added at the given index.
- addItemsAtSorted(int, Collection<R>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Adds the given items to this table model, non-filtered items are added at the given index.
- addItemSorted(R) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Adds the given item to the bottom of this table model.
- addItemsSorted(Collection<R>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Adds the given items to the bottom of this table model.
- 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() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- clear() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Clears all items from this combo box model, including the null item and sets the selected item to null
- clear() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Clears all items from this table model
- 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 class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- cleared() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
- clearedEvent() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- 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
- COMBO_BOX_NULL_CAPTION - Static variable in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Specifies the caption used by default to represent null in combo box models.
- 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.
Null is returned if the underlying column value is not aComparableinstance. - comparator() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- comparator() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Controls the Comparator used when sorting the visible items in this model and sorts the model accordingly.
- comparator() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- 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
- containsItem(Item<T>) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- 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
- dataChangedEvent() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- 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.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. - filtered(Item<T>) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- filteredCount() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- filteredItems() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- filterItems() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- filterModel() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- filterModelFactory(ColumnConditionModel.Factory<C>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Builder
- filterSelectedItem() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- filterSelectedItem() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Specifies whether filtering can change the selected item, if true then the selected item is set to null when the currently selected item is filtered from the model, otherwise the selected item can potentially represent a value which is not currently visible in the model.
- 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.
- FilterTableSelectionModel<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
- 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
- getState() - Method in class is.codion.swing.common.model.component.button.NullableToggleButtonModel
-
Returns the underlying value
- 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
- includeCondition() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- includeNull() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- includeNull() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
- indexOf(R) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- 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:
FilterComboBoxModel
ItemComboBoxModel
FilterTableModel
FilterTableSelectionModel
ProgressWorker - 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.COMBO_BOX_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
- itemAt(int) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- 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(Supplier<Collection<R>>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel.Builder
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
- nextState() - Method in class is.codion.swing.common.model.component.button.NullableToggleButtonModel
-
Iterates between the states: null -> false -> true
- NULL - Static variable in class is.codion.swing.common.model.component.button.NullableToggleButtonModel
-
The item state NULL.
- 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. - nullItem() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- nullItem() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Controls the item that should represent the null value in this model.
- nullSelected() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- nullSelected() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Returns true if this model contains null and it is selected.
O
- 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 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. - 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
- refreshThen(Consumer<Collection<R>>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Retains the selection and filtering. - refreshThen(Consumer<Collection<Item<T>>>) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- remove(Item<T>) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- remove(T) - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Removes the given item from this model
- removeItem(R) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Removes the given item from this table model
- removeItemAt(int) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Removes from this table model the visible element whose index is between index
- removeItems(int, int) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Removes from this table model all visible elements whose index is between fromIndex, inclusive and toIndex, exclusive
- removeItems(Collection<R>) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Removes the given items from this table model
- 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(Item<T>, Item<T>) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- replace(T, T) - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Replaces the given item in this combo box model
- report(int) - Method in interface is.codion.swing.common.model.worker.ProgressWorker.ProgressReporter
S
- selectedItemTranslator() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- selectedItemTranslator() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
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.
- selectedValue() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- selectedValue() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
- selectedValues(C) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- selectionEmpty() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- selectionEmpty() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
- selectionEvent() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- selectionEvent() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
- selectionModel() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
- setItemAt(int, R) - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Sets the item at the given index.
- setItems(Collection<Item<T>>) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- setItems(Collection<T>) - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Resets the items of this model using the values found in
items. - 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
- setState(Boolean) - Method in class is.codion.swing.common.model.component.button.NullableToggleButtonModel
-
Sets the underlying state
- 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
- sortItems() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- sortItems() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Sorts the items in this model
- sortItems() - Method in interface is.codion.swing.common.model.component.table.FilterTableModel
-
Sorts the visible items according to
FilterTableModel.comparator(), keeping the selected items. - stateValue() - Method in class is.codion.swing.common.model.component.button.NullableToggleButtonModel
- 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.
- supportsAsyncRefresh() - Method in class is.codion.swing.common.model.component.AbstractFilterModelRefresher
V
- validator() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- validator() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
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.
- validSelectionPredicate() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- validSelectionPredicate() - Method in interface is.codion.swing.common.model.component.combobox.FilterComboBoxModel
-
Provides a way for the combo box model to prevent the selection of certain items.
- 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 from the given item to use when searching
- 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
- visible(Item<T>) - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- visibleCount() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
- visibleItems() - Method in class is.codion.swing.common.model.component.combobox.ItemComboBoxModel
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form