Class AbstractSystemForm

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String ddcName  
      protected static int DEFAULT_FIELD_LEFT  
      protected static int DEFAULT_FIELD_SIZE  
      protected static int DEFAULT_SPACING  
      protected static int DEFAULT_TOP_SPACING  
      protected java.util.List<com.saperion.intf.SaFieldDescription> fieldList  
      • 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​(java.util.List<com.saperion.intf.SaFieldDescription> fieldList, java.lang.String ddcName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • fieldList

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

        protected final java.lang.String ddcName
    • Constructor Detail

      • AbstractSystemForm

        public AbstractSystemForm​(java.util.List<com.saperion.intf.SaFieldDescription> fieldList,
                                  java.lang.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 Detail

      • 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)