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.ExtraCtrl
AbstractComponent.Children
_zclass
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
AFTER_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 |
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, isSlide, isSplittable, onChildRemoved, renderProperties, service, setAutoscroll, setBorder, setFlex, setMargins, setSlide, setTitle
getContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributes
focus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, 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, setZIndexDirectly
addAnnotation, 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, 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, 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, willSerialize
public java.lang.String getZclass()
HtmlBasedComponent
AbstractComponent.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 LayoutRegion
HtmlBasedComponent.getSclass()
public void setCmargins(java.lang.String cmargins)
setCmargins
in class LayoutRegion
LayoutRegion.getCmargins()
,
LayoutRegion.getDefaultCmargins()
public void setSplittable(boolean splittable)
setSplittable
in class LayoutRegion
public void setOpen(boolean open)
setOpen
in class LayoutRegion
public void setCollapsible(boolean collapsible)
setCollapsible
in class LayoutRegion
public void setMaxsize(int maxsize)
setMaxsize
in class LayoutRegion
public void setMinsize(int minsize)
setMinsize
in class LayoutRegion
public java.lang.String getPosition()
Borderlayout.CENTER
.getPosition
in class LayoutRegion
Borderlayout.NORTH
,
Borderlayout.SOUTH
,
Borderlayout.EAST
,
Borderlayout.WEST
,
Borderlayout.CENTER
public void setHeight(java.lang.String height)
North
or South
).setHeight
in class HtmlBasedComponent
public void setWidth(java.lang.String width)
West
or East
).setWidth
in class HtmlBasedComponent
HtmlBasedComponent.setWidthDirectly(java.lang.String)
,
AbstractComponent.disableClientUpdate(boolean)
public boolean setVisible(boolean visible)
setVisible
in interface Component
setVisible
in class AbstractComponent
public java.lang.String getSize()
getSize
in class LayoutRegion
public void setSize(java.lang.String size)
setSize
in class LayoutRegion
protected int[] getDefaultCmargins()
getDefaultCmargins
in class LayoutRegion
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.