Package org.zkoss.stateless.sul
Interface INorth<I extends IAnyGroup>
- All Superinterfaces:
IComponent<INorth<I>>,IHtmlBasedComponent<INorth<I>>,ILayoutRegion<INorth<I>>,ISingleChildable<INorth<I>,,I> IXulElement<INorth<I>>
public interface INorth<I extends IAnyGroup>
extends ILayoutRegion<INorth<I>>, ISingleChildable<INorth<I>,I>
Immutable
North component
A north region of a border layout.
- Author:
- katherine
- See Also:
-
North
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classINorth.Builder<I extends IAnyGroup>Builds instances of typeINorth.static classBuilds an updater of typeINorthforUiAgent.smartUpdate(Locator, SmartUpdater).Nested classes/interfaces inherited from interface org.zkoss.stateless.sul.ILayoutRegion
ILayoutRegion.Border -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the collapsed margins, which is a list of numbers separated by comma.default StringgetSize()Returns the size of this region.default StringReturns the client widget class.of(I child) Return the instance with the given child.Returns the instance with the given id.withCmargins(String cmargins) Returns a copy ofthisimmutable component with the specifiedcmargins.Returns a copy ofthisimmutable component with the specifiedsize.Methods inherited from interface org.zkoss.stateless.sul.IComponent
getAction, getActions, getClientAttributes, getId, getMold, getWidgetListeners, getWidgetOverrides, isVisible, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withAction, withActions, withActions, withClientAttribute, withClientAttributes, withId, withMold, withVisible, withWidgetClass, withWidgetListener, withWidgetListeners, withWidgetOverride, withWidgetOverridesMethods inherited from interface org.zkoss.stateless.sul.IHtmlBasedComponent
getClientAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getSkeleton, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withHflex, withLeft, withRenderdefer, withSclass, withSkeleton, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withWidth, withZclass, withZIndexMethods inherited from interface org.zkoss.stateless.sul.ILayoutRegion
getBorder, getMargins, getMaxsize, getMinsize, getTitle, isAutoscroll, isClosable, isCollapsible, isNativeScrollbar, isOpen, isSlidable, isSlide, isSplittable, withAutoscroll, withBorder, withBorder, withClosable, withCollapsible, withMargins, withMaxsize, withMinsize, withNativeScrollbar, withOpen, withSlidable, withSlide, withSplittable, withTitleMethods inherited from interface org.zkoss.stateless.sul.ISingleChildable
getChild, withChildMethods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
Field Details
-
DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Details
-
getWidgetClass
Returns the client widget class.Default:
"zul.layout.North"- Specified by:
getWidgetClassin interfaceIComponent<I extends IAnyGroup>
-
getSize
Returns the size of this region. This method is shortcut forIHtmlBasedComponent.getHeight(). -
withSize
Returns a copy ofthisimmutable component with the specifiedsize.This method is shortcut for
IHtmlBasedComponent.withHeight(String).- Parameters:
size- The height of the component.Default:
null- Returns:
- A modified copy of the
thisobject
-
getCmargins
Returns the collapsed margins, which is a list of numbers separated by comma.Default:
"3,0,0,3" -
withCmargins
Returns a copy ofthisimmutable component with the specifiedcmargins.Sets the collapsed margins for the component "0,1,2,3" that direction is "top,left,right,bottom"
- Parameters:
cmargins- The collapsed margins for the componentDefault:
"3,0,0,3"- Returns:
- A modified copy of the
thisobject
-
of
Return the instance with the given child.- Parameters:
child- The child from any group
-
ofId
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-