Package com.saperion.ngc.iform.tab
Class FormTabbox
- java.lang.Object
-
- org.zkoss.zk.ui.AbstractComponent
-
- org.zkoss.zk.ui.HtmlBasedComponent
-
- org.zkoss.zul.impl.XulElement
-
- org.zkoss.zul.Tabbox
-
- com.saperion.ngc.iform.tab.FormTabbox
-
- All Implemented Interfaces:
Localized
,java.io.Serializable
,java.lang.Cloneable
,org.zkoss.zk.ui.Component
,org.zkoss.zk.ui.ext.Scope
,org.zkoss.zk.ui.sys.ComponentCtrl
public class FormTabbox extends org.zkoss.zul.Tabbox implements Localized
Tabbox control for iForm.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormTabbox(com.saperion.ngc.iform.xml.TabListType definition, boolean stretch, IntelligentFormView iForm, boolean isQueryForm, java.lang.String maskName, com.saperion.ngc.iform.xml.PosType panePos, java.lang.String ddc, boolean isNoLocalization)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.Long,FormButton>
getButtons()
java.util.Map<java.lang.Long,IntelligentField>
getEditFields()
java.util.Map<java.lang.Long,IntelligentFormView>
getForms()
java.util.Map<java.lang.Long,FormLabel>
getLabels()
java.util.Map<java.lang.Long,FormMashup>
getMashups()
java.util.Map<java.lang.Long,ResultSetView>
getResultSets()
java.util.Map<java.lang.Long,FormEditableImage>
getThumbnails()
java.util.Map<java.lang.Long,DocumentView>
getViewers()
boolean
isNoLocalize()
Returns the noLocalize parameter.void
setNoLocalize(boolean noLocalize)
Sets the noLocalize parameter that can be used to disable localization of this component.-
Methods inherited from class org.zkoss.zul.Tabbox
beforeChildAdded, clearSelectedTab, clone, getEngine, getModel, getOrient, getPanelSpacing, getSelectableModel, getSelectedIndex, getSelectedPanel, getSelectedTab, getTabboxRenderer, getTabpanels, getTabs, getToolbar, getZclass, insertBefore, isBottom, isHorizontal, isLeft, isMaximalHeight, isRight, isTabscroll, isTop, isVertical, newTabboxEngine, onChildRemoved, onInitRender, onPageAttached, onPageDetached, postOnInitRender, renderProperties, setEngine, setMaximalHeight, setModel, setMold, setOrient, setPanelSpacing, setSelectedIndex, setSelectedPanel, setSelectedTab, setTabboxRenderer, setTabboxRenderer, setTabscroll
-
Methods inherited from class org.zkoss.zul.impl.XulElement
getContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributes
-
Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent
addSclass, focus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, 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
-
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
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, 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, 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
-
-
-
-
Constructor Detail
-
FormTabbox
public FormTabbox(com.saperion.ngc.iform.xml.TabListType definition, boolean stretch, IntelligentFormView iForm, boolean isQueryForm, java.lang.String maskName, com.saperion.ngc.iform.xml.PosType panePos, java.lang.String ddc, boolean isNoLocalization) throws NgcUiException
Constructor.- Parameters:
definition
- tab list definitionstretch
- true if the component should fill its containeriForm
- parent iFormisQueryForm
- true if tabs belong to a query formmaskName
- Mask namepanePos
- Pane positionddc
- DDC nameisNoLocalization
- disable localization- Throws:
NgcUiException
- exception to be handled by view
-
-
Method Detail
-
getEditFields
public java.util.Map<java.lang.Long,IntelligentField> getEditFields()
- Returns:
- list of edit fields
-
getViewers
public final java.util.Map<java.lang.Long,DocumentView> getViewers()
- Returns:
- the viewers
-
getMashups
public final java.util.Map<java.lang.Long,FormMashup> getMashups()
- Returns:
- the mashups
-
getThumbnails
public final java.util.Map<java.lang.Long,FormEditableImage> getThumbnails()
- Returns:
- the thumbnails
-
getResultSets
public final java.util.Map<java.lang.Long,ResultSetView> getResultSets()
- Returns:
- the resultSets
-
getForms
public final java.util.Map<java.lang.Long,IntelligentFormView> getForms()
- Returns:
- the forms
-
getButtons
public java.util.Map<java.lang.Long,FormButton> getButtons()
- Returns:
- the buttons contained in this tabbox
-
getLabels
public java.util.Map<java.lang.Long,FormLabel> getLabels()
- Returns:
- the labels contained in this tabbox
-
isNoLocalize
public boolean isNoLocalize()
Description copied from interface:Localized
Returns the noLocalize parameter.- Specified by:
isNoLocalize
in interfaceLocalized
- Returns:
- noLocalize
-
setNoLocalize
public void setNoLocalize(boolean noLocalize)
Description copied from interface:Localized
Sets the noLocalize parameter that can be used to disable localization of this component.- Specified by:
setNoLocalize
in interfaceLocalized
- Parameters:
noLocalize
- value
-
-