Package org.zkoss.stateless.ui.util
Class ActionHelper
- java.lang.Object
-
- org.zkoss.stateless.ui.util.ActionHelper
-
public class ActionHelper extends java.lang.Object
A helper class forAction
- Author:
- jumperchen
-
-
Constructor Summary
Constructors Constructor Description ActionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
wireAction(StatelessComposer composer, IStubComponent iStubComponent)
Wires the method action handlers from the givencomposer
into each matched component, which is found by finding withAction.from()
.static void
wireAction(StatelessRichlet richlet, IStubComponent iStubComponent)
Wires the method action handlers from the givenrichlet
into each matched client widget.
-
-
-
Method Detail
-
wireAction
public static void wireAction(StatelessRichlet richlet, IStubComponent iStubComponent)
Wires the method action handlers from the givenrichlet
into each matched client widget.- Parameters:
richlet
- The lookup richletiStubComponent
- The root component(s) that's built byrichlet
'sRichletMapping
.
-
wireAction
public static void wireAction(StatelessComposer composer, IStubComponent iStubComponent)
Wires the method action handlers from the givencomposer
into each matched component, which is found by finding withAction.from()
.- Parameters:
composer
- The lookup composeriStubComponent
- The root component that's built bycomposer
.
-
-