Package org.zkoss.stateless.ui
Class BuildContext<I extends IComponent>
java.lang.Object
org.zkoss.stateless.ui.BuildContext<I>
A build context to hold the necessary meta info when building components.
- Author:
- jumperchen
-
Method Summary
Modifier and TypeMethodDescriptiongetOwner()Returns the owner component of the build context, if any.static <I extends IComponent>
BuildContext<I>newInstance(I owner) Creates a simple build context with the given immutable component.
-
Method Details
-
getOwner
Returns the owner component of the build context, if any.- Returns:
- null if the build content is not associated into a component.
-
newInstance
Creates a simple build context with the given immutable component.- Parameters:
owner- the immutable component
-