public class Center extends LayoutRegion
setSplittable(boolean), setOpen(boolean),
setCollapsible(boolean), setMaxsize(int),
setMinsize(int), setHeight(String),
setWidth(String), getSize(), setSize(String),
setSlide(boolean), setSlidable(boolean), setClosable(boolean)
and setVisible(boolean).
Default getZclass(): z-center.
HtmlBasedComponent.ExtraCtrlAbstractComponent.Children_zclassAPPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPEAFTER_CHILD_ADDED, AFTER_CHILD_REMOVED, AFTER_PAGE_ATTACHED, AFTER_PAGE_DETACHED, CE_BUSY_IGNORE, CE_DUPLICATE_IGNORE, CE_IMPORTANT, CE_NON_DEFERRABLE, CE_REPEAT_IGNORE| Constructor and Description |
|---|
Center() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
getDefaultCmargins()
Returns the default collapsed margin ([3, 3, 3, 3]).
|
java.lang.String |
getPosition()
Returns
Borderlayout.CENTER. |
java.lang.String |
getSize()
The size can't be returned in this component.
|
java.lang.String |
getZclass()
Returns the ZK Cascading Style class(es) for this component.
|
void |
setClosable(boolean closable)
Center region can't be closed.
|
void |
setCmargins(java.lang.String cmargins)
Center region can't be enabled the collapsed margin functionality.
|
void |
setCollapsible(boolean collapsible)
Center region can't be enabled the collapse functionality.
|
void |
setHeight(java.lang.String height)
|
void |
setMaxsize(int maxsize)
Center region can't be enabled the maxsize.
|
void |
setMinsize(int minsize)
Center region can't be enabled the minsize.
|
void |
setOpen(boolean open)
Center region can't be closed.
|
void |
setSize(java.lang.String size)
The size can't be specified in this component.
|
void |
setSlidable(boolean slidable)
Center region can't be slided.
|
void |
setSlide(boolean slide)
Center region can't be slided.
|
void |
setSplittable(boolean splittable)
Center region can't be enabled the split functionality.
|
boolean |
setVisible(boolean visible)
This component can't be hidden.
|
void |
setWidth(java.lang.String width)
|
beforeChildAdded, beforeParentChanged, clone, getBorder, getCaption, getCmargins, getMargins, getMaxsize, getMinsize, getTitle, insertBefore, isAutoscroll, isClosable, isCollapsible, isFlex, isOpen, isSlidable, isSlide, isSplittable, onChildRemoved, renderProperties, service, setAutoscroll, setBorder, setFlex, setMargins, setTitlegetContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributesaddSclass, evalCSSFlex, focus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, removeSclass, removeSclass, setAction, setClass, setDraggable, setDroppable, setFocus, setHeight0, setHeightDirectly, setHflex, setHflex0, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTabindex, setTabindex, setTooltiptext, setTop, setTopDirectly, setVflex, setVflex0, setVflexDirectly, setWidth0, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectlyaddAnnotation, addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, 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, invalidate, invalidatePartial, isChildable, isInitialized, 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, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerializeequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinvalidatePartialpublic java.lang.String getZclass()
HtmlBasedComponentAbstractComponent.getMold()).
Default: null (the default value depends on element).
HtmlBasedComponent.setZclass(java.lang.String)) will completely replace the default style
of a component. In other words, the default style of a component
is associated with the default value of HtmlBasedComponent.getZclass().
Once it is changed, the default style won't be applied at all.
If you want to perform small adjustments, use HtmlBasedComponent.setSclass(java.lang.String)
instead.
getZclass in class LayoutRegionHtmlBasedComponent.getSclass()public void setCmargins(java.lang.String cmargins)
setCmargins in class LayoutRegionLayoutRegion.getCmargins(),
LayoutRegion.getDefaultCmargins()public void setSplittable(boolean splittable)
setSplittable in class LayoutRegionpublic void setOpen(boolean open)
setOpen in class LayoutRegionpublic void setCollapsible(boolean collapsible)
setCollapsible in class LayoutRegionpublic void setMaxsize(int maxsize)
setMaxsize in class LayoutRegionpublic void setMinsize(int minsize)
setMinsize in class LayoutRegionpublic java.lang.String getPosition()
Borderlayout.CENTER.getPosition in class LayoutRegionBorderlayout.NORTH,
Borderlayout.SOUTH,
Borderlayout.EAST,
Borderlayout.WEST,
Borderlayout.CENTERpublic void setHeight(java.lang.String height)
North or South).setHeight in class HtmlBasedComponentpublic void setWidth(java.lang.String width)
West or East).setWidth in class HtmlBasedComponentHtmlBasedComponent.setWidthDirectly(java.lang.String),
AbstractComponent.disableClientUpdate(boolean)public boolean setVisible(boolean visible)
setVisible in interface ComponentsetVisible in class AbstractComponentpublic java.lang.String getSize()
getSize in class LayoutRegionpublic void setSize(java.lang.String size)
setSize in class LayoutRegionpublic void setSlide(boolean slide)
setSlide in class LayoutRegionpublic void setSlidable(boolean slidable)
setSlidable in class LayoutRegionslidable - whether users can slide (preview) the region.public void setClosable(boolean closable)
setClosable in class LayoutRegionclosable - whether users can open or close the region.protected int[] getDefaultCmargins()
getDefaultCmargins in class LayoutRegionCopyright © 2005-2024 Potix Corporation. All Rights Reserved.