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
EntityConnectionProvider.DESCRIPTION
Package configuration values:
EntityValidator.STRICT_VALIDATION
Entities.VALIDATE_FOREIGN_KEYS
Entities.STRICT_DESERIALIZATION
AttributeDefinition.FRACTION_DIGITSAttributeDefinition.NUMBER_GROUPINGAttributeDefinition.GROUPING_SEPARATORAttributeDefinition.DECIMAL_SEPARATORAttributeDefinition.USE_LEXICAL_STRING_COMPARATORAttributeDefinition.ROUNDING_MODEForeignKeyDefinition.REFERENCE_DEPTH
Attribute related classes.
Domain model exception related classes.
Package configuration values:
EntityApplicationModel.USER_PREFERENCES
EntityApplicationModel.RESTORE_DEFAULT_PREFERENCES
EntityApplicationModel.PREFERENCES_KEY
EntityEditModel.EDIT_EVENTS
EntityEditModel.EntityEditor.PERSIST_FOREIGN_KEYS
EntityQueryModel.LIMIT
EntityTableModel.ON_INSERT
EntityTableModel.ORDER_QUERY
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
Swing model classes
Package configuration values:
EntityComboBoxModel.EDIT_EVENTS
Package configuration values:
EntityApplication.USER
EntityApplication.SAVE_DEFAULT_USERNAME
EntityApplication.STARTUP_DIALOG
EntityApplication.CONNECTION_INFO_UPPER_CASE
EntityApplicationPanel.HELP_URL
EntityApplicationPanel.CONFIRM_EXIT
EntityApplicationPanel.CACHE_ENTITY_PANELS
EntityApplicationPanel.CALL_SYSTEM_EXIT
EntityApplicationPanel.SQL_TRACING
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.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
EntityTablePanel.Config.REFRESH_PROGRESS_BAR_DELAY
ReferentialIntegrityErrorHandling.REFERENTIAL_INTEGRITY_ERROR_HANDLING
TabbedApplicationLayout.TAB_PLACEMENT
TabbedDetailLayout.INCLUDE_CONTROLS
-
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.<T> Attribute<T> EntityDefinition.Attributes.getOrThrow(String attributeName) Returns the attribute with the given name.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 derived attributes are included if the value has been cached.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 TypeMethodDescriptionClears the given value from this builder, current as well as original value if anybooleanReturns 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 ofattributefrom the given entities.<T> StringThis method returns a String representation of the value associated with the given attribute, if the associated attribute has a format it is used.Sets the formatter, based the value of the given attribute.<T> @Nullable TReturns the value associated withattribute.static <T> LinkedHashMap<@Nullable T, List<Entity>> Entity.groupByValue(Attribute<T> attribute, Collection<Entity> entities) Returns aLinkedHashMapcontaining 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);booleanReturns true if a null value is mapped to the given attribute or if no mapping is found.booleanReturns 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.default booleanReturns 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 TReturns the original value associated withattribute, or the current one if it is unmodified.<T> @Nullable TRemoves the given value from this Entity along with the original value if any.voidReverts the value associated with the given attribute to its original value.voidSaves the value associated with the given attribute, that is, removes the original value.<T> @Nullable TSets the value of the given attribute, returning the previous value if anydefault voidChecks if the value associated with the give attribute is valid, throws a ValidationException if notAdds the value mapped to the given key to thisEntityFormatter.BuilderAdds the value mapped to the given key to this StringProviderEntityFormatter.Builder.value(ForeignKey foreignKey, Attribute<?> attribute) Adds the value mapped to the given attribute in theEntityinstance mapped to the given foreign key to thisEntityFormatter.Builderstatic <T> Collection<T> Entity.values(Attribute<T> attribute, Collection<Entity> entities) Returns the non-null values associated withattributefrom the given entities.<T> Entity.BuilderAdds the given attribute value to this builderMethod parameters in is.codion.framework.domain.entity with type arguments of type AttributeModifier and TypeMethodDescriptionCreates a newEntityinstance based on this definitionCreates a newEntityinstance based on this definitionbooleanEntity.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 TypeInterfaceDescriptioninterfaceColumn<T>AnAttributerepresenting a table column.interfaceAnAttributerepresenting 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()TheAttributethis 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.sources()Methods in is.codion.framework.domain.entity.attribute with parameters of type AttributeModifier and TypeMethodDescriptionDerivedAttributeDefinition.DenormalizedBuilder.DenormalizedAttributeStep.attribute(Attribute<T> denormalized) <T> @Nullable TReturns the value associated with the given source attribute.By default, all attributes are included when the referenced entity is selected.<T> Optional<T> Returns the source value associated with the given attribute or an emptyOptionalif the associated value is null or if the given attribute is not a source attributestatic DerivedValue.SourceValuesDerivedValue.sourceValues(Attribute<?> derivedAttribute, Map<Attribute<?>, Object> values) Method parameters in is.codion.framework.domain.entity.attribute with type arguments of type AttributeModifier and TypeMethodDescriptionstatic DerivedValue.SourceValuesDerivedValue.sourceValues(Attribute<?> derivedAttribute, Map<Attribute<?>, Object> values) -
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 theValueSetcontrolling 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 theValueSetcontrolling 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.EditorValueinstance 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> voidAbstractEntityEditModel.applyEdit(Collection<Entity> entities, Attribute<T> attribute, @Nullable T value) <T> voidEntityEditModel.applyEdit(Collection<Entity> entities, Attribute<T> attribute, @Nullable T value) Applies the given value to the given entities.boolean<T> Optional<ConditionModel<T>> The condition model associated withattributevoidValidates the value associated with the given attribute, using the underlying validator.<T> EntityEditModel.EditorValue<T> Returns theEntityEditModel.EditorValueinstance representingattributein thisEntityEditModel.EntityEditor.Method parameters in is.codion.framework.model with type arguments of type AttributeModifier and TypeMethodDescriptionEntitySearchModel.Builder.attributes(Collection<Attribute<?>> attributes) static EntityTableConditionModelEntityTableConditionModel.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()final FilterTableModel.Export<Attribute<?>> SwingEntityTableModel.export()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 booleanReturns true if the given attribute is editable for the given entity.final Class<?> SwingEntityTableModel.getColumnClass(Attribute<?> attribute) final voidSwingEntityEditModel.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 aValuelinked 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<C extends JComponent,T, A extends Attribute<T>>
EntityTablePanel.ConfigEntityTablePanel.Config.editComponentFactory(A attribute, EditComponentFactory<C, T> 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<?>, EntityEditComponentPanel.EditorComponent<?>> EntityEditComponentPanel.components()final TableConditionPanel<Attribute<?>> EntityTablePanel.condition()final FilterTable<Entity, Attribute<?>> EntityTablePanel.table()Methods in is.codion.swing.framework.ui with parameters of type AttributeModifier and TypeMethodDescriptionprotected final voidEntityEditComponentPanel.addInputPanel(Attribute<?> attribute) Adds a panel for the given attribute to this panelprotected final voidEntityEditComponentPanel.addInputPanel(Attribute<?> attribute, 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) protected final <T> EntityEditComponentPanel.EditorComponent<T> 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 CheckBoxBuilderEntityEditComponentPanel.createCheckBox(Attribute<Boolean> attribute) Creates a builder for check boxes for non-nullable attributes.protected final <T,C extends JComboBox<T>, B extends ComboBoxBuilder<C, T, B>>
ComboBoxBuilder<C, T, 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 InputPanelBuilderEntityEditComponentPanel.createInputPanel(Attribute<?> attribute) Creates a panel containing a label and the component associated with the given attribute.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 labels.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 MaskedTextFieldBuilderEntityEditComponentPanel.createMaskedTextField(Attribute<String> attribute) Creates a builder for formatted text fields.protected final NullableCheckBoxBuilderEntityEditComponentPanel.createNullableCheckBox(Attribute<Boolean> attribute) Creates a builder for nullable check boxes.protected final SliderBuilderEntityEditComponentPanel.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 TextAreaBuilderEntityEditComponentPanel.createTextArea(Attribute<String> attribute) Creates a builder for text areas.protected final <T,C extends JTextField, B extends TextFieldBuilder<C, T, B>>
TextFieldBuilder<C, T, B> EntityEditComponentPanel.createTextField(Attribute<T> attribute) Creates a builder for text fields.protected final TextFieldPanel.BuilderEntityEditComponentPanel.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 voidEntityTablePanel.editSelected(Attribute<?> attributeToEdit) Retrieves a new value via input dialog and performs an update on the selected entities assigning the value to the attributeEntityTableCellRenderer.EntityCellColor.get(FilterTable<Entity, Attribute<?>> table, Entity entity, Attribute<?> attribute, T value) A JList builder, where the value is represented by the list items.voidRequest 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.voidSets the component associated with the given attribute as the component that should receive the focus after an insert is performed in this edit panel.voidSets 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) 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_ATTRIBUTEcontrol, 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.EntityTableCellRenderer.EntityCellColor.get(FilterTable<Entity, Attribute<?>> table, Entity entity, Attribute<?> attribute, T value) EntityTablePanel.Config.table(Consumer<FilterTable.Builder<Entity, Attribute<?>>> builder) Provides access to the builder for the underlyingFilterTableConstructors 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 aNumberFieldbuilder based on the given attribute.EntityComponents.booleanComboBox(Attribute<Boolean> attribute) Creates a boolean ComboBox builder based on the given attribute.ComponentValueBuilder<FileInputPanel, byte[], FileInputPanel.Builder<byte[]>> EntityComponents.byteArrayInputPanel(Attribute<byte[]> attribute) Creates a byte array basedFileInputPanelbuilder based on the given attribute.Creates a CheckBox builder based on the given attribute.<T,C extends JComboBox<T>, B extends ComboBoxBuilder<C, T, B>>
ComboBoxBuilder<C, T, B> EntityComponents.comboBox(Attribute<T> attribute, ComboBoxModel<T> comboBoxModel) Creates a JComboBox builder based on the given attribute.<C extends JComponent,T, B extends ComponentValueBuilder<C, T, B>>
ComponentValueBuilder<C, T, B> Returns aComponentBuilderinstance for a default input component for the given attribute.EntityComponents.doubleField(Attribute<Double> attribute) Creates aNumberFieldbuilder based on the given attribute.EntityComponents.doubleSpinner(Attribute<Double> attribute) Creates aJSpinnerbuilder based on the given attribute.EntityComponents.integerField(Attribute<Integer> attribute) Creates aNumberFieldbuilder based on the given attribute.<B extends TextFieldBuilder<NumberField<Integer>,Integer, B>>
TextFieldBuilder<NumberField<Integer>, Integer, B> EntityComboBox.integerSelectorField(Attribute<Integer> attribute) Creates aTextFieldBuilderreturning aNumberFieldwhich value is bound to the selected value in this combo boxEntityComponents.integerSpinner(Attribute<Integer> attribute) Creates aJSpinnerbuilder 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 aJSpinnerbuilder based on the given attribute.<T> ListSpinnerBuilder<T> EntityComponents.listSpinner(Attribute<T> attribute, SpinnerListModel listModel) Creates aJSpinnerbuilder based on the given attribute.Creates aNumberFieldbuilder based on the given attribute.EntityComponents.maskedTextField(Attribute<String> attribute) Creates a masked text field builder based on the given attribute.EntityComponents.nullableCheckBox(Attribute<Boolean> attribute) Creates a NullableCheckBox builder based on the given attribute.EntityComponents.shortField(Attribute<Short> attribute) Creates aNumberFieldbuilder based on the given attribute.Creates aJSliderbuilder 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 aJSliderbuilder based on the given attribute.<B extends TextFieldBuilder<JTextField,String, B>>
TextFieldBuilder<JTextField, String, B> EntityComboBox.stringSelectorField(Attribute<String> attribute) Creates aTextFieldBuilderreturning 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 aTemporalFieldbuilder based on the given attribute.<T extends Temporal>
TemporalFieldPanel.Builder<T> EntityComponents.temporalFieldPanel(Attribute<T> attribute) Creates aTemporalFieldPanelbuilder based on the given attribute.Creates a TextArea builder based on the given attribute.<T,C extends JTextField, B extends TextFieldBuilder<C, T, B>>
TextFieldBuilder<C, T, B> Creates a text field builder based on the given attribute.EntityComponents.textFieldPanel(Attribute<String> attribute) Creates aTextFieldPanelbuilder based on the given attribute.<B extends ButtonBuilder<JToggleButton,Boolean, B>>
ButtonBuilder<JToggleButton, Boolean, 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