Index

A B C D E F G I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractRefresher(Supplier<Collection<T>>) - Constructor for class is.codion.common.model.FilteredModel.AbstractRefresher
 
accepts(Comparable<T>) - Method in interface is.codion.common.model.table.ColumnConditionModel
Returns true if the given value is accepted by this models condition.
addBeforeSelectionChangeListener(Runnable) - Method in interface is.codion.common.model.table.TableSelectionModel
To prevent a selection change, add a listener throwing a CancelException.
addChangeListener(Runnable) - Method in interface is.codion.common.model.table.ColumnConditionModel
 
addChangeListener(Runnable) - Method in interface is.codion.common.model.table.TableConditionModel
 
addListener(Runnable) - Method in interface is.codion.common.model.table.ColumnSummaryModel.SummaryValueProvider
 
addRefreshFailedListener(Consumer<Throwable>) - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
 
addRefreshFailedListener(Consumer<Throwable>) - Method in interface is.codion.common.model.FilteredModel.Refresher
 
addRefreshListener(Runnable) - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
 
addRefreshListener(Runnable) - Method in interface is.codion.common.model.FilteredModel.Refresher
 
addSelectedIndex(int) - Method in interface is.codion.common.model.table.TableSelectionModel
Selects the item at index
addSelectedIndexes(Collection<Integer>) - Method in interface is.codion.common.model.table.TableSelectionModel
Adds these indexes to the selection
addSelectedIndexesListener(Consumer<List<Integer>>) - Method in interface is.codion.common.model.table.TableSelectionModel
 
addSelectedIndexListener(Consumer<Integer>) - Method in interface is.codion.common.model.table.TableSelectionModel
 
addSelectedItem(R) - Method in interface is.codion.common.model.table.TableSelectionModel
Adds the given item to the selection
addSelectedItemListener(Consumer<R>) - Method in interface is.codion.common.model.table.TableSelectionModel
 
addSelectedItems(Collection<R>) - Method in interface is.codion.common.model.table.TableSelectionModel
Adds the given items to the selection
addSelectedItems(Predicate<R>) - Method in interface is.codion.common.model.table.TableSelectionModel
Adds the items passing the predicate test to the selection
addSelectedItemsListener(Consumer<List<R>>) - Method in interface is.codion.common.model.table.TableSelectionModel
 
addSelectionListener(Runnable) - Method in interface is.codion.common.model.table.TableSelectionModel
 
async() - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
 
async() - Method in interface is.codion.common.model.FilteredModel.Refresher
Sometimes we'd like to be able to refresh one or more models and perform some action on the refreshed data, after the refresh has finished, such as selecting a particular item or such.
ASYNC_REFRESH - Static variable in interface is.codion.common.model.FilteredModel
Specifies whether data models should refresh data asynchronously or on the EDT.
Value type: Boolean
Default value: true
autoEnable() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
autoEnable(boolean) - Method in interface is.codion.common.model.table.ColumnConditionModel.Builder
 
AUTOMATIC_WILDCARD - Static variable in interface is.codion.common.model.table.ColumnConditionModel
Specifies whether wildcards are automatically added to string conditions by default
Value type: ColumnConditionModel.AutomaticWildcard
Default value: ColumnConditionModel.AutomaticWildcard.POSTFIX
automaticWildcard() - Method in interface is.codion.common.model.table.ColumnConditionModel
Note that this is only applicable to string based condition models and only used for operators Operator.EQUAL and Operator.NOT_EQUAL
automaticWildcard(ColumnConditionModel.AutomaticWildcard) - Method in interface is.codion.common.model.table.ColumnConditionModel.Builder
 
AVERAGE - Enum constant in enum class is.codion.common.model.table.ColumnSummary
 

B

build() - Method in interface is.codion.common.model.table.ColumnConditionModel.Builder
 
builder(C, Class<T>) - Static method in interface is.codion.common.model.table.ColumnConditionModel
Returns a new ColumnConditionModel.Builder instance.

