Class AbstractSystemForm

java.lang.Object
com.saperion.ngc.iform.xml.Form
com.saperion.ngc.iform.system.AbstractSystemForm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SystemLookupIndexForm, SystemLookupQueryForm

public abstract class AbstractSystemForm extends com.saperion.ngc.iform.xml.Form
Abstract superclass for all system-forms.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final String
     
    protected static final int
     
    protected static final int
     
    protected static final int
     
    protected static final int
     
    protected final List<com.saperion.intf.SaFieldDescription>
     

    Fields inherited from class com.saperion.ngc.iform.xml.Form

    bitmap, button, connection, editField, frame, groupbox, groups, header, hidden, include, label, mashup, name, paneLayout, result, tabList, thumbnail, toolbar, viewer
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractSystemForm(List<com.saperion.intf.SaFieldDescription> fieldList, String ddcName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    fieldSupported(com.saperion.intf.SaFieldDescription descr)
     
    protected int
    getElementHeight(com.saperion.intf.SaFieldDescription descr)
     
    protected com.saperion.ngc.iform.xml.EditFieldType
    getField(com.saperion.intf.SaFieldDescription descr, int positionTop, int positionLeft, int size, com.saperion.ngc.iform.xml.LimitType limit)
     
    protected com.saperion.ngc.iform.xml.LabelType
    getLabel(com.saperion.intf.SaFieldDescription descr, int positionTop)
     
    protected int
    getNextTop(int lastTop, com.saperion.ngc.iform.xml.PosType positionOfLastElement)
     
    protected com.saperion.ngc.iform.xml.PosType
    getPosition(int top, int left, int height, int width)
     
    protected boolean
    twoFieldsNeeded(com.saperion.intf.SaFieldDescription descr)
     

    Methods inherited from class com.saperion.ngc.iform.xml.Form

    getBitmap, getButton, getConnection, getEditField, getFrame, getGroupbox, getGroups, getHeader, getHidden, getInclude, getLabel, getMashup, getName, getPaneLayout, getResult, getTabList, getThumbnail, getToolbar, getViewer, setHeader, setHidden, setName, setPaneLayout, setToolbar

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT_SPACING

      protected static final int DEFAULT_SPACING
      See Also:
    • DEFAULT_TOP_SPACING

      protected static final int DEFAULT_TOP_SPACING
      See Also:
    • DEFAULT_FIELD_LEFT

      protected static final int DEFAULT_FIELD_LEFT
      See Also:
    • DEFAULT_FIELD_SIZE

      protected static final int DEFAULT_FIELD_SIZE
      See Also:
    • fieldList

      protected final List<com.saperion.intf.SaFieldDescription> fieldList
    • ddcName

      protected final String ddcName
  • Constructor Details

    • AbstractSystemForm

      public AbstractSystemForm(List<com.saperion.intf.SaFieldDescription> fieldList, String ddcName)
      Parameters:
      fieldList - the list of fields that will be contained in the form
      ddcName - the name of the ddc the form will be used for
  • Method Details

    • getPosition

      protected com.saperion.ngc.iform.xml.PosType getPosition(int top, int left, int height, int width)
    • getNextTop

      protected int getNextTop(int lastTop, com.saperion.ngc.iform.xml.PosType positionOfLastElement)
    • getElementHeight

      protected int getElementHeight(com.saperion.intf.SaFieldDescription descr)
    • getLabel

      protected com.saperion.ngc.iform.xml.LabelType getLabel(com.saperion.intf.SaFieldDescription descr, int positionTop)
    • getField

      protected com.saperion.ngc.iform.xml.EditFieldType getField(com.saperion.intf.SaFieldDescription descr, int positionTop, int positionLeft, int size, com.saperion.ngc.iform.xml.LimitType limit)
    • twoFieldsNeeded

      protected boolean twoFieldsNeeded(com.saperion.intf.SaFieldDescription descr)
    • fieldSupported

      protected boolean fieldSupported(com.saperion.intf.SaFieldDescription descr)