Package io.jmix.flowui
Class UiComponentProperties
java.lang.Object
io.jmix.flowui.UiComponentProperties
@ConfigurationProperties(prefix="jmix.ui.component")
public class UiComponentProperties
extends Object
-
Constructor Summary
ConstructorDescriptionUiComponentProperties
(String gridCreateShortcut, String gridAddShortcut, String gridRemoveShortcut, String gridEditShortcut, String gridReadShortcut, boolean gridContextMenuShowActionIcons, boolean gridContextMenuShowActionShortcuts, String defaultNotificationPosition, boolean notificationsOpenedChangeEventsEnabled, boolean dialogsOpenedChangeEventsEnabled, int defaultNotificationDuration, String pickerLookupShortcut, String pickerOpenShortcut, String pickerClearShortcut, List<Integer> paginationItemsPerPageItems, Map<String, String> entityFieldFqn, Map<String, List<String>> entityFieldActions, boolean filterAutoApply, String filterApplyShortcut, int filterPropertiesHierarchyDepth, boolean filterShowConfigurationIdField, boolean filterShowNonJpaProperties, boolean filterConfigurationUniqueNamesEnabled, boolean showErrorMessageBelowField, boolean immediateRequiredValidationEnabled, boolean defaultTrimEnabled) -
Method Summary
Modifier and TypeMethodDescriptionint
com.vaadin.flow.component.notification.Notification.Position
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Constructor Details
-
UiComponentProperties
public UiComponentProperties(String gridCreateShortcut, String gridAddShortcut, String gridRemoveShortcut, @DefaultValue("ENTER") String gridEditShortcut, @DefaultValue("ENTER") String gridReadShortcut, @DefaultValue("false") boolean gridContextMenuShowActionIcons, @DefaultValue("false") boolean gridContextMenuShowActionShortcuts, @DefaultValue("MIDDLE") String defaultNotificationPosition, @DefaultValue("false") boolean notificationsOpenedChangeEventsEnabled, @DefaultValue("false") boolean dialogsOpenedChangeEventsEnabled, @DefaultValue("3000") int defaultNotificationDuration, String pickerLookupShortcut, String pickerOpenShortcut, String pickerClearShortcut, @DefaultValue({"20","50","100","500","1000","5000"}) List<Integer> paginationItemsPerPageItems, @Nullable Map<String, String> entityFieldFqn, @Nullable Map<String, List<String>> entityFieldActions, @DefaultValue("true") boolean filterAutoApply, String filterApplyShortcut, @DefaultValue("2") int filterPropertiesHierarchyDepth, @DefaultValue("false") boolean filterShowConfigurationIdField, @DefaultValue("true") boolean filterShowNonJpaProperties, @DefaultValue("true") boolean filterConfigurationUniqueNamesEnabled, @DefaultValue("true") boolean showErrorMessageBelowField, @DefaultValue("true") boolean immediateRequiredValidationEnabled, @DefaultValue("true") boolean defaultTrimEnabled)
-
-
Method Details
-
getGridCreateShortcut
-
getGridAddShortcut
-
getGridRemoveShortcut
-
getGridEditShortcut
-
getGridReadShortcut
-
isGridContextMenuShowActionIcons
public boolean isGridContextMenuShowActionIcons()- See Also:
-
gridContextMenuShowActionIcons
-
isGridContextMenuShowActionShortcuts
public boolean isGridContextMenuShowActionShortcuts()- See Also:
-
gridContextMenuShowActionShortcuts
-
getDefaultNotificationPosition
public com.vaadin.flow.component.notification.Notification.Position getDefaultNotificationPosition() -
getDefaultNotificationDuration
public int getDefaultNotificationDuration() -
isNotificationsOpenedChangeEventsEnabled
public boolean isNotificationsOpenedChangeEventsEnabled()- See Also:
-
notificationsOpenedChangeEventsEnabled
-
isDialogsOpenedChangeEventsEnabled
public boolean isDialogsOpenedChangeEventsEnabled()- See Also:
-
dialogsOpenedChangeEventsEnabled
-
getPickerLookupShortcut
-
getPickerOpenShortcut
-
getPickerClearShortcut
-
getPaginationItemsPerPageItems
- See Also:
-
paginationItemsPerPageItems
-
getEntityFieldFqn
- See Also:
-
entityFieldFqn
-
getEntityFieldActions
- See Also:
-
entityFieldActions
-
isFilterAutoApply
public boolean isFilterAutoApply()- See Also:
-
filterAutoApply
-
getFilterApplyShortcut
- See Also:
-
filterApplyShortcut
-
getFilterPropertiesHierarchyDepth
public int getFilterPropertiesHierarchyDepth()- See Also:
-
filterPropertiesHierarchyDepth
-
isFilterShowConfigurationIdField
public boolean isFilterShowConfigurationIdField()- See Also:
-
filterShowConfigurationIdField
-
isFilterShowNonJpaProperties
public boolean isFilterShowNonJpaProperties()- See Also:
-
filterShowNonJpaProperties
-
isFilterConfigurationUniqueNamesEnabled
public boolean isFilterConfigurationUniqueNamesEnabled()- See Also:
-
filterConfigurationUniqueNamesEnabled
-
isShowErrorMessageBelowField
public boolean isShowErrorMessageBelowField()- See Also:
-
showErrorMessageBelowField
-
isImmediateRequiredValidationEnabled
public boolean isImmediateRequiredValidationEnabled()- See Also:
-
immediateRequiredValidationEnabled
-
isDefaultTrimEnabled
public boolean isDefaultTrimEnabled()- See Also:
-
defaultTrimEnabled
-