Package io.jmix.ui
Class UiComponentProperties
java.lang.Object
io.jmix.ui.UiComponentProperties
@ConfigurationProperties(prefix="jmix.ui.component")
@ConstructorBinding
public class UiComponentProperties
extends Object
-
Constructor Summary
ConstructorDescriptionUiComponentProperties
(boolean htmlSanitizerEnabled, int uploadFieldMaxUploadSizeMb, String tableInsertShortcut, String tableAddShortcut, String tableRemoveShortcut, String tableEditShortcut, String tableViewShortcut, int tablePageLength, double tableCacheRate, boolean groupTableSortOnGroupEnabled, String pickerShortcutModifiers, String pickerLookupShortcut, String pickerOpenShortcut, String pickerClearShortcut, int comboBoxPageLength, String mainTabSheetNextTabShortcut, String mainTabSheetPreviousTabShortcut, MainTabSheetMode mainTabSheetMode, ManagedMainTabSheetMode managedMainTabSheetMode, List<Integer> paginationItemsPerPageOptions, Map<String, String> entityFieldType, Map<String, List<String>> entityFieldActions, boolean filterAutoApply, String filterApplyShortcut, int filterPropertiesHierarchyDepth, int filterColumnsCount, boolean filterShowConfigurationIdField, boolean filterConfigurationUniqueNamesEnabled) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
double
int
int
boolean
boolean
boolean
boolean
boolean
-
Constructor Details
-
UiComponentProperties
public UiComponentProperties(@DefaultValue("true") boolean htmlSanitizerEnabled, @DefaultValue("20") int uploadFieldMaxUploadSizeMb, @DefaultValue("CTRL-BACKSLASH") String tableInsertShortcut, @DefaultValue("CTRL-ALT-BACKSLASH") String tableAddShortcut, @DefaultValue("CTRL-DELETE") String tableRemoveShortcut, @DefaultValue("ENTER") String tableEditShortcut, @DefaultValue("ENTER") String tableViewShortcut, @DefaultValue("15") int tablePageLength, @DefaultValue("2") double tableCacheRate, @DefaultValue("true") boolean groupTableSortOnGroupEnabled, @DefaultValue("CTRL-ALT") String pickerShortcutModifiers, @DefaultValue("CTRL-ALT-L") String pickerLookupShortcut, @DefaultValue("CTRL-ALT-O") String pickerOpenShortcut, @DefaultValue("CTRL-ALT-C") String pickerClearShortcut, @DefaultValue("10") int comboBoxPageLength, @DefaultValue("CTRL-SHIFT-PAGE_DOWN") String mainTabSheetNextTabShortcut, @DefaultValue("CTRL-SHIFT-PAGE_UP") String mainTabSheetPreviousTabShortcut, @DefaultValue("DEFAULT") MainTabSheetMode mainTabSheetMode, @DefaultValue("HIDE_TABS") ManagedMainTabSheetMode managedMainTabSheetMode, @DefaultValue({"20","50","100","500","1000","5000"}) List<Integer> paginationItemsPerPageOptions, @Nullable Map<String, String> entityFieldType, @Nullable Map<String, List<String>> entityFieldActions, @DefaultValue("true") boolean filterAutoApply, @DefaultValue("SHIFT-ENTER") String filterApplyShortcut, @DefaultValue("2") int filterPropertiesHierarchyDepth, @DefaultValue("3") int filterColumnsCount, @DefaultValue("false") boolean filterShowConfigurationIdField, @DefaultValue("true") boolean filterConfigurationUniqueNamesEnabled)
-
-
Method Details
-
getUploadFieldMaxUploadSizeMb
public int getUploadFieldMaxUploadSizeMb() -
getTableInsertShortcut
-
getTableAddShortcut
-
getTableRemoveShortcut
-
getTableEditShortcut
-
getTableViewShortcut
-
getMainTabSheetNextTabShortcut
-
getMainTabSheetPreviousTabShortcut
-
getPickerShortcutModifiers
-
getPickerLookupShortcut
-
getPickerOpenShortcut
-
getPickerClearShortcut
-
getComboBoxPageLength
public int getComboBoxPageLength()- See Also:
-
comboBoxPageLength
-
getTablePageLength
public int getTablePageLength()- See Also:
-
tablePageLength
-
getTableCacheRate
public double getTableCacheRate()- See Also:
-
tableCacheRate
-
isGroupTableSortOnGroupEnabled
public boolean isGroupTableSortOnGroupEnabled()- See Also:
-
groupTableSortOnGroupEnabled
-
getMainTabSheetMode
- See Also:
-
mainTabSheetMode
-
getManagedMainTabSheetMode
- See Also:
-
managedMainTabSheetMode
-
isHtmlSanitizerEnabled
public boolean isHtmlSanitizerEnabled()- See Also:
-
htmlSanitizerEnabled
-
getPaginationItemsPerPageOptions
- See Also:
-
paginationItemsPerPageOptions
-
getEntityFieldType
-
getEntityFieldActions
-
isFilterAutoApply
public boolean isFilterAutoApply()- See Also:
-
filterAutoApply
-
getFilterApplyShortcut
- See Also:
-
filterApplyShortcut
-
getFilterPropertiesHierarchyDepth
public int getFilterPropertiesHierarchyDepth()- See Also:
-
filterPropertiesHierarchyDepth
-
getFilterColumnsCount
public int getFilterColumnsCount()- See Also:
-
filterColumnsCount
-
isFilterShowConfigurationIdField
public boolean isFilterShowConfigurationIdField()- See Also:
-
filterShowConfigurationIdField
-
isFilterConfigurationUniqueNamesEnabled
public boolean isFilterConfigurationUniqueNamesEnabled()- See Also:
-
filterConfigurationUniqueNamesEnabled
-