Class UiViewProperties

java.lang.Object
io.jmix.flowui.UiViewProperties

@ConfigurationProperties(prefix="jmix.ui.view") public class UiViewProperties extends Object
Configuration properties for UI views in the application.
  • Constructor Details

    • UiViewProperties

      public UiViewProperties(String closeShortcut, String saveShortcut, @DefaultValue("true") boolean createActionAddsFirst, @DefaultValue("true") boolean useSaveConfirmation, @DefaultValue("SUCCESS") Notifications.Type saveConfirmationType, @DefaultValue("TOP_END") com.vaadin.flow.component.notification.Notification.Position saveConfirmationPosition, @DefaultValue("DEFAULT") Notifications.Type validationNotificationType, @DefaultValue("BOTTOM_END") com.vaadin.flow.component.notification.Notification.Position validationNotificationPosition, @DefaultValue("3000") Integer validationNotificationDuration, @DefaultValue("true") boolean reloadUnfetchedAttributesFromLookupViews, @DefaultValue("false") boolean preventBrowserTabClosing)
  • Method Details

    • getCloseShortcut

      public String getCloseShortcut()
    • getSaveShortcut

      public String getSaveShortcut()
    • isCreateActionAddsFirst

      public boolean isCreateActionAddsFirst()
    • isUseSaveConfirmation

      public boolean isUseSaveConfirmation()
    • getSaveConfirmationType

      public Notifications.Type getSaveConfirmationType()
      See Also:
      • saveConfirmationType
    • getSaveConfirmationPosition

      public com.vaadin.flow.component.notification.Notification.Position getSaveConfirmationPosition()
      See Also:
      • saveConfirmationPosition
    • getValidationNotificationType

      public Notifications.Type getValidationNotificationType()
      See Also:
      • validationNotificationType
    • getValidationNotificationPosition

      public com.vaadin.flow.component.notification.Notification.Position getValidationNotificationPosition()
      See Also:
      • validationNotificationPosition
    • getValidationNotificationDuration

      public Integer getValidationNotificationDuration()
      See Also:
      • validationNotificationDuration
    • isReloadUnfetchedAttributesFromLookupViews

      public boolean isReloadUnfetchedAttributesFromLookupViews()
      See Also:
      • reloadUnfetchedAttributesFromLookupViews
    • isPreventBrowserTabClosing

      public boolean isPreventBrowserTabClosing()
      See Also:
      • preventBrowserTabClosing