public abstract class AbstractComponentGenerationStrategy extends java.lang.Object implements ComponentGenerationStrategy
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractComponentGenerationStrategy.InvokeEntityLinkClickHandler |
Modifier and Type | Field and Description |
---|---|
protected DynamicAttributesTools |
dynamicAttributesTools |
protected Messages |
messages |
protected UiComponents |
uiComponents |
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
AbstractComponentGenerationStrategy(Messages messages,
DynamicAttributesTools dynamicAttributesTools) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createComponent
protected Messages messages
protected UiComponents uiComponents
protected DynamicAttributesTools dynamicAttributesTools
public AbstractComponentGenerationStrategy(Messages messages, DynamicAttributesTools dynamicAttributesTools)
protected Component createComponentInternal(ComponentGenerationContext context)
protected Component createDatatypeLinkField(ComponentGenerationContext context)
protected Field createEnumField(ComponentGenerationContext context)
protected Component createMaskedField(ComponentGenerationContext context)
protected Component createStringField(ComponentGenerationContext context, com.haulmont.chile.core.model.MetaPropertyPath mpp)
protected Field createUuidField(ComponentGenerationContext context)
protected Field createBooleanField(ComponentGenerationContext context)
protected Component createDateField(ComponentGenerationContext context)
protected Component createTimeField(ComponentGenerationContext context)
protected Field createNumberField(ComponentGenerationContext context)
@Nullable protected Field createCurrencyField(ComponentGenerationContext context, com.haulmont.chile.core.model.MetaPropertyPath mpp)
protected Field createFileUploadField(ComponentGenerationContext context)
protected Component createEntityField(ComponentGenerationContext context, com.haulmont.chile.core.model.MetaPropertyPath mpp)
protected void setLinkFieldAttributes(EntityLinkField linkField, ComponentGenerationContext context)
protected com.haulmont.chile.core.model.MetaPropertyPath resolveMetaPropertyPath(com.haulmont.chile.core.model.MetaClass metaClass, java.lang.String property)
protected void setValueSource(Field field, ComponentGenerationContext context)