Package io.jmix.tabbedmode.view
Class TabbedModeViewPropertiesData
java.lang.Object
io.jmix.tabbedmode.view.TabbedModeViewPropertiesData
Represents available properties of
Views
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether a view can be closed by standard operations like a tab close button, close tab actions,Views.OpenedViews
andViews.ViewStack
methods.boolean
Returns whether a view is a default, which means that it's opened after successful log in.boolean
Returns whether a view must be opened in a dialog window.void
setCloseable
(boolean closeable) Sets whether a view can be closed by standard operations like a tab close button, close tab actions,Views.OpenedViews
andViews.ViewStack
methods.void
setDefaultView
(boolean defaultView) Sets whether a view is a default, which means that it's opened after successful log in.void
setForceDialog
(boolean forceDialog) Sets whether a view must be opened in a dialog window.
-
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
andViews.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
andViews.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
-