public class Center extends LayoutRegion
setSplittable(boolean), setOpen(boolean),
setCollapsible(boolean), setMaxsize(int),
setMinsize(int), setHeight(String),
setWidth(String), getSize(), setSize(String),
and setVisible(boolean).
Default getZclass(): z-center.
HtmlBasedComponent.ExtraCtrlAbstractComponent.Children_zclassAPPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPECE_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 |
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 |
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, isCollapsible, isFlex, isOpen, isSplittable, onChildRemoved, renderProperties, service, setAutoscroll, setBorder, setFlex, setMargins, setTitlegetContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltipfocus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, setAction, setClass, setDraggable, setDroppable, setFocus, setHeightDirectly, setHflex, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTooltiptext, setTop, setTopDirectly, setVflex, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectlyaddAnnotation, addAnnotation, 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, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, 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, getShadowRoots, 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, 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, willSerializepublic 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 LayoutRegionprotected int[] getDefaultCmargins()
getDefaultCmargins in class LayoutRegionCopyright © 2005-2011 Potix Corporation. All Rights Reserved.