Package de.xima.fc.gui.model.designer
Class FrameDesignerModel
- java.lang.Object
-
- de.xima.fc.gui.model.designer.FrameDesignerModel
-
- All Implemented Interfaces:
Serializable
public final class FrameDesignerModel extends Object implements Serializable
POJO model holding the data required for the main designer frame page containing the sub pages such as the form and workflow designer.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FrameDesignerModel(BaseDesignerModel baseModel, TabViewModel tabViewModel, PreviewModel previewModel)
Creates a new POJO model with the given data.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FrameDesignerModel
empty()
BaseDesignerModel
getBaseModel()
PreviewModel
getPreviewModel()
TabViewModel
getTabViewModel()
-
-
-
Constructor Detail
-
FrameDesignerModel
public FrameDesignerModel(BaseDesignerModel baseModel, TabViewModel tabViewModel, PreviewModel previewModel)
Creates a new POJO model with the given data.- Parameters:
baseModel
- Value returned bygetBaseModel()
.tabViewModel
- Value returned bygetTabViewModel()
.previewModel
- Value returned bygetPreviewModel()
.
-
-
Method Detail
-
getBaseModel
public BaseDesignerModel getBaseModel()
- Returns:
- The base model with the current project, form version, and workflow version being edited.
-
getTabViewModel
public TabViewModel getTabViewModel()
- Returns:
- The tab model with the available tabs and the currently active tabs.
-
getPreviewModel
public PreviewModel getPreviewModel()
- Returns:
- The preview model for viewing a preview of the form.
-
empty
public static FrameDesignerModel empty()
- Returns:
- A new empty model with no data yet.
-
-