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 booleanprotected booleanprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether a view can be closed by standard operations like a tab close button, close tab actions,Views.OpenedViewsandViews.ViewStackmethods.booleanReturns whether a view is a default, which means that it's opened after successful log in.booleanReturns whether a view must be opened in a dialog window.voidsetCloseable(boolean closeable) Sets whether a view can be closed by standard operations like a tab close button, close tab actions,Views.OpenedViewsandViews.ViewStackmethods.voidsetDefaultView(boolean defaultView) Sets whether a view is a default, which means that it's opened after successful log in.voidsetForceDialog(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.OpenedViewsandViews.ViewStackmethods.- Returns:
trueif the view is closeable,falseotherwise- 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.OpenedViewsandViews.ViewStackmethods.- Parameters:
closeable-trueif the view is closeable,falseotherwise- See Also:
-
isDefaultView
public boolean isDefaultView()Returns whether a view is a default, which means that it's opened after successful log in.- Returns:
trueif the view is a default,falseotherwise
-
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-trueif the view is a default,falseotherwise
-
isForceDialog
public boolean isForceDialog()Returns whether a view must be opened in a dialog window.- Returns:
trueif the view must be opened in a dialog window,falseotherwise
-
setForceDialog
public void setForceDialog(boolean forceDialog) Sets whether a view must be opened in a dialog window.- Parameters:
forceDialog-trueif the view must be opened in a dialog window,falseotherwise
-