Class AbstractPopupDialog
- java.lang.Object
-
- org.zkoss.zk.ui.AbstractComponent
-
- org.zkoss.zk.ui.HtmlBasedComponent
-
- org.zkoss.zul.impl.XulElement
-
- org.zkoss.zul.Window
-
- de.hybris.platform.cockpit.components.dialog.AbstractPopupDialog
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,org.zkoss.zk.ui.Component
,org.zkoss.zk.ui.ext.Scope
,org.zkoss.zk.ui.IdSpace
,org.zkoss.zk.ui.sys.ComponentCtrl
,org.zkoss.zul.ext.Framable
- Direct Known Subclasses:
DefaultPopupDialog
public abstract class AbstractPopupDialog extends org.zkoss.zul.Window
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
CLOSE_BTN_IMG
protected static java.lang.String
DEFAULT_HEIGHT
protected static java.lang.String
DEFAULT_WIDTH
protected org.zkoss.zul.Div
mainContainer
protected java.lang.String
popupHeight
protected java.lang.String
popupTitle
protected boolean
popupVisible
protected java.lang.String
popupWidth
-
Constructor Summary
Constructors Constructor Description AbstractPopupDialog()
AbstractPopupDialog(java.lang.String popupTitle)
AbstractPopupDialog(java.lang.String popupWidth, java.lang.String popupHeight, java.lang.String popupTitle)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
createPopup()
abstract void
createPopupContent()
org.zkoss.zk.ui.HtmlBasedComponent
getMainContainer()
java.lang.String
getPopupHeight()
java.lang.String
getPopupTitle()
java.lang.String
getPopupWidth()
boolean
isPopupVisible()
void
setPopupHeight(java.lang.String popupHeight)
void
setPopupTitle(java.lang.String popupTitle)
void
setPopupWidth(java.lang.String popupWidth)
boolean
setVisible(boolean visible)
-
Methods inherited from class org.zkoss.zul.Window
beforeChildAdded, clone, doEmbedded, doHighlighted, doModal, doOverlapped, doPopup, getBorder, getCaption, getContentSclass, getContentStyle, getDefaultActionOnShow, getMinheight, getMinwidth, getMode, getModeType, getPosition, getTitle, getZclass, inEmbedded, inHighlighted, inModal, inOverlapped, inPopup, insertBefore, isClosable, isCollapsible, isMaximizable, isMaximized, isMinimizable, isMinimized, isShadow, isSizable, onChildRemoved, onClose, onModal, onPageDetached, renderProperties, service, setBorder, setBorder, setClosable, setContentSclass, setContentStyle, setDefaultActionOnShow, setDraggable, setMaximizable, setMaximized, setMinheight, setMinimizable, setMinimized, setMinwidth, setMode, setMode, setMode, setPosition, setShadow, setSizable, setTitle, setTopmost
-
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
focus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, setAction, setClass, 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, equals, 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, 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, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerialize
-
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DEFAULT_WIDTH
protected static final java.lang.String DEFAULT_WIDTH
- See Also:
- Constant Field Values
-
DEFAULT_HEIGHT
protected static final java.lang.String DEFAULT_HEIGHT
- See Also:
- Constant Field Values
-
CLOSE_BTN_IMG
protected static final java.lang.String CLOSE_BTN_IMG
- See Also:
- Constant Field Values
-
popupWidth
protected java.lang.String popupWidth
-
popupHeight
protected java.lang.String popupHeight
-
popupTitle
protected java.lang.String popupTitle
-
popupVisible
protected boolean popupVisible
-
mainContainer
protected org.zkoss.zul.Div mainContainer
-
-
Constructor Detail
-
AbstractPopupDialog
public AbstractPopupDialog() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
AbstractPopupDialog
public AbstractPopupDialog(java.lang.String popupTitle) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
AbstractPopupDialog
public AbstractPopupDialog(java.lang.String popupWidth, java.lang.String popupHeight, java.lang.String popupTitle) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
-
Method Detail
-
createPopup
public void createPopup() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
createPopupContent
public abstract void createPopupContent()
-
getPopupWidth
public java.lang.String getPopupWidth()
-
setPopupWidth
public void setPopupWidth(java.lang.String popupWidth)
-
getPopupHeight
public java.lang.String getPopupHeight()
-
setPopupHeight
public void setPopupHeight(java.lang.String popupHeight)
-
getPopupTitle
public java.lang.String getPopupTitle()
-
setPopupTitle
public void setPopupTitle(java.lang.String popupTitle)
-
isPopupVisible
public boolean isPopupVisible()
-
setVisible
public boolean setVisible(boolean visible)
- Specified by:
setVisible
in interfaceorg.zkoss.zk.ui.Component
- Overrides:
setVisible
in classorg.zkoss.zul.Window
-
getMainContainer
public org.zkoss.zk.ui.HtmlBasedComponent getMainContainer()
-
-