C

CancelException - Exception in is.codion.common.model
Used when actions must be cancelled from deep within a call stack.
CancelException() - Constructor for exception is.codion.common.model.CancelException
 
caption(Operator) - Static method in interface is.codion.common.model.table.ColumnConditionModel
 
CASE_SENSITIVE - Static variable in interface is.codion.common.model.table.ColumnConditionModel
Specifies whether string based conditions are case-sensitive or not by default
Value type: Boolean
Default value: false
caseSensitive() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
caseSensitive(boolean) - Method in interface is.codion.common.model.table.ColumnConditionModel.Builder
 
clear() - Method in interface is.codion.common.model.table.ColumnConditionModel
Disables and clears this condition model, that is, sets the upper and lower bounds to null and the operator to the default value Operator.EQUAL
clear() - Method in interface is.codion.common.model.table.TableConditionModel
Clears the search state of all the condition models, disables them and resets the operator to Operator.EQUAL
clearSelection() - Method in interface is.codion.common.model.table.TableSelectionModel
Clears the selection
columnClass() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
ColumnConditionModel<C,T> - Interface in is.codion.common.model.table
Specifies a condition model based on a table column, parameters, operator, upper bound and lower bound, as well as relevant events and states.
ColumnConditionModel.AutomaticWildcard - Enum Class in is.codion.common.model.table
The possible automatic wildcard types
ColumnConditionModel.Builder<C,T> - Interface in is.codion.common.model.table
Builds a ColumnConditionModel instance.
ColumnConditionModel.Factory<C> - Interface in is.codion.common.model.table
Responsible for creating ColumnConditionModel instances.
columnIdentifier() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
ColumnSummary - Enum Class in is.codion.common.model.table
The summary types available to the default summary model
columnSummaryModel(ColumnSummaryModel.SummaryValueProvider<T>) - Static method in interface is.codion.common.model.table.ColumnSummaryModel
Instantiates a new ColumnSummaryModel
ColumnSummaryModel - Interface in is.codion.common.model.table
A interface defining a class for providing summaries of numerical table columns: sum, average, minimum, maximum and minimum & maximum.
For instances use the ColumnSummaryModel.columnSummaryModel(SummaryValueProvider) factory method.
ColumnSummaryModel.Summary - Interface in is.codion.common.model.table
Specifies a summary provider
ColumnSummaryModel.SummaryValueProvider<T extends Number> - Interface in is.codion.common.model.table
Provides the values on which to base the summary .
ColumnSummaryModel.SummaryValueProvider.Factory<C> - Interface in is.codion.common.model.table
 
ColumnSummaryModel.SummaryValues<T extends Number> - Interface in is.codion.common.model.table
The values to base a summary on.
conditionModel(C) - Method in interface is.codion.common.model.table.TableConditionModel
The condition model associated with columnIdentifier
conditionModels() - Method in interface is.codion.common.model.table.TableConditionModel
 
containsItem(T) - Method in interface is.codion.common.model.FilteredModel
Returns true if this model contains the given item, visible or filtered.
createConditionModel(C) - Method in interface is.codion.common.model.table.ColumnConditionModel.Factory
Creates a ColumnConditionModel for a given column
createSummaryValueProvider(C, Format) - Method in interface is.codion.common.model.table.ColumnSummaryModel.SummaryValueProvider.Factory
 

D

dateTimePattern() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
dateTimePattern(String) - Method in interface is.codion.common.model.table.ColumnConditionModel.Builder
 
description() - Method in enum class is.codion.common.model.table.ColumnConditionModel.AutomaticWildcard
 

E

enabled() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
enabled() - Method in interface is.codion.common.model.table.TableConditionModel
 
enabled(C) - Method in interface is.codion.common.model.table.TableConditionModel
 
equalValues() - Method in interface is.codion.common.model.table.ColumnConditionModel
 

