Uses of Interface
is.codion.framework.domain.entity.attribute.Attribute
Packages that use Attribute
Package
Description
Package configuration values:
EntityConnectionProvider.CLIENT_DOMAIN_TYPE
EntityConnectionProvider.CLIENT_CONNECTION_TYPE
Package configuration values:
EntityValidator.STRICT_VALIDATION
Entities.VALIDATE_FOREIGN_KEYS
Entities.STRICT_DESERIALIZATION
AttributeDefinition.MAXIMUM_FRACTION_DIGITS
AttributeDefinition.TIME_FORMAT
AttributeDefinition.NUMBER_FORMAT_GROUPING
AttributeDefinition.GROUPING_SEPARATOR
AttributeDefinition.DECIMAL_SEPARATOR
AttributeDefinition.USE_LEXICAL_STRING_COMPARATOR
AttributeDefinition.DATE_TIME_FORMAT
AttributeDefinition.DATE_FORMAT
AttributeDefinition.DECIMAL_ROUNDING_MODE
ForeignKeyDefinition.FOREIGN_KEY_REFERENCE_DEPTH
Attribute related classes.
Domain model exception related classes.
Package configuration values:
EntityApplicationModel.USERNAME_PREFIX
EntityApplicationModel.SAVE_DEFAULT_USERNAME
EntityEditModel.POST_EDIT_EVENTS
EntityEditModel.EntityEditor.PERSIST_FOREIGN_KEYS
EntityQueryModel.LIMIT
EntityTableModel.ON_INSERT
EntityTableModel.HANDLE_EDIT_EVENTS
EntityTableModel.ORDER_QUERY_BY_SORT_ORDER
ForeignKeyModelLink.SET_CONDITION_ON_INSERT
ForeignKeyModelLink.SET_VALUE_ON_INSERT
ForeignKeyModelLink.REFRESH_ON_SELECTION
ForeignKeyModelLink.CLEAR_CONDITION_ON_EMPTY_SELECTION
ForeignKeyModelLink.CLEAR_VALUE_ON_EMPTY_SELECTION
EntitySearchModel.DEFAULT_LIMIT
Package configuration values:
EntityComboBoxModel.HANDLE_EDIT_EVENTS
Package configuration values:
EntityApplicationPanel.HELP_URL
EntityApplicationPanel.CONFIRM_EXIT
EntityApplicationPanel.SHOW_STARTUP_DIALOG
EntityApplicationPanel.CACHE_ENTITY_PANELS
EntityApplicationPanel.USER_PREFERENCES_ENABLED
EntityApplicationPanel.RESTORE_DEFAULT_PREFERENCES
EntityApplicationPanel.CALL_SYSTEM_EXIT
EntityEditComponentPanel.VALID_INDICATOR
EntityEditComponentPanel.MODIFIED_INDICATOR
EntityEditComponentPanel.DEFAULT_TEXT_FIELD_COLUMNS
EntityEditPanel.Config.USE_SAVE_CAPTION
EntityEditPanel.Config.USE_FOCUS_ACTIVATION
EntityEditPanel.Config.INCLUDE_ENTITY_MENU
EntityEditPanel.Config.MODIFIED_WARNING
EntityPanel.Config.USE_KEYBOARD_NAVIGATION
EntityPanel.Config.DISPOSE_EDIT_DIALOG_ON_ESCAPE
EntityPanel.Config.INCLUDE_TOGGLE_EDIT_PANEL_CONTROL
EntityPanel.Config.TOOLBAR_CONTROLS
EntityPanel.Config.CONTROL_PANEL_CONSTRAINTS
EntityPanel.Config.CONTROL_TOOLBAR_CONSTRAINTS
EntityPanel.Config.WINDOW_TYPE
EntityTablePanel.Config.EXCLUDE_HIDDEN_COLUMNS
EntityTablePanel.Config.CONDITION_VIEW
EntityTablePanel.Config.FILTER_VIEW
EntityTablePanel.Config.SUMMARY_PANEL_VISIBLE
EntityTablePanel.Config.INCLUDE_POPUP_MENU
EntityTablePanel.Config.INCLUDE_ENTITY_MENU
EntityTablePanel.Config.INCLUDE_QUERY_INSPECTOR
EntityTablePanel.Config.INCLUDE_CLEAR_CONTROL
EntityTablePanel.Config.INCLUDE_LIMIT_MENU
EntityTablePanel.Config.REFRESH_BUTTON_VISIBLE
EntityTablePanel.Config.COLUMN_SELECTION
EntityTablePanel.Config.INCLUDE_CONDITIONS
EntityTablePanel.Config.INCLUDE_FILTERS
EntityTablePanel.Config.INCLUDE_SUMMARY
EntityTablePanel.Config.REFRESH_PROGRESS_BAR
ReferentialIntegrityErrorHandling.REFERENTIAL_INTEGRITY_ERROR_HANDLING
TabbedApplicationLayout.TAB_PLACEMENT
TabbedDetailLayout.INCLUDE_CONTROLS
Package configuration values:
EntitySearchField.SEARCH_INDICATOR
DefaultEditComponentFactory.DEFAULT_TEXT_FIELD_COLUMNS
-
Uses of Attribute in is.codion.framework.db
Methods in is.codion.framework.db with type parameters of type AttributeModifier and TypeMethodDescription<T extends Attribute<?>>
EntityConnection.Select.BuilderEntityConnection.Select.Builder.attributes
(T... attributes) Sets the attributes to include in the query result.Methods in is.codion.framework.db that return types with arguments of type AttributeMethods in is.codion.framework.db with parameters of type AttributeModifier and TypeMethodDescription<T extends Attribute<?>>
EntityConnection.Select.BuilderEntityConnection.Select.Builder.attributes
(T... attributes) Sets the attributes to include in the query result.Method parameters in is.codion.framework.db with type arguments of type AttributeModifier and TypeMethodDescriptionEntityConnection.Select.Builder.attributes
(Collection<? extends Attribute<?>> attributes) Sets the attributes to include in the query result. -
Uses of Attribute in is.codion.framework.domain.entity
Methods in is.codion.framework.domain.entity that return AttributeModifier and TypeMethodDescription<T> Attribute
<T> EntityType.attribute
(String name, TypeReference<T> typeReference) Creates a newAttribute
, associated with this EntityType.<T> Attribute
<T> Creates a newAttribute
, associated with this EntityType.EntityType.bigDecimalAttribute
(String name) Creates a new BigDecimal based attribute, associated with this EntityType.EntityType.booleanAttribute
(String name) Creates a new Boolean based attribute, associated with this EntityType.Attribute
<byte[]> EntityType.byteArrayAttribute
(String name) Creates a newAttribute
, associated with this EntityType.EntityType.characterAttribute
(String name) Creates a new Character based attribute, associated with this EntityType.EntityType.doubleAttribute
(String name) Creates a new Double based attribute, associated with this EntityType.EntityType.entityAttribute
(String name) Creates a newAttribute
, associated with this EntityType.Returns the attribute with the given name, null if none is found.EntityType.integerAttribute
(String name) Creates a new Integer based attribute, associated with this EntityType.EntityType.localDateAttribute
(String name) Creates a new LocalDate based attribute, associated with this EntityType.EntityType.localDateTimeAttribute
(String name) Creates a new LocalDateTime based attribute, associated with this EntityType.EntityType.localTimeAttribute
(String name) Creates a new LocalTime based attribute, associated with this EntityType.EntityType.longAttribute
(String name) Creates a new Long based attribute, associated with this EntityType.EntityType.offsetDateTimeAttribute
(String name) Creates a new OffsetDateTime based attribute, associated with this EntityType.EntityType.shortAttribute
(String name) Creates a new Short based attribute, associated with this EntityType.EntityType.stringAttribute
(String name) Creates a new String based attribute, associated with this EntityType.Methods in is.codion.framework.domain.entity that return types with arguments of type AttributeModifier and TypeMethodDescription<T> Collection
<Attribute<?>> EntityDefinition.Attributes.derivedFrom
(Attribute<T> attribute) Returns the attributes which values are derived from the value of the given attribute, an empty collection if no such derived attributes existEntity.entrySet()
Returns an unmodifiable view of the entries in this Entity, note that attributes based on derived values are not included.Collection
<Attribute<?>> EntityDefinition.Attributes.get()
Entity.originalEntrySet()
Collection
<Attribute<?>> EntityDefinition.Attributes.selected()
Returns the attributes selected by default for this entity type.After a call to this method this Entity contains the same values and original values as the source entity.Methods in is.codion.framework.domain.entity with parameters of type AttributeModifier and TypeMethodDescriptionboolean
Returns true if this Entity contains a value for the given attribute, that value can be null.boolean
<T> AttributeDefinition
<T> EntityDefinition.Attributes.definition
(Attribute<T> attribute) <T> Collection
<Attribute<?>> EntityDefinition.Attributes.derivedFrom
(Attribute<T> attribute) Returns the attributes which values are derived from the value of the given attribute, an empty collection if no such derived attributes existstatic <T> Collection
<T> Entity.distinct
(Attribute<T> attribute, Collection<Entity> entities) Returns the distinct non-null values ofattribute
from the given entities.<T> @Nullable T
Returns the value associated withattribute
.static <T> LinkedHashMap
<T, List<Entity>> Entity.groupByValue
(Attribute<T> attribute, Collection<Entity> entities) Returns aLinkedHashMap
containing the given entities mapped to the value ofattribute
, respecting the iteration order of the given collectionList<Entity> orders = connection.select(all(Order.TYPE)); // Group orders by status LinkedHashMap<String, List<Entity>> ordersByStatus = Entity.groupByValue(Order.STATUS, orders); // Process orders by status ordersByStatus.forEach((status, statusOrders) -> { System.out.println("Status: " + status + ", Count: " + statusOrders.size()); }); // Groups can contain entities with null values List<Entity> pendingOrders = ordersByStatus.get("PENDING"); List<Entity> nullStatusOrders = ordersByStatus.get(null);
boolean
Returns true if a null value is mapped to the given attribute or if no mapping is found.boolean
Returns true if the value associated with the given attribute has been modified since first set, note that this does not apply to attributes based on derived values.<T> boolean
<T> boolean
Returns true if the value based on the given attribute accepts a null value for the given entity, by default this method simply returns the nullable state of the underlying attribute.<T> Optional
<T> Returns the value associated withattribute
, wrapped in anOptional
.<T> @Nullable T
Returns the original value associated withattribute
, or the current one if it is unmodified.<T> @Nullable T
Removes the given value from this Entity along with the original value if any.void
Reverts the value associated with the given attribute to its original value.void
Saves the value associated with the given attribute, that is, removes the original value.<T> @Nullable T
Sets the value of the given attribute, returning the previous value if any<T> String
This method returns a String representation of the value associated with the given attribute, if the associated attribute has a format it is used.EntityDefinition.Builder.stringFactory
(Attribute<?> attribute) Sets the string factory, using the value of the given attribute.<T> void
<T> void
Checks if the value associated with the give attribute is valid, throws a ValidationException if notAdds the value mapped to the given key to thisStringFactory.Builder
Adds the value mapped to the given key to this StringProviderStringFactory.Builder.value
(ForeignKey foreignKey, Attribute<?> attribute) Adds the value mapped to the given attribute in theEntity
instance mapped to the given foreign key to thisStringFactory.Builder
static <T> Collection
<T> Entity.values
(Attribute<T> attribute, Collection<Entity> entities) Returns the non-null values associated withattribute
from the given entities.<T> Entity.Builder
Adds the given attribute value to this builderMethod parameters in is.codion.framework.domain.entity with type arguments of type AttributeModifier and TypeMethodDescriptionCreates a newEntity
instance based on this definitionCreates a newEntity
instance based on this definitionboolean
Entity.equalValues
(Entity entity, Collection<? extends Attribute<?>> attributes) Compares the values of the given attributes in the given entity to the values in this entity instance. -
Uses of Attribute in is.codion.framework.domain.entity.attribute
Subinterfaces of Attribute in is.codion.framework.domain.entity.attributeModifier and TypeInterfaceDescriptioninterface
Column<T>
AnAttribute
representing a table column.interface
An attribute which value is derived from one or more source attributes.interface
AnAttribute
representing a foreign key relation.Methods in is.codion.framework.domain.entity.attribute that return AttributeModifier and TypeMethodDescriptionstatic <T> Attribute
<T> Attribute.attribute
(EntityType entityType, String name, TypeReference<T> typeReference) Creates a newAttribute
, associated with the given entityType.static <T> Attribute
<T> Attribute.attribute
(EntityType entityType, String name, Class<T> valueClass) Creates a newAttribute
, associated with the given entityType.AttributeDefinition.attribute()
TheAttribute
this definition is based on, should be unique within an Entity.AttributeDefinition.Builder.attribute()
Methods in is.codion.framework.domain.entity.attribute that return types with arguments of type AttributeModifier and TypeMethodDescriptionForeignKeyDefinition.attributes()
DerivedAttributeDefinition.sourceAttributes()
Methods in is.codion.framework.domain.entity.attribute with parameters of type AttributeModifier and TypeMethodDescriptionForeignKeyDefinition.Builder.attributes
(Attribute<?>... attributes) Specifies the attributes from the referenced entity to select.<B extends DerivedAttributeDefinition.Builder<T,
B>>
DerivedAttributeDefinition.Builder<T, B> Attribute.AttributeDefiner.denormalized
(Attribute<Entity> entityAttribute, Attribute<T> denormalizedAttribute) Instantiates aDerivedAttributeDefinition.Builder
instance, for displaying a value from a referenced entity attribute.<B extends DerivedAttributeDefinition.Builder<T,
B>>
DerivedAttributeDefinition.Builder.ProviderStage<T, B> Instantiates aDerivedAttributeDefinition.Builder
instance, which value is derived from zero or more source attributes.<T> @Nullable T
Returns the value associated with the given source attribute.<T> Optional
<T> Returns the source value associated with the given attribute or an emptyOptional
if the associated value is null or if the given attribute is not a source attribute -
Uses of Attribute in is.codion.framework.domain.entity.exception
Methods in is.codion.framework.domain.entity.exception that return AttributeConstructors in is.codion.framework.domain.entity.exception with parameters of type AttributeModifierConstructorDescriptionItemValidationException
(Attribute<?> attribute, @Nullable Object value, String message) Instantiates a new ItemValidationException.LengthValidationException
(Attribute<?> attribute, Object value, String message) Instantiates a new LengthValidationExceptionNullValidationException
(Attribute<?> attribute, String message) Instantiates a new NullValidationExceptionRangeValidationException
(Attribute<?> attribute, Object value, String message) Instantiates a new RangeValidationExceptionValidationException
(Attribute<?> attribute, @Nullable Object value, String message) Instantiates a new ValidationException. -
Uses of Attribute in is.codion.framework.domain.test
Methods in is.codion.framework.domain.test with parameters of type Attribute -
Uses of Attribute in is.codion.framework.model
Methods in is.codion.framework.model that return types with arguments of type AttributeModifier and TypeMethodDescriptionEntityTableConditionModel.conditionModel()
EntityQueryModel.SelectAttributes.excluded()
Returns theValueSet
controlling which attributes are excluded when querying entities.final Map
<Attribute<?>, ConditionModel<?>> EntityConditionModelFactory.get()
Collection
<Attribute<?>> EntityQueryModel.SelectAttributes.get()
Provides the attributes to include when querying based onEntityQueryModel.SelectAttributes.included()
andEntityQueryModel.SelectAttributes.excluded()
.Map
<Attribute<?>, ConditionModel<?>> EntityTableConditionModel.get()
EntityQueryModel.SelectAttributes.included()
Returns theValueSet
controlling which attributes are included when querying entities.EntityTableConditionModel.persist()
EntityEditModel.EntityEditor.valueChanged()
Returns an observer notified each time a value is changed, either via its associatedEntityEditModel.EditorValue
instance or when the entity is set viaEntityEditModel.EntityEditor.clear()
,EntityEditModel.EntityEditor.set(Entity)
orEntityEditModel.EntityEditor.defaults()
.Methods in is.codion.framework.model with parameters of type AttributeModifier and TypeMethodDescription<T> void
AbstractEntityEditModel.applyEdit
(Collection<Entity> entities, Attribute<T> attribute, T value) <T> void
EntityEditModel.applyEdit
(Collection<Entity> entities, Attribute<T> attribute, T value) Applies the given value to the given entities.boolean
<T> Optional
<ConditionModel<T>> The condition model associated withattribute
void
Validates the value associated with the given attribute, using the underlying validator.<T> EntityEditModel.EditorValue
<T> Returns theEntityEditModel.EditorValue
instance representingattribute
in thisEntityEditModel.EntityEditor
.Method parameters in is.codion.framework.model with type arguments of type AttributeModifier and TypeMethodDescriptionEntitySearchModel.Builder.attributes
(Collection<Attribute<?>> attributes) static EntityTableConditionModel
EntityTableConditionModel.entityTableConditionModel
(EntityType entityType, EntityConnectionProvider connectionProvider, Supplier<Map<Attribute<?>, ConditionModel<?>>> conditionModelFactory) Creates a newEntityTableConditionModel
-
Uses of Attribute in is.codion.framework.model.test
Fields in is.codion.framework.model.test declared as Attribute -
Uses of Attribute in is.codion.swing.framework.model
Methods in is.codion.swing.framework.model that return types with arguments of type AttributeModifier and TypeMethodDescriptionfinal FilterTableModel.TableColumns
<Entity, Attribute<?>> SwingEntityTableModel.columns()
protected final FilterTableModel
<Entity, Attribute<?>> SwingEntityTableModel.filterModel()
final TableConditionModel
<Attribute<?>> SwingEntityTableModel.filters()
final FilterTableSort
<Entity, Attribute<?>> SwingEntityTableModel.sort()
final FilterTableModel.ColumnValues
<Attribute<?>> SwingEntityTableModel.values()
Methods in is.codion.swing.framework.model with parameters of type AttributeModifier and TypeMethodDescriptionprotected boolean
Returns true if the given attribute is editable for the given entity.final Class
<?> SwingEntityTableModel.getColumnClass
(Attribute<?> attribute) final void
SwingEntityEditModel.initializeComboBoxModels
(Attribute<?>... attributes) Creates and refreshes combo box models for the given attributes. -
Uses of Attribute in is.codion.swing.framework.model.component
Methods in is.codion.swing.framework.model.component with parameters of type AttributeModifier and TypeMethodDescription<T> Value
<T> EntityComboBoxModel.createSelectorValue
(Attribute<T> attribute) Creates aValue
linked to the selected entity via the value of the given attribute.Method parameters in is.codion.swing.framework.model.component with type arguments of type AttributeModifier and TypeMethodDescriptionEntityComboBoxModel.Builder.attributes
(Collection<Attribute<?>> attributes) Specifies the attributes to include when selecting the entities to populate this model with. -
Uses of Attribute in is.codion.swing.framework.ui
Methods in is.codion.swing.framework.ui with type parameters of type AttributeModifier and TypeMethodDescription<T,
A extends Attribute<T>>
EntityTablePanel.ConfigEntityTablePanel.Config.cellEditor
(A attribute, FilterTableCellEditor<T> cellEditor) Sets the cell editor for the given attribute<T,
A extends Attribute<T>>
EntityTablePanel.ConfigEntityTablePanel.Config.cellRenderer
(A attribute, FilterTableCellRenderer<T> cellRenderer) Sets the cell renderer for the given attribute<T,
A extends Attribute<T>, C extends JComponent>
EntityTablePanel.ConfigEntityTablePanel.Config.editComponentFactory
(A attribute, EditComponentFactory<T, C> editComponentFactory) Sets the component factory for the given attribute, used when editing entities viaEntityTablePanel.editSelected(Attribute)
.Methods in is.codion.swing.framework.ui that return types with arguments of type AttributeModifier and TypeMethodDescriptionstatic <T> FilterTableCellRenderer.Builder
<Entity, Attribute<?>, T> EntityTableCellRenderer.builder
(Attribute<T> attribute, SwingEntityTableModel tableModel) protected final Map
<Attribute<?>, Value<JComponent>> EntityEditComponentPanel.components()
final TableConditionPanel
<Attribute<?>> EntityTablePanel.condition()
static List
<FilterTableColumn<Attribute<?>>> EntityTableColumns.entityTableColumns
(EntityDefinition entityDefinition) Creates columns based on the given entity definition.final FilterTable
<Entity, Attribute<?>> EntityTablePanel.table()
Methods in is.codion.swing.framework.ui with parameters of type AttributeModifier and TypeMethodDescriptionprotected final void
EntityEditComponentPanel.addInputPanel
(Attribute<?> attribute) Adds a panel for the given attribute to this panelprotected final void
EntityEditComponentPanel.addInputPanel
(Attribute<?> attribute, Object constraints) Adds a panel for the given attribute to this panel using the given layout constraintsprotected final void
EntityEditComponentPanel.addInputPanel
(Attribute<?> attribute, JComponent inputComponent) Adds a panel for the given attribute to this panelprotected final void
EntityEditComponentPanel.addInputPanel
(Attribute<?> attribute, JComponent inputComponent, Object constraints) Adds a panel for the given attribute to this panel using the given layout constraintsstatic <T> FilterTableCellRenderer.Builder
<Entity, Attribute<?>, T> EntityTableCellRenderer.builder
(Attribute<T> attribute, SwingEntityTableModel tableModel) EntityTableCellRenderer.EntityColorProvider.color
(FilterTable<Entity, Attribute<?>> table, Entity entity, Attribute<?> attribute, T value) protected final Value
<JComponent> EntityTablePanel.Config.conditionComponentFactory
(Attribute<?> attribute, ColumnConditionPanel.ComponentFactory componentFactory) default FilterTableCellRenderer
<?> EntityTableCellRenderer.Factory.create
(Attribute<?> attribute, FilterTableModel<Entity, Attribute<?>> tableModel) EntityTableCellRenderer.Factory.create
(Attribute<?> attribute, SwingEntityTableModel tableModel) protected final NumberField.Builder
<BigDecimal> EntityEditComponentPanel.createBigDecimalField
(Attribute<BigDecimal> attribute) Creates a builder for big decimal fields.protected final ItemComboBoxBuilder
<Boolean> EntityEditComponentPanel.createBooleanComboBox
(Attribute<Boolean> attribute) Creates a builder for boolean combo boxes.protected final CheckBoxBuilder
EntityEditComponentPanel.createCheckBox
(Attribute<Boolean> attribute) Creates a builder for check boxes.protected final <T,
C extends JComboBox<T>, B extends ComboBoxBuilder<T, C, B>>
ComboBoxBuilder<T, C, B> EntityEditComponentPanel.createComboBox
(Attribute<T> attribute, ComboBoxModel<T> comboBoxModel) Creates a builder for combo boxes.protected final NumberField.Builder
<Double> EntityEditComponentPanel.createDoubleField
(Attribute<Double> attribute) Creates a builder for double fields.protected final NumberSpinnerBuilder
<Double> EntityEditComponentPanel.createDoubleSpinner
(Attribute<Double> attribute) Creates a builder for a spinnerprotected final JPanel
EntityEditComponentPanel.createInputPanel
(Attribute<?> attribute) Creates a panel containing a label and the component associated with the given attribute.protected final JPanel
EntityEditComponentPanel.createInputPanel
(Attribute<?> attribute, JComponent inputComponent) Creates a panel containing a label and the component associated with the given attribute.protected final JPanel
EntityEditComponentPanel.createInputPanel
(Attribute<?> attribute, JComponent inputComponent, String labelBorderLayoutConstraints) Creates a panel containing a label and the component associated with the given attribute.protected final JPanel
EntityEditComponentPanel.createInputPanel
(Attribute<?> attribute, JComponent inputComponent, String labelBorderLayoutConstraints, int labelAlignment) Creates a panel containing a label and the given component.protected final NumberField.Builder
<Integer> EntityEditComponentPanel.createIntegerField
(Attribute<Integer> attribute) Creates a builder for integer fields.protected final NumberSpinnerBuilder
<Integer> EntityEditComponentPanel.createIntegerSpinner
(Attribute<Integer> attribute) Creates a builder for a spinnerprotected final <T> ItemComboBoxBuilder
<T> EntityEditComponentPanel.createItemComboBox
(Attribute<T> attribute) Creates a builder for value item list combo boxes.protected final <T> ItemSpinnerBuilder
<T> EntityEditComponentPanel.createItemSpinner
(Attribute<T> attribute) Creates a builder for a list spinnerprotected final <T> LabelBuilder
<T> EntityEditComponentPanel.createLabel
(Attribute<T> attribute) Creates a builder for a label using the caption and mnemonic associated withattribute
.protected final <T> ListSpinnerBuilder
<T> EntityEditComponentPanel.createListSpinner
(Attribute<T> attribute, SpinnerListModel spinnerListModel) Creates a builder for a list spinnerprotected final NumberField.Builder
<Long> EntityEditComponentPanel.createLongField
(Attribute<Long> attribute) Creates a builder for long fields.protected final MaskedTextFieldBuilder
EntityEditComponentPanel.createMaskedTextField
(Attribute<String> attribute) Creates a builder for formatted text fields.protected final SliderBuilder
EntityEditComponentPanel.createSlider
(Attribute<Integer> attribute) Creates a builder for a sliderprotected final <T extends Temporal>
TemporalField.Builder<T> EntityEditComponentPanel.createTemporalField
(Attribute<T> attribute) Creates a builder for temporal fields.protected final <T extends Temporal>
TemporalFieldPanel.Builder<T> EntityEditComponentPanel.createTemporalFieldPanel
(Attribute<T> attribute) Creates a builder for temporal field panels.protected final TextAreaBuilder
EntityEditComponentPanel.createTextArea
(Attribute<String> attribute) Creates a builder for text areas.protected final <T,
C extends JTextField, B extends TextFieldBuilder<T, C, B>>
TextFieldBuilder<T, C, B> EntityEditComponentPanel.createTextField
(Attribute<T> attribute) Creates a builder for text fields.protected final TextFieldPanel.Builder
EntityEditComponentPanel.createTextFieldPanel
(Attribute<String> attribute) Creates a builder for text field panels.static <T> EntityDialogs.EditAttributeDialogBuilder
<T> EntityDialogs.editAttributeDialog
(SwingEntityEditModel editModel, Attribute<T> attribute) protected <T> EntityDialogs.EditAttributeDialogBuilder
<T> EntityTablePanel.editDialogBuilder
(Attribute<T> attribute) Override to customize the edit dialog used when multiple entities are edited.final void
EntityTablePanel.editSelected
(Attribute<?> attributeToEdit) Retrieves a new value via input dialog and performs an update on the selected entities assigning the value to the attributeA JList builder, where the value is represented by the list items.void
Request focus for the component associated with the given attribute.EntityEditComponentPanel.ListBuilderFactory.selectedItem
(Attribute<T> attribute) A single selection JList builder, where the value is represented by the selected item.EntityEditComponentPanel.ListBuilderFactory.selectedItems
(Attribute<List<T>> attribute) A multi selection JList builder, where the value is represented by the selected items.void
Sets the component associated with the given attribute as the component that should receive the focus after an insert is performed in this edit panel.void
Sets the component associated with the given attribute as the component that should receive the initial focus in this edit panel.Method parameters in is.codion.swing.framework.ui with type arguments of type AttributeModifier and TypeMethodDescriptionEntityTablePanel.Config.cellEditorFactory
(FilterTableCellEditor.Factory<Attribute<?>> cellEditorFactory) EntityTableCellRenderer.EntityColorProvider.color
(FilterTable<Entity, Attribute<?>> table, Entity entity, Attribute<?> attribute, T value) EntityTablePanel.Config.conditionPanelFactory
(TableConditionPanel.Factory<Attribute<?>> conditionPanelFactory) default FilterTableCellRenderer
<?> EntityTableCellRenderer.Factory.create
(Attribute<?> attribute, FilterTableModel<Entity, Attribute<?>> tableModel) By default, all attributes are editable via the table popup menu or theEntityTablePanel.ControlKeys.EDIT_SELECTED_ATTRIBUTE
control, use this method to exclude one or more attributes from being editable.EntityEditPanel.Config.excludeFromSelection
(Collection<Attribute<?>> excludeFromSelection) Specifies the attributes that should be excluded when presenting a component selection list.EntityTablePanel.Config.table
(Consumer<FilterTable.Builder<Entity, Attribute<?>>> builder) Provides access to the builder for the underlyingFilterTable
Constructors in is.codion.swing.framework.ui with parameters of type AttributeModifierConstructorDescriptionEntityConditionComponentFactory
(EntityDefinition entityDefinition, Attribute<?> attribute) -
Uses of Attribute in is.codion.swing.framework.ui.component
Methods in is.codion.swing.framework.ui.component that return AttributeMethods in is.codion.swing.framework.ui.component that return types with arguments of type AttributeMethods in is.codion.swing.framework.ui.component with parameters of type AttributeModifier and TypeMethodDescriptionEntityComponents.bigDecimalField
(Attribute<BigDecimal> attribute) Creates aNumberField
builder based on the given attribute.EntityComponents.booleanComboBox
(Attribute<Boolean> attribute) Creates a boolean ComboBox builder based on the given attribute.ComponentBuilder
<byte[], FileInputPanel, FileInputPanel.Builder<byte[]>> EntityComponents.byteArrayInputPanel
(Attribute<byte[]> attribute) Creates a byte array basedFileInputPanel
builder based on the given attribute.Creates a CheckBox builder based on the given attribute.<T,
C extends JComboBox<T>, B extends ComboBoxBuilder<T, C, B>>
ComboBoxBuilder<T, C, B> EntityComponents.comboBox
(Attribute<T> attribute, ComboBoxModel<T> comboBoxModel) Creates a JComboBox builder based on the given attribute.<T,
C extends JComponent, B extends ComponentBuilder<T, C, B>>
ComponentBuilder<T, C, B> Returns aComponentBuilder
instance for a default input component for the given attribute.EntityComponents.doubleField
(Attribute<Double> attribute) Creates aNumberField
builder based on the given attribute.EntityComponents.doubleSpinner
(Attribute<Double> attribute) Creates aJSpinner
builder based on the given attribute.EntityComponents.integerField
(Attribute<Integer> attribute) Creates aNumberField
builder based on the given attribute.<B extends TextFieldBuilder<Integer,
NumberField<Integer>, B>>
TextFieldBuilder<Integer, NumberField<Integer>, B> EntityComboBox.integerSelectorField
(Attribute<Integer> attribute) Creates aTextFieldBuilder
returning aNumberField
which value is bound to the selected value in this combo boxEntityComponents.integerSpinner
(Attribute<Integer> attribute) Creates aJSpinner
builder based on the given attribute.<T> ItemComboBoxBuilder
<T> EntityComponents.itemComboBox
(Attribute<T> attribute) Creates a JComboBox builder based on the given attribute.<T> ItemSpinnerBuilder
<T> EntityComponents.itemSpinner
(Attribute<T> attribute) Creates aJSpinner
builder based on the given attribute.<T> ListSpinnerBuilder
<T> EntityComponents.listSpinner
(Attribute<T> attribute, SpinnerListModel listModel) Creates aJSpinner
builder based on the given attribute.Creates aNumberField
builder based on the given attribute.EntityComponents.maskedTextField
(Attribute<String> attribute) Creates a masked text field builder based on the given attribute.EntityComponents.shortField
(Attribute<Short> attribute) Creates aNumberField
builder based on the given attribute.Creates aJSlider
builder based on the given attribute, with a bounded range model based on the min/max values of the associated attribute.EntityComponents.slider
(Attribute<Integer> attribute, BoundedRangeModel boundedRangeModel) Creates aJSlider
builder based on the given attribute.<B extends TextFieldBuilder<String,
JTextField, B>>
TextFieldBuilder<String, JTextField, B> EntityComboBox.stringSelectorField
(Attribute<String> attribute) Creates aTextFieldBuilder
returning a text field which value is bound to the selected value in this combo box<T extends Temporal>
TemporalField.Builder<T> EntityComponents.temporalField
(Attribute<T> attribute) Creates aTemporalField
builder based on the given attribute.<T extends Temporal>
TemporalFieldPanel.Builder<T> EntityComponents.temporalFieldPanel
(Attribute<T> attribute) Creates aTemporalFieldPanel
builder based on the given attribute.Creates a TextArea builder based on the given attribute.<T,
C extends JTextField, B extends TextFieldBuilder<T, C, B>>
TextFieldBuilder<T, C, B> Creates a text field builder based on the given attribute.EntityComponents.textFieldPanel
(Attribute<String> attribute) Creates aTextFieldPanel
builder based on the given attribute.<B extends ButtonBuilder<Boolean,
JToggleButton, B>>
ButtonBuilder<Boolean, JToggleButton, B> EntityComponents.toggleButton
(Attribute<Boolean> attribute) Creates a ToggleButton builder based on the given attribute.Constructors in is.codion.swing.framework.ui.component with parameters of type Attribute