Class TabbedModeViewPropertiesData

java.lang.Object
io.jmix.tabbedmode.view.TabbedModeViewPropertiesData

public class TabbedModeViewPropertiesData extends Object
Represents available properties of Views.
  • Field Details

    • closeable

      protected boolean closeable
    • defaultView

      protected boolean defaultView
    • forceDialog

      protected boolean forceDialog
  • Constructor Details

    • TabbedModeViewPropertiesData

      public TabbedModeViewPropertiesData()
  • Method Details

    • isCloseable

      public boolean isCloseable()
      Returns whether a view can be closed by standard operations like a tab close button, close tab actions, Views.OpenedViews and Views.ViewStack methods.
      Returns:
      true if the view is closeable, false otherwise
      See Also:
    • setCloseable

      public void setCloseable(boolean closeable)
      Sets whether a view can be closed by standard operations like a tab close button, close tab actions, Views.OpenedViews and Views.ViewStack methods.
      Parameters:
      closeable - true if the view is closeable, false otherwise
      See Also:
    • isDefaultView

      public boolean isDefaultView()
      Returns whether a view is a default, which means that it's opened after successful log in.
      Returns:
      true if the view is a default, false otherwise
    • setDefaultView

      public void setDefaultView(boolean defaultView)
      Sets whether a view is a default, which means that it's opened after successful log in.
      Parameters:
      defaultView - true if the view is a default, false otherwise
    • isForceDialog

      public boolean isForceDialog()
      Returns whether a view must be opened in a dialog window.
      Returns:
      true if the view must be opened in a dialog window, false otherwise
    • setForceDialog

      public void setForceDialog(boolean forceDialog)
      Sets whether a view must be opened in a dialog window.
      Parameters:
      forceDialog - true if the view must be opened in a dialog window, false otherwise