F

filtered(T) - Method in interface is.codion.common.model.FilteredModel
Returns true if this model contains the given item, and it is filtered, that is, is not visible
filteredCount() - Method in interface is.codion.common.model.FilteredModel
 
filteredItems() - Method in interface is.codion.common.model.FilteredModel
 
FilteredModel<T> - Interface in is.codion.common.model
Specifies a data model that can be filtered to hide some or all of the items it contains.
FilteredModel.AbstractRefresher<T> - Class in is.codion.common.model
An abstract base implementation of FilteredModel.Refresher.
FilteredModel.Refresher<T> - Interface in is.codion.common.model
Handles refreshing data for a FilteredModel.
filterItems() - Method in interface is.codion.common.model.FilteredModel
Filters this model according to the condition specified by FilteredModel.includeCondition().
flushUserPreferences() - Static method in class is.codion.common.model.UserPreferences
Flushes the preferences to disk
format() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
format(Object) - Method in interface is.codion.common.model.table.ColumnSummaryModel.SummaryValueProvider
 
format(Format) - Method in interface is.codion.common.model.table.ColumnConditionModel.Builder
 

G

getEqualValue() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
getEqualValues() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
getLowerBound() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
getSelectedIndex() - Method in interface is.codion.common.model.table.TableSelectionModel
 
getSelectedIndexes() - Method in interface is.codion.common.model.table.TableSelectionModel
 
getSelectedItem() - Method in interface is.codion.common.model.table.TableSelectionModel
 
getSelectedItems() - Method in interface is.codion.common.model.table.TableSelectionModel
 
getUpperBound() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
getUserPreference(String, String) - Static method in class is.codion.common.model.UserPreferences
 

I

includeCondition() - Method in interface is.codion.common.model.FilteredModel
 
is.codion.common.model - module is.codion.common.model
is.codion.common.model - package is.codion.common.model
 
is.codion.common.model.table - package is.codion.common.model.table
isSelected(R) - Method in interface is.codion.common.model.table.TableSelectionModel
 
items() - Method in interface is.codion.common.model.FilteredModel
 
itemSupplier() - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
 
itemSupplier() - Method in interface is.codion.common.model.FilteredModel.Refresher
 

L

locked() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
locked() - Method in interface is.codion.common.model.table.ColumnSummaryModel
 
lowerBoundValue() - Method in interface is.codion.common.model.table.ColumnConditionModel
 

M

MAXIMUM - Enum constant in enum class is.codion.common.model.table.ColumnSummary
 
MINIMUM - Enum constant in enum class is.codion.common.model.table.ColumnSummary
 
MINIMUM_MAXIMUM - Enum constant in enum class is.codion.common.model.table.ColumnSummary
 
moveSelectionDown() - Method in interface is.codion.common.model.table.TableSelectionModel
Moves all selected indexes down one index, wraps around.
moveSelectionUp() - Method in interface is.codion.common.model.table.TableSelectionModel
Moves all selected indexes up one index, wraps around.
multipleSelection() - Method in interface is.codion.common.model.table.TableSelectionModel
 

N

NONE - Enum constant in enum class is.codion.common.model.table.ColumnConditionModel.AutomaticWildcard
No wildcard
NONE - Enum constant in enum class is.codion.common.model.table.ColumnSummary
 

O

observer() - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
 
observer() - Method in interface is.codion.common.model.FilteredModel.Refresher
 
operator() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
operators() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
operators(List<Operator>) - Method in interface is.codion.common.model.table.ColumnConditionModel.Builder
 

P

POSTFIX - Enum constant in enum class is.codion.common.model.table.ColumnConditionModel.AutomaticWildcard
Wildcard added at end
PREFIX - Enum constant in enum class is.codion.common.model.table.ColumnConditionModel.AutomaticWildcard
Wildard added at front
PREFIX_AND_POSTFIX - Enum constant in enum class is.codion.common.model.table.ColumnConditionModel.AutomaticWildcard
Wildcard added at front and at end
processResult(Collection<T>) - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
Processes the refresh result, by replacing the current model items by the result items.

