Package com.saperion.ngc.iform.system
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
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected static final intprotected static final intprotected static final intprotected static final intprotected 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
ConstructorsConstructorDescriptionAbstractSystemForm(List<com.saperion.intf.SaFieldDescription> fieldList, String ddcName) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanfieldSupported(com.saperion.intf.SaFieldDescription descr) protected intgetElementHeight(com.saperion.intf.SaFieldDescription descr) protected com.saperion.ngc.iform.xml.EditFieldTypegetField(com.saperion.intf.SaFieldDescription descr, int positionTop, int positionLeft, int size, com.saperion.ngc.iform.xml.LimitType limit) protected com.saperion.ngc.iform.xml.LabelTypegetLabel(com.saperion.intf.SaFieldDescription descr, int positionTop) protected intgetNextTop(int lastTop, com.saperion.ngc.iform.xml.PosType positionOfLastElement) protected com.saperion.ngc.iform.xml.PosTypegetPosition(int top, int left, int height, int width) protected booleantwoFieldsNeeded(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
-
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
-
ddcName
-
-
Constructor Details
-
AbstractSystemForm
- Parameters:
fieldList- the list of fields that will be contained in the formddcName- 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)
-