Package org.zkoss.stateless.sul
Interface IAbsolutelayout
-
- All Superinterfaces:
IAnyGroup<IAbsolutelayout>,IChildable<IAbsolutelayout,IAbsolutechildren<IAnyGroup>>,IComponent<IAbsolutelayout>,IHtmlBasedComponent<IAbsolutelayout>,IXulElement<IAbsolutelayout>
public interface IAbsolutelayout extends IXulElement<IAbsolutelayout>, IAnyGroup<IAbsolutelayout>, IChildable<IAbsolutelayout,IAbsolutechildren<IAnyGroup>>
ImmutableAbsolutelayoutcomponentAn Absolutelayout component can contain absolute positioned multiple absolutechildren components.
Example
@RichletMapping("/example") public IComponent example() { return IAbsolutelayout.of(IAbsolutechildren.of(60, 100, IWindow.ofTitle("X=60, Y=100").withBorder("normal") .withChildren(ILabel.of("Window 1"))), IAbsolutechildren.of(160, 200, IWindow.ofTitle("X=160, Y=200").withBorder("normal") .withChildren(ILabel.of("Window 2"))), IAbsolutechildren.of(260, 300, IWindow.ofTitle("X=260, Y=300").withBorder("normal") .withChildren(ILabel.of("Window 3")))); } }- Author:
- katherine
- See Also:
Absolutelayout
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIAbsolutelayout.BuilderBuilds instances of typeIAbsolutelayout.static classIAbsolutelayout.UpdaterBuilds an updater of typeIAbsolutelayoutforUiAgent.smartUpdate(Locator, SmartUpdater).
-
Field Summary
Fields Modifier and Type Field Description static IAbsolutelayoutDEFAULTConstant for default attributes of this immutable component.
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.StringgetWidgetClass()Returns the client widget class.static IAbsolutelayoutof(java.lang.Iterable<? extends IAbsolutechildren<IAnyGroup>> children)Returns the instance with the givenIAbsolutechildrenchildren.static IAbsolutelayoutof(IAbsolutechildren<IAnyGroup>... children)Returns the instance with the givenIAbsolutechildrenchildren.static IAbsolutelayoutofId(java.lang.String id)Returns the instance with the given id.static IAbsolutelayoutofSize(java.lang.String width, java.lang.String height)Returns the instance with the given size, width and height.-
Methods inherited from interface org.zkoss.stateless.sul.IChildable
getChildren, withChildren, withChildren
-
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, withWidgetOverrides
-
Methods inherited from interface org.zkoss.stateless.sul.IHtmlBasedComponent
getClientAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZIndex, isFocus, withClientAction, withDraggable, withDroppable, withFocus, withHeight, withHflex, withLeft, withRenderdefer, withSclass, withStyle, withTabindex, withTabindex, withTooltiptext, withTop, withVflex, withWidth, withZclass, withZIndex
-
Methods inherited from interface org.zkoss.stateless.sul.IXulElement
getContext, getCtrlKeys, getPopup, getTooltip, withContext, withCtrlKeys, withPopup, withTooltip
-
-
-
-
Field Detail
-
DEFAULT
static final IAbsolutelayout DEFAULT
Constant for default attributes of this immutable component.
-
-
Method Detail
-
getWidgetClass
default java.lang.String getWidgetClass()
Returns the client widget class.Default:
"zul.layout.Absolutelayout"- Specified by:
getWidgetClassin interfaceIComponent<IAbsolutelayout>
-
of
static IAbsolutelayout of(java.lang.Iterable<? extends IAbsolutechildren<IAnyGroup>> children)
Returns the instance with the givenIAbsolutechildrenchildren.- Parameters:
children- The children ofIAbsolutechildren
-
of
static IAbsolutelayout of(IAbsolutechildren<IAnyGroup>... children)
Returns the instance with the givenIAbsolutechildrenchildren.- Parameters:
children- The children ofIAbsolutechildren
-
ofId
static IAbsolutelayout ofId(java.lang.String id)
Returns the instance with the given id.- Parameters:
id- The id to identify this component
-
ofSize
static IAbsolutelayout ofSize(java.lang.String width, java.lang.String height)
Returns the instance with the given size, width and height.- Parameters:
width- The width of the componentheight- The height of the component
-
-