Index
All Classes and Interfaces|All Packages
A
- add(ForeignKey, Collection<Entity>) - Method in class is.codion.swing.framework.model.SwingEntityEditModel
- addItem(Entity) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- addItemAt(int, Entity) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- addItems(Collection<Entity>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- addItemsAt(int, Collection<Entity>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- addItemsAtSorted(int, Collection<Entity>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- addItemSorted(Entity) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- addItemsSorted(Collection<Entity>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- addTableModelListener(TableModelListener) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- attributeComparator(Attribute<?>) - Method in class is.codion.swing.framework.model.SwingEntityColumnFactory
-
Returns a comparator for the given attribute.
- attributes() - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Controls the attributes to include when selecting the entities to populate this model with.
- attributes() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
B
- backgroundColor(int, Attribute<?>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- build(EntityConnectionProvider) - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
-
Builds a
SwingEntityModelinstance - builder(EntityType) - Static method in class is.codion.swing.framework.model.SwingEntityModel
-
Instantiates a new
SwingEntityModel.Builderinstance
C
- clear() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- clearComboBoxModels() - Method in class is.codion.swing.framework.model.SwingEntityEditModel
-
Clears all combobox models
- clearedEvent() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- columnModel() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- comboBoxModel() - Method in class is.codion.swing.framework.model.EntityComboBoxConditionModel
- comboBoxModel(Column<T>) - Method in class is.codion.swing.framework.model.SwingEntityEditModel
-
Returns the
FilteredComboBoxModelfor the given column. - condition() - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Controls the condition supplier to use when querying data, set to null to fetch all underlying entities.
- conditionChanged() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- conditionEnabled(EntityTableConditionModel<Attribute<?>>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
-
It can be necessary to prevent the user from selecting too much data, when working with a large dataset.
- conditionModel() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- conditionRequired() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- connection() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- connectionProvider() - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
- connectionProvider() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- containsItem(Entity) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- createColumn(AttributeDefinition<?>, int) - Method in class is.codion.swing.framework.model.SwingEntityColumnFactory
-
Creates a column for the given attribute.
- createColumns() - Method in class is.codion.swing.framework.model.SwingEntityColumnFactory
- createComboBoxModel(Column<T>) - Method in class is.codion.swing.framework.model.SwingEntityEditModel
-
Creates a combo box model containing the current values of the given column.
- createComboBoxModel(ForeignKey) - Method in class is.codion.swing.framework.model.SwingEntityConditionModelFactory
-
Creates a combo box model based on the given foreign key
- createConditionModel(Attribute<?>) - Method in class is.codion.swing.framework.model.SwingEntityConditionModelFactory
- createForeignKeyComboBoxModel(ForeignKey) - Method in class is.codion.swing.framework.model.SwingEntityEditModel
-
Creates a
EntityComboBoxModelfor the given foreign key, override to provide a customEntityComboBoxModelimplementation. - createForeignKeyConditionComboBoxModel(ForeignKey) - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Returns a combo box model for selecting a foreign key value for using as a condition this model.
- createForeignKeyFilterComboBoxModel(ForeignKey) - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Returns a combo box model for selecting a foreign key value for filtering this model.
- createSelectorValue(Attribute<T>) - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Creates a
Valuelinked to the selected entity via the value of the given attribute.
D
- dataChangedEvent() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- deleteSelected() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- detailModel(SwingEntityModel.Builder) - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
-
Adds a detail model builder to this model builder
E
- editable() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- editEvents() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- editModel() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- editModel(Class<? extends SwingEntityEditModel>) - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
-
Sets the edit model class
- editModel(Function<EntityConnectionProvider, SwingEntityEditModel>) - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
-
Takes precedence over
SwingEntityModel.Builder.editModel(Class). - entities() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- entityComboBoxConditionModel(ForeignKey, EntityComboBoxModel) - Static method in class is.codion.swing.framework.model.EntityComboBoxConditionModel
-
Instantiates a
EntityComboBoxConditionModelinstance - EntityComboBoxConditionModel - Class in is.codion.swing.framework.model
-
A
ColumnConditionModelbased on aEntityComboBoxModel. - EntityComboBoxModel - Class in is.codion.swing.framework.model.component
-
A ComboBoxModel based on an Entity, showing by default all the entities in the underlying table.
- EntityComboBoxModel(EntityType, EntityConnectionProvider) - Constructor for class is.codion.swing.framework.model.component.EntityComboBoxModel
- entityDefinition() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- entityType() - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
- entityType() - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
- entityType() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
F
- filtered(Entity) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- filteredCount() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- filteredItems() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- filterItems() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- filterModel() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- find(Entity.Key) - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
- find(Entity.Key) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- find(Collection<Entity.Key>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- fireTableDataChanged() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- fireTableRowsUpdated(int, int) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- foregroundColor(int, Attribute<?>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- foreignKeyComboBoxModel(ForeignKey) - Method in class is.codion.swing.framework.model.SwingEntityEditModel
-
Returns the
EntityComboBoxModelfor the given foreign key attribute. - foreignKeyIncludeCondition() - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Use this method to retrieve the default foreign key filter include condition if you want to add a custom
Predicateto this model viaFilteredComboBoxModel.includeCondition().
G
- getColumnClass(int) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- getColumnClass(Attribute<?>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- getColumnCount() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- getColumnName(int) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- getForeignKeyFilterKeys(ForeignKey) - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
- getRowCount() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- getStringAt(int, Attribute<?>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- getValueAt(int, int) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
H
- handleEditEvents() - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
I
- includeCondition() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- indexOf(Entity) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- indexOf(Entity.Key) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- initializeComboBoxModels(Attribute<?>...) - Method in class is.codion.swing.framework.model.SwingEntityEditModel
-
Creates and refreshes combo box models for the given attributes.
- is.codion.swing.framework.model - module is.codion.swing.framework.model
-
Framework Swing model classes, such as:
SwingEntityModel
SwingEntityEditModel
SwingEntityTableModel
SwingEntityApplicationModel
EntityComboBoxModel - is.codion.swing.framework.model - package is.codion.swing.framework.model
- is.codion.swing.framework.model.component - package is.codion.swing.framework.model.component
- isCellEditable(int, int) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
-
Returns true if the cell at
rowIndexandmodelColumnIndexis editable. - itemAt(int) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- items() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
L
- limit() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- linkForeignKeyConditionComboBoxModel(ForeignKey, EntityComboBoxModel) - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Links the given combo box model representing master entities to this combo box model so that selection in the master model refreshes this model with the selected master entity as condition
- linkForeignKeyFilterComboBoxModel(ForeignKey, EntityComboBoxModel) - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Links the given combo box model representing master entities to this combo box model so that selection in the master model filters this model according to the selected master entity
M
- mergeOnRefresh() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- model(Class<? extends SwingEntityModel>) - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
-
Sets the model class
- model(Function<EntityConnectionProvider, SwingEntityModel>) - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
-
Takes precedence over
SwingEntityModel.Builder.model(Class).
O
- onBuildEditModel(Consumer<SwingEntityEditModel>) - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
- onBuildModel(Consumer<SwingEntityModel>) - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
- onBuildTableModel(Consumer<SwingEntityTableModel>) - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
- onInsert() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- orderBy() - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Controls the order by to use when selecting entities for this model.
- orderBy() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
-
The order by clause to use when selecting the data for this model.
- orderQueryBySortOrder() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
P
- performQuery() - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Retrieves the entities to present in this EntityComboBoxModel, taking into account the condition supplier (
EntityComboBoxModel.condition()) as well as the select attributes (EntityComboBoxModel.attributes()) and order by clause (EntityComboBoxModel.orderBy().
Q
- queryHiddenColumns() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
R
- refresh() - Method in class is.codion.swing.framework.model.EntityComboBoxConditionModel
-
Refreshes the underlying combo box model.
- refresh() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- refresh(Collection<Entity.Key>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- refreshComboBoxModels() - Method in class is.codion.swing.framework.model.SwingEntityEditModel
-
Refreshes all combobox models
- refresher() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- refreshForeignKeyComboBoxModels() - Method in class is.codion.swing.framework.model.SwingEntityEditModel
-
Refreshes all foreign key combobox models
- refreshItems() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
-
Queries the data used to populate this EntityTableModel when it is refreshed.
- refreshThen(Consumer<Collection<Entity>>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- remove(ForeignKey, Collection<Entity>) - Method in class is.codion.swing.framework.model.SwingEntityEditModel
- removeDeleted() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- removeItem(Entity) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- removeItemAt(int) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- removeItems(int, int) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- removeItems(Collection<Entity>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- removeTableModelListener(TableModelListener) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- replace(ForeignKey, Collection<Entity>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- replace(Collection<Entity>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- replaceForeignKey(ForeignKey, Collection<Entity>) - Method in class is.codion.swing.framework.model.SwingEntityEditModel
- rowsAsDelimitedString(char) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
S
- savePreferences() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- searchModel() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- select(Entity.Key) - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Selects the entity with the given primary key, whether filtered or visible.
- select(Collection<Entity.Key>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- selectedValues(Attribute<?>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- selectionEvent() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- selectionModel() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- setForeignKeyFilterKeys(ForeignKey, Collection<Entity.Key>) - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Filters this combo box model so that only items referencing the given keys via the given foreign key are shown.
- setItemAt(int, Entity) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- setNullCaption(String) - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Enables the null item and sets the null item caption.
- setValueAt(Object, int, int) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
-
Sets the value in the given cell and updates the underlying Entity.
- setVisibleColumns(Attribute<?>...) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- setVisibleColumns(List<Attribute<?>>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- sortItems() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- sortModel() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- strictForeignKeyFiltering() - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
-
Controls whether foreign key filtering should be strict or not.
- summaryModel() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- SwingDetailModelLink - Class in is.codion.swing.framework.model
-
A Swing
DefaultDetailModelLinkimplementation. - SwingDetailModelLink(SwingEntityModel) - Constructor for class is.codion.swing.framework.model.SwingDetailModelLink
- SwingEntityApplicationModel - Class in is.codion.swing.framework.model
-
A Swing implementation of
EntityApplicationModel - SwingEntityApplicationModel(EntityConnectionProvider) - Constructor for class is.codion.swing.framework.model.SwingEntityApplicationModel
-
Instantiates a new
SwingEntityApplicationModel - SwingEntityApplicationModel(EntityConnectionProvider, Version) - Constructor for class is.codion.swing.framework.model.SwingEntityApplicationModel
-
Instantiates a new
SwingEntityApplicationModel - SwingEntityColumnFactory - Class in is.codion.swing.framework.model
-
Provides table columns based on an entity definition.
- SwingEntityColumnFactory(EntityDefinition) - Constructor for class is.codion.swing.framework.model.SwingEntityColumnFactory
-
Instantiates a new SwingEntityColumnFactory
- SwingEntityConditionModelFactory - Class in is.codion.swing.framework.model
-
A Swing
ColumnConditionModel.Factoryimplementation usingEntityComboBoxModelfor foreign keys based on small datasets - SwingEntityConditionModelFactory(EntityConnectionProvider) - Constructor for class is.codion.swing.framework.model.SwingEntityConditionModelFactory
-
Instantiates a new
SwingEntityConditionModelFactory. - SwingEntityEditModel - Class in is.codion.swing.framework.model
-
A Swing implementation of
EntityEditModel. - SwingEntityEditModel(EntityType, EntityConnectionProvider) - Constructor for class is.codion.swing.framework.model.SwingEntityEditModel
-
Instantiates a new
SwingEntityEditModelbased on the given entity type. - SwingEntityModel - Class in is.codion.swing.framework.model
-
A Swing implementation of
EntityModel - SwingEntityModel(EntityType, EntityConnectionProvider) - Constructor for class is.codion.swing.framework.model.SwingEntityModel
-
Instantiates a new SwingEntityModel with default SwingEntityEditModel and SwingEntityTableModel implementations.
- SwingEntityModel(SwingEntityEditModel) - Constructor for class is.codion.swing.framework.model.SwingEntityModel
-
Instantiates a new SwingEntityModel, with a default
SwingEntityTableModel - SwingEntityModel(SwingEntityTableModel) - Constructor for class is.codion.swing.framework.model.SwingEntityModel
-
Instantiates a new SwingEntityModel
- SwingEntityModel.Builder - Interface in is.codion.swing.framework.model
-
Builds a
SwingEntityModel. - SwingEntityTableModel - Class in is.codion.swing.framework.model
-
A TableModel implementation for displaying and working with entities.
- SwingEntityTableModel(EntityType, EntityConnectionProvider) - Constructor for class is.codion.swing.framework.model.SwingEntityTableModel
-
Instantiates a new SwingEntityTableModel.
- SwingEntityTableModel(EntityType, EntityConnectionProvider, EntityConditionModelFactory) - Constructor for class is.codion.swing.framework.model.SwingEntityTableModel
-
Instantiates a new SwingEntityTableModel.
- SwingEntityTableModel(EntityType, EntityConnectionProvider, FilteredTableModel.ColumnFactory<Attribute<?>>) - Constructor for class is.codion.swing.framework.model.SwingEntityTableModel
-
Instantiates a new SwingEntityTableModel.
- SwingEntityTableModel(EntityType, EntityConnectionProvider, FilteredTableModel.ColumnFactory<Attribute<?>>, EntityConditionModelFactory) - Constructor for class is.codion.swing.framework.model.SwingEntityTableModel
-
Instantiates a new SwingEntityTableModel.
- SwingEntityTableModel(SwingEntityEditModel) - Constructor for class is.codion.swing.framework.model.SwingEntityTableModel
-
Instantiates a new SwingEntityTableModel.
- SwingEntityTableModel(SwingEntityEditModel, EntityConditionModelFactory) - Constructor for class is.codion.swing.framework.model.SwingEntityTableModel
-
Instantiates a new SwingEntityTableModel.
- SwingEntityTableModel(SwingEntityEditModel, FilteredTableModel.ColumnFactory<Attribute<?>>) - Constructor for class is.codion.swing.framework.model.SwingEntityTableModel
-
Instantiates a new SwingEntityTableModel.
- SwingEntityTableModel(SwingEntityEditModel, FilteredTableModel.ColumnFactory<Attribute<?>>, EntityConditionModelFactory) - Constructor for class is.codion.swing.framework.model.SwingEntityTableModel
-
Instantiates a new SwingEntityTableModel.
- SwingForeignKeyDetailModelLink - Class in is.codion.swing.framework.model
-
A Swing
DefaultForeignKeyDetailModelLinkimplementation. - SwingForeignKeyDetailModelLink(SwingEntityModel, ForeignKey) - Constructor for class is.codion.swing.framework.model.SwingForeignKeyDetailModelLink
T
- tableModel(Class<? extends SwingEntityTableModel>) - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
-
Sets the table model class
- tableModel(Collection<Entity>, EntityConnectionProvider) - Static method in class is.codion.swing.framework.model.SwingEntityTableModel
- tableModel(Function<EntityConnectionProvider, SwingEntityTableModel>) - Method in interface is.codion.swing.framework.model.SwingEntityModel.Builder
-
Takes precedence over
SwingEntityModel.Builder.tableModel(Class). - toColor(Object) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
-
Returns a
Colorinstance from the given Object. - toString() - Method in class is.codion.swing.framework.model.component.EntityComboBoxModel
- toString() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
U
- userPreferencesKey() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
-
Returns the key used to identify user preferences for this table model, that is column positions, widths and such.
V
- values(Attribute<?>) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- visible(Entity) - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- visibleCount() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
- visibleItems() - Method in class is.codion.swing.framework.model.SwingEntityTableModel
All Classes and Interfaces|All Packages