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.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, getEast, getNorth, getSouth, getWest, getZclass, insertBefore, isAnimationDisabled, onChildRemoved, renderProperties, resize, setAnimationDisabled
addSclass, focus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getPropertyAccess, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, removeSclass, removeSclass, service, setAction, setClass, setDraggable, setDroppable, setFocus, setHeight, setHeight0, setHeightDirectly, setHflex, setHflex0, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTabindex, setTabindex, setTooltiptext, setTop, setTopDirectly, setVflex, setVflex0, setVflexDirectly, setWidth, setWidth0, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectly
addAnnotation, addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildRemoved, beforeParentChanged, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, enableBindingAnnotation, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onPageAttached, onPageDetached, onWrongValue, query, queryAll, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, replace, response, response, response, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisible, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerialize
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
finishLayout, setFrameDimensions
protected static final double PERCENT_100
protected final IntelligentFormViewImpl parentForm
public final int getType()
FormLayout
getType
in interface FormLayout
public final void addChildToFrame(org.zkoss.zk.ui.Component child, int frameId)
FormLayout
addChildToFrame
in interface FormLayout
child
- 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 FormLayout
id
- IDFormLayout.isTabPane(java.lang.Integer)
public org.zkoss.zk.ui.HtmlBasedComponent getFrame(int frameId)
getFrame
in interface FormLayout
frameId
- frame idFormLayout.getFrame(int)
public void setStoredSizes(Map<Integer,AreaSize> sizes)
setStoredSizes
in interface FormLayout
sizes
- area sizes from backendFormLayout.setStoredSizes(Map)
Copyright © 2021 Hyland Software Germany GmbH. All rights reserved.