R

refresh() - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
 
refresh() - Method in interface is.codion.common.model.FilteredModel
Refreshes the items in this filtered model using its FilteredModel.Refresher.
refresh() - Method in interface is.codion.common.model.FilteredModel.Refresher
Refreshes the items in the associated filtered model.
refreshAsync(Consumer<Collection<T>>) - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
Performes an async refresh
refresher() - Method in interface is.codion.common.model.FilteredModel
 
refreshEvent() - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
Triggers the successful refresh event
refreshFailedEvent(Throwable) - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
Triggers the refresh failed event
refreshSync(Consumer<Collection<T>>) - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
Performs a sync refresh
refreshThen(Consumer<Collection<T>>) - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
 
refreshThen(Consumer<Collection<T>>) - Method in interface is.codion.common.model.FilteredModel.Refresher
Refreshes the data in this model.
refreshThen(Consumer<Collection<T>>) - Method in interface is.codion.common.model.FilteredModel
Refreshes the data in this filtered model using its FilteredModel.Refresher.
removeBeforeSelectionChangeListener(Runnable) - Method in interface is.codion.common.model.table.TableSelectionModel
 
removeChangeListener(Runnable) - Method in interface is.codion.common.model.table.ColumnConditionModel
 
removeChangeListener(Runnable) - Method in interface is.codion.common.model.table.TableConditionModel
 
removeRefreshFailedListener(Consumer<Throwable>) - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
 
removeRefreshFailedListener(Consumer<Throwable>) - Method in interface is.codion.common.model.FilteredModel.Refresher
 
removeRefreshListener(Runnable) - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
 
removeRefreshListener(Runnable) - Method in interface is.codion.common.model.FilteredModel.Refresher
 
removeSelectedIndex(int) - Method in interface is.codion.common.model.table.TableSelectionModel
Removes the item at index from the selection
removeSelectedIndexes(Collection<Integer>) - Method in interface is.codion.common.model.table.TableSelectionModel
Removes the given indexes from the selection
removeSelectedIndexesListener(Consumer<List<Integer>>) - Method in interface is.codion.common.model.table.TableSelectionModel
 
removeSelectedIndexListener(Consumer<Integer>) - Method in interface is.codion.common.model.table.TableSelectionModel
 
removeSelectedItem(R) - Method in interface is.codion.common.model.table.TableSelectionModel
Remove the given item from the selection
removeSelectedItemListener(Consumer<R>) - Method in interface is.codion.common.model.table.TableSelectionModel
 
removeSelectedItems(Collection<R>) - Method in interface is.codion.common.model.table.TableSelectionModel
Remove the given items from the selection
removeSelectedItemsListener(Consumer<List<R>>) - Method in interface is.codion.common.model.table.TableSelectionModel
 
removeSelectionListener(Runnable) - Method in interface is.codion.common.model.table.TableSelectionModel
 
removeUserPreference(String) - Static method in class is.codion.common.model.UserPreferences
Removes the preference associated with the given key

S

selectAll() - Method in interface is.codion.common.model.table.TableSelectionModel
Selects all visible rows
selectedItem() - Method in interface is.codion.common.model.table.TableSelectionModel
 
selectionCount() - Method in interface is.codion.common.model.table.TableSelectionModel
 
selectionEmpty() - Method in interface is.codion.common.model.table.TableSelectionModel
 
selectionNotEmpty() - Method in interface is.codion.common.model.table.TableSelectionModel
 
setEqualValue(T) - Method in interface is.codion.common.model.table.ColumnConditionModel
Sets the values used when the Operator.EQUAL is enabled.
setEqualValues(Collection<T>) - Method in interface is.codion.common.model.table.ColumnConditionModel
 
