Class FormLayoutFactory

java.lang.Object
com.saperion.ngc.iform.layout.FormLayoutFactory

public final class FormLayoutFactory extends Object
Factory to create FormLayouts.
  • Method Details

    • 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 type
      form - 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 - Panelayout
      form - the parent form of the layout
      Returns:
      Form layout