public class GoldenPanel
extends org.zkoss.zul.impl.XulElement
GoldenLayout.| Constructor and Description |
|---|
GoldenPanel() |
GoldenPanel(String area) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeParentChanged(org.zkoss.zk.ui.Component parent) |
protected void |
droppedTo(GoldenPanel dropTarget,
String region) |
protected void |
droppedToRoot(String region) |
boolean |
evalCSSFlex() |
String |
getArea() |
Map<String,Integer> |
getLocation()
Returns the location x0, x1, y0, y1 in the GoldenLayout areas layout matrix of this GoldenPanel.
|
org.zkoss.zk.ui.sys.PropertyAccess |
getPropertyAccess(String prop) |
String |
getTitle()
Returns the title on the tab of the GoldenPanel.
|
boolean |
isClosable()
Returns whether this panel is closable.
|
boolean |
isDraggable()
Returns whether the GoldenPanel should be draggable.
|
boolean |
isDroppable()
Returns whether the stack of this GoldenPanel is droppable by other GoldenPanel.
|
void |
onClose() |
void |
onInitMatrix() |
protected void |
renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) |
void |
service(org.zkoss.zk.au.AuRequest request,
boolean everError) |
void |
setArea(String area)
Sets the area of this GoldenPanel, use to represent the area of this panel on initial rendering.
|
void |
setClosable(boolean closable)
Sets whether this panel is closable.
|
void |
setDraggable(boolean draggable)
Sets whether the GoldenPanel should be draggable or not.
|
void |
setDroppable(boolean droppable)
Sets whether the whole stack of this GoldenPanel is droppable by other GoldenPanel.
|
void |
setHeight(String height)
Not supported, use vflex instead.
|
void |
setHflex(String flex) |
protected void |
setHflexDirectly(String flex) |
void |
setTitle(String title)
Sets the title to the tab of the GoldenPanel.
|
void |
setVflex(String flex) |
protected void |
setVflexDirectly(String flex) |
void |
setWidth(String width)
Not supported, use hflex instead.
|
clone, getContext, getCtrlKeys, getPopup, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributesaddSclass, focus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZindex, getZIndex, removeSclass, removeSclass, setAction, setClass, setDraggable, setDroppable, setFocus, setHeight0, setHeightDirectly, setHflex0, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTabindex, setTabindex, setTooltiptext, setTop, setTopDirectly, setVflex0, setWidth0, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectlyaddAnnotation, addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, 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, insertBefore, invalidate, invalidatePartial, isChildable, isInitialized, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, 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, willSerializepublic GoldenPanel()
public GoldenPanel(String area)
public void onInitMatrix()
public String getArea()
public void setArea(String area)
area - of this GoldenPanelpublic void setWidth(String width)
setWidth in class org.zkoss.zk.ui.HtmlBasedComponentpublic void setHeight(String height)
setHeight in class org.zkoss.zk.ui.HtmlBasedComponentprotected void setVflexDirectly(String flex)
setVflexDirectly in class org.zkoss.zk.ui.HtmlBasedComponentpublic void setVflex(String flex)
setVflex in class org.zkoss.zk.ui.HtmlBasedComponentprotected void setHflexDirectly(String flex)
setHflexDirectly in class org.zkoss.zk.ui.HtmlBasedComponentpublic void setHflex(String flex)
setHflex in class org.zkoss.zk.ui.HtmlBasedComponentpublic String getTitle()
public void setTitle(String title)
title - public boolean isDraggable()
Note that this method overwrites the normal action of zk isDraggable. Draggable true doesn't performs the normal zk draggable action, but only the GoldenPanel tabs are draggable.
public void setDraggable(boolean draggable)
Note that this method overwrites the normal action of zk setDraggable. Setting true doesn't performs the normal zk draggable action, but only the GoldenPanel tabs are draggable.
draggable - public boolean isDroppable()
public void setDroppable(boolean droppable)
droppable - public boolean isClosable()
public void setClosable(boolean closable)
closable - public void onClose()
public void beforeParentChanged(org.zkoss.zk.ui.Component parent)
beforeParentChanged in interface org.zkoss.zk.ui.sys.ComponentCtrlbeforeParentChanged in class org.zkoss.zk.ui.AbstractComponentprotected void droppedToRoot(String region)
protected void droppedTo(GoldenPanel dropTarget, String region)
public Map<String,Integer> getLocation()
protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer)
throws IOException
renderProperties in class org.zkoss.zul.impl.XulElementIOExceptionpublic void service(org.zkoss.zk.au.AuRequest request,
boolean everError)
service in interface org.zkoss.zk.ui.sys.ComponentCtrlservice in class org.zkoss.zk.ui.HtmlBasedComponentpublic org.zkoss.zk.ui.sys.PropertyAccess getPropertyAccess(String prop)
getPropertyAccess in interface org.zkoss.zk.ui.sys.ComponentCtrlgetPropertyAccess in class org.zkoss.zul.impl.XulElementpublic boolean evalCSSFlex()
evalCSSFlex in class org.zkoss.zk.ui.HtmlBasedComponentCopyright © 2026. All rights reserved.