public abstract class AbstractFormLayout extends org.zkoss.zul.Borderlayout implements FormLayout
| Modifier and Type | Field and Description |
|---|---|
protected IntelligentFormViewImpl |
parentForm
Parent form of this layout.
|
protected static double |
PERCENT_100
100 percent.
|
protected Map<Integer,AreaSize> |
sizes
Sizes stored in configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChildToFrame(org.zkoss.zk.ui.Component child,
int frameId)
Adds a child component to the specified frame.
|
org.zkoss.zk.ui.api.HtmlBasedComponent |
getFrame(int frameId)
Returns the frame with the specified ID.
|
protected int |
getFrameHeight(com.saperion.ngc.iform.xml.PosType framePosition)
Calculates the height of a frame.
|
protected int |
getFrameWidth(com.saperion.ngc.iform.xml.PosType framePosition)
Calculates the width of a frame.
|
int |
getType()
Returns the type of the layout.
|
boolean |
isTabPane(Integer id)
Check, if the element is a tab pane.
|
void |
setStoredSizes(Map<Integer,AreaSize> sizes)
Sets the sizes of the layout areas that were stored in the backend-configuration.
|
beforeChildAdded, clone, getCenter, getCenterApi, getEast, getEastApi, getNorth, getNorthApi, getSouth, getSouthApi, getWest, getWestApi, getZclass, insertBefore, isAnimationDisabled, onChildRemoved, renderProperties, resize, setAnimationDisabledfocus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, service, setAction, setClass, setDraggable, setDroppable, setFocus, setHeight, setHeightDirectly, setHflex, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTooltiptext, setTop, setTopDirectly, setVflex, setWidth, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectlyaddAnnotation, addAnnotation, addClientEvent, addEventHandler, addEventListener, addForward, addForward, addForward, addForward, addMoved, addScopeListener, addSharedAnnotationMap, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildRemoved, beforeParentChanged, containsVariable, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableClientUpdate, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getStubonly, getUuid, getVariable, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, newChildren, newExtraCtrl, onChildAdded, onPageAttached, onPageDetached, onWrongValue, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, removeScopeListener, render, render, render, renderIdSpace, response, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setVariable, setVisible, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, unsetVariable, updateByClient, willPassivate, willPassivate, willSerialize, willSerializefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfinishLayout, setFrameDimensionsfocus, getHeight, getLeft, getRenderdefer, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setRenderdefer, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndexaddEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, containsVariable, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getDefinition, getDesktop, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getStubonly, getUuid, getVariable, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, invalidate, isInvalidated, isListenerAvailable, isVisible, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setVariable, setVisible, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, unsetVariableprotected static final double PERCENT_100
protected final IntelligentFormViewImpl parentForm
public final int getType()
FormLayoutgetType in interface FormLayoutpublic final void addChildToFrame(org.zkoss.zk.ui.Component child,
int frameId)
FormLayoutaddChildToFrame in interface FormLayoutchild - Child componentframeId - frameIdprotected final int getFrameHeight(com.saperion.ngc.iform.xml.PosType framePosition)
throws FormRenderException
framePosition - frame positionFormRenderException - when the height can not be calculatedprotected final int getFrameWidth(com.saperion.ngc.iform.xml.PosType framePosition)
throws FormRenderException
framePosition - frame positionFormRenderException - when the width can not be calculatedpublic boolean isTabPane(Integer id)
isTabPane in interface FormLayoutid - IDFormLayout.isTabPane(java.lang.Integer)public org.zkoss.zk.ui.api.HtmlBasedComponent getFrame(int frameId)
getFrame in interface FormLayoutframeId - frame idFormLayout.getFrame(int)public void setStoredSizes(Map<Integer,AreaSize> sizes)
setStoredSizes in interface FormLayoutsizes - area sizes from backendcom.saperion.ngc.iform.layout.FormLayout#setStoredSizes(java.util.Collection)Copyright © 2016 SAPERION AG. All rights reserved.