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 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("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("2") int filterPropertiesHierarchyDepth, @DefaultValue("3") int filterColumnsCount, @DefaultValue("false") boolean filterShowConfigurationIdField)
  • Method Details

    • getUploadFieldMaxUploadSizeMb

      public int getUploadFieldMaxUploadSizeMb()
    • getTableInsertShortcut

      public String getTableInsertShortcut()
    • getTableAddShortcut

      public String getTableAddShortcut()
    • getTableRemoveShortcut

      public String getTableRemoveShortcut()
    • getTableEditShortcut

      public String getTableEditShortcut()
    • getTableViewShortcut

      public String getTableViewShortcut()
    • getMainTabSheetNextTabShortcut

      public String getMainTabSheetNextTabShortcut()
    • getMainTabSheetPreviousTabShortcut

      public String getMainTabSheetPreviousTabShortcut()
    • getPickerShortcutModifiers

      public String getPickerShortcutModifiers()
    • getPickerLookupShortcut

      public String getPickerLookupShortcut()
    • getPickerOpenShortcut

      public String getPickerOpenShortcut()
    • getPickerClearShortcut

      public String getPickerClearShortcut()
    • getComboBoxPageLength

      public int getComboBoxPageLength()
      See Also:
      • comboBoxPageLength
    • getTablePageLength

      public int getTablePageLength()
      See Also:
      • tablePageLength
    • getTableCacheRate

      public double getTableCacheRate()
      See Also:
      • tableCacheRate
    • getMainTabSheetMode

      public MainTabSheetMode getMainTabSheetMode()
      See Also:
      • mainTabSheetMode
    • getManagedMainTabSheetMode

      public ManagedMainTabSheetMode getManagedMainTabSheetMode()
      See Also:
      • managedMainTabSheetMode
    • isHtmlSanitizerEnabled

      public boolean isHtmlSanitizerEnabled()
      See Also:
      • htmlSanitizerEnabled
    • getPaginationItemsPerPageOptions

      public List<Integer> getPaginationItemsPerPageOptions()
      See Also:
      • paginationItemsPerPageOptions
    • getEntityFieldType

      public Map<String,String> getEntityFieldType()
    • getEntityFieldActions

      public Map<String,List<String>> getEntityFieldActions()
    • isFilterAutoApply

      public boolean isFilterAutoApply()
      See Also:
      • filterAutoApply
    • getFilterPropertiesHierarchyDepth

      public int getFilterPropertiesHierarchyDepth()
      See Also:
      • filterPropertiesHierarchyDepth
    • getFilterColumnsCount

      public int getFilterColumnsCount()
      See Also:
      • filterColumnsCount
    • isFilterShowConfigurationIdField

      public boolean isFilterShowConfigurationIdField()
      See Also:
      • filterShowConfigurationIdField