Package org.teamapps.application.server
Class DevUiComponentFactory
java.lang.Object
org.teamapps.application.server.DevUiComponentFactory
- All Implemented Interfaces:
UiComponentFactory
public class DevUiComponentFactory extends java.lang.Object implements UiComponentFactory
-
Constructor Summary
Constructors Constructor Description DevUiComponentFactory(ApplicationInstanceData applicationInstanceData) -
Method Summary
Modifier and Type Method Description FormMetaFieldscreateFormMetaFields()org.teamapps.ux.component.field.combobox.ComboBox<OrganizationUnitView>createOrganizationUnitComboBox(java.util.function.Supplier<java.util.Collection<OrganizationUnitView>> allowedUnitsSupplier)org.teamapps.ux.component.field.combobox.ComboBox<OrganizationUnitView>createOrganizationUnitComboBox(java.util.Set<OrganizationUnitView> allowedUnits)org.teamapps.ux.component.field.TemplateField<OrganizationUnitView>createOrganizationUnitTemplateField()org.teamapps.ux.component.field.combobox.TagComboBox<OrganizationUnitTypeView>createOrganizationUnitTypeTagComboBox()TranslatableFieldcreateTranslatableField()TranslationKeyFieldcreateTranslationKeyField(java.lang.String linkButtonCaption, boolean allowMultiLine, boolean selectionFieldWithKey)java.lang.StringcreateUserAvatarLink(int userId, boolean large)static org.teamapps.data.extract.PropertyProvider<java.lang.Integer>createUserIdPropertyProvider()org.teamapps.ux.component.field.TemplateField<java.lang.Integer>createUserTemplateField()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teamapps.application.api.ui.UiComponentFactory
createTranslationKeyField
-
Constructor Details
-
DevUiComponentFactory
-
-
Method Details
-
createOrganizationUnitComboBox
public org.teamapps.ux.component.field.combobox.ComboBox<OrganizationUnitView> createOrganizationUnitComboBox(java.util.function.Supplier<java.util.Collection<OrganizationUnitView>> allowedUnitsSupplier)- Specified by:
createOrganizationUnitComboBoxin interfaceUiComponentFactory
-
createOrganizationUnitComboBox
public org.teamapps.ux.component.field.combobox.ComboBox<OrganizationUnitView> createOrganizationUnitComboBox(java.util.Set<OrganizationUnitView> allowedUnits)- Specified by:
createOrganizationUnitComboBoxin interfaceUiComponentFactory
-
createOrganizationUnitTypeTagComboBox
public org.teamapps.ux.component.field.combobox.TagComboBox<OrganizationUnitTypeView> createOrganizationUnitTypeTagComboBox()- Specified by:
createOrganizationUnitTypeTagComboBoxin interfaceUiComponentFactory
-
createOrganizationUnitTemplateField
public org.teamapps.ux.component.field.TemplateField<OrganizationUnitView> createOrganizationUnitTemplateField()- Specified by:
createOrganizationUnitTemplateFieldin interfaceUiComponentFactory
-
createUserTemplateField
public org.teamapps.ux.component.field.TemplateField<java.lang.Integer> createUserTemplateField()- Specified by:
createUserTemplateFieldin interfaceUiComponentFactory
-
createTranslatableField
- Specified by:
createTranslatableFieldin interfaceUiComponentFactory
-
createTranslationKeyField
public TranslationKeyField createTranslationKeyField(java.lang.String linkButtonCaption, boolean allowMultiLine, boolean selectionFieldWithKey)- Specified by:
createTranslationKeyFieldin interfaceUiComponentFactory
-
createFormMetaFields
- Specified by:
createFormMetaFieldsin interfaceUiComponentFactory
-
createUserAvatarLink
public java.lang.String createUserAvatarLink(int userId, boolean large)- Specified by:
createUserAvatarLinkin interfaceUiComponentFactory
-
createUserIdPropertyProvider
public static org.teamapps.data.extract.PropertyProvider<java.lang.Integer> createUserIdPropertyProvider()
-