setLowerBound(T) - Method in interface is.codion.common.model.table.ColumnConditionModel
 
setRefreshing(boolean) - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
Sets the refreshing (active) state of this refresher
setSelectedIndex(int) - Method in interface is.codion.common.model.table.TableSelectionModel
Clears the selection and selects the item at index
setSelectedIndexes(Collection<Integer>) - Method in interface is.codion.common.model.table.TableSelectionModel
Selects the given indexes
setSelectedItem(R) - Method in interface is.codion.common.model.table.TableSelectionModel
Sets the selected item
setSelectedItems(Collection<R>) - Method in interface is.codion.common.model.table.TableSelectionModel
Selects the given items
setSelectedItems(Predicate<R>) - Method in interface is.codion.common.model.table.TableSelectionModel
Sets the items passing the predicate test as the selection
setUpperBound(T) - Method in interface is.codion.common.model.table.ColumnConditionModel
 
setUserPreference(String, String) - Static method in class is.codion.common.model.UserPreferences
 
singleSelection() - Method in interface is.codion.common.model.table.TableSelectionModel
 
singleSelectionMode() - Method in interface is.codion.common.model.table.TableSelectionModel
 
subset() - Method in interface is.codion.common.model.table.ColumnSummaryModel.SummaryValues
 
SUM - Enum constant in enum class is.codion.common.model.table.ColumnSummary
 
summaries() - Method in interface is.codion.common.model.table.ColumnSummaryModel
 
summary() - Method in interface is.codion.common.model.table.ColumnSummaryModel
 
summary(ColumnSummaryModel.SummaryValueProvider<T>) - Method in interface is.codion.common.model.table.ColumnSummaryModel.Summary
Returns a String containing the summary information for the given column
summaryModel(C) - Method in interface is.codion.common.model.table.TableSummaryModel
Returns the ColumnSummaryModel associated with columnIdentifier
summaryText() - Method in interface is.codion.common.model.table.ColumnSummaryModel
 
summaryValues(Collection<T>, boolean) - Static method in interface is.codion.common.model.table.ColumnSummaryModel
supportsAsyncRefresh() - Method in class is.codion.common.model.FilteredModel.AbstractRefresher
 

T

tableConditionModel(Collection<ColumnConditionModel<C, ?>>) - Static method in interface is.codion.common.model.table.TableConditionModel
Instantiates a new TableConditionModel
TableConditionModel<C> - Interface in is.codion.common.model.table
 
TableSelectionModel<R> - Interface in is.codion.common.model.table
A table selection model
tableSummaryModel(ColumnSummaryModel.SummaryValueProvider.Factory<C>) - Static method in interface is.codion.common.model.table.TableSummaryModel
 
TableSummaryModel<C> - Interface in is.codion.common.model.table
 

U

upperBoundValue() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
UserPreferences - Class in is.codion.common.model
A utility class for working with user preferences

V

valueOf(String) - Static method in enum class is.codion.common.model.table.ColumnConditionModel.AutomaticWildcard
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class is.codion.common.model.table.ColumnSummary
Returns the enum constant of this class with the specified name.
values() - Static method in enum class is.codion.common.model.table.ColumnConditionModel.AutomaticWildcard
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class is.codion.common.model.table.ColumnSummary
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in interface is.codion.common.model.table.ColumnSummaryModel.SummaryValueProvider
 
values() - Method in interface is.codion.common.model.table.ColumnSummaryModel.SummaryValues
 
visible(T) - Method in interface is.codion.common.model.FilteredModel
Returns true if this model contains the given item, and it is visible, that is, not filtered
visibleCount() - Method in interface is.codion.common.model.FilteredModel
 
visibleItems() - Method in interface is.codion.common.model.FilteredModel
 

W

wildcard() - Method in interface is.codion.common.model.table.ColumnConditionModel
 
wildcard(char) - Method in interface is.codion.common.model.table.ColumnConditionModel.Builder
 
A B C D E F G I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form