Package io.jmix.ui.component.factory
Class DefaultComponentGenerationStrategy
java.lang.Object
io.jmix.ui.component.factory.AbstractComponentGenerationStrategy
io.jmix.ui.component.factory.DefaultComponentGenerationStrategy
- All Implemented Interfaces:
ComponentGenerationStrategy
,org.springframework.core.Ordered
@Component("ui_DefaultComponentGenerationStrategy")
public class DefaultComponentGenerationStrategy
extends AbstractComponentGenerationStrategy
implements org.springframework.core.Ordered
-
Field Summary
Fields inherited from class io.jmix.ui.component.factory.AbstractComponentGenerationStrategy
actions, entityFieldCreationSupport, icons, messages, metadata, metadataTools, uiComponents
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionDefaultComponentGenerationStrategy
(Messages messages, UiComponents uiComponents, EntityFieldCreationSupport entityFieldCreationSupport, Metadata metadata, MetadataTools metadataTools, Icons icons, Actions actions) -
Method Summary
Modifier and TypeMethodDescriptionCreates a component according to the givenComponentGenerationContext
.int
getOrder()
Methods inherited from class io.jmix.ui.component.factory.AbstractComponentGenerationStrategy
createBooleanField, createClassField, createCollectionField, createComponentInternal, createCurrencyField, createDatatypeField, createDatatypeLinkField, createDateField, createEntityField, createEnumField, createFileStorageUploadField, createFileUploadField, createMaskedField, createNumberField, createStringField, createTimeField, createUuidField, resolveMetaPropertyPath, setLinkFieldAttributes, setValueSource
-
Constructor Details
-
DefaultComponentGenerationStrategy
@Autowired public DefaultComponentGenerationStrategy(Messages messages, UiComponents uiComponents, EntityFieldCreationSupport entityFieldCreationSupport, Metadata metadata, MetadataTools metadataTools, Icons icons, Actions actions)
-
-
Method Details
-
createComponent
Description copied from interface:ComponentGenerationStrategy
Creates a component according to the givenComponentGenerationContext
.- Specified by:
createComponent
in interfaceComponentGenerationStrategy
- Parameters:
context
- the context instance- Returns:
- created component
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-