Package com.saperion.ngc.iform.layout
Class FormLayoutFactory
- java.lang.Object
-
- com.saperion.ngc.iform.layout.FormLayoutFactory
-
public final class FormLayoutFactory extends java.lang.ObjectFactory to create FormLayouts.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormLayoutcreateLayout(LayoutType type, IntelligentFormViewImpl form)Creates a borderlayout based layout for a form.static FormLayoutcreateLayout(com.saperion.ngc.iform.PaneDescription.Layout layout, IntelligentFormViewImpl form)Cteate layout from a pane layout.
-
-
-
Method Detail
-
createLayout
public static FormLayout createLayout(LayoutType type, IntelligentFormViewImpl form) throws UndefinedLayoutException
Creates a borderlayout based layout for a form. There are 21 predefined layouts identified by integers from 1 to 21.- Parameters:
type- layout typeform- the parent form of the layout- Returns:
- the layout
- Throws:
UndefinedLayoutException- when the layout type is unknown
-
createLayout
public static FormLayout createLayout(com.saperion.ngc.iform.PaneDescription.Layout layout, IntelligentFormViewImpl form)
Cteate layout from a pane layout.- Parameters:
layout- Panelayoutform- the parent form of the layout- Returns:
- Form layout
-
-