Class UnitPlugin
java.lang.Object
org.hippoecm.frontend.plugin.Plugin
org.hippoecm.frontend.plugins.yui.layout.UnitPlugin
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
,IPlugin
,IBehaviorService
Special purpose
Plugin
that allows us to add the behavior through configuration instead of adding it
in code to our component.
See IBehaviorService
and IPlugin
for more info.- See Also:
-
Field Summary
Fields inherited from interface org.hippoecm.frontend.service.IBehaviorService
ID, PATH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.wicket.behavior.Behavior
The behavior that should be added to the component at relative pathIBehaviorService.getComponentPath()
.Methods inherited from class org.hippoecm.frontend.plugin.Plugin
getPluginConfig, getPluginContext, start, stop
-
Constructor Details
-
UnitPlugin
-
-
Method Details
-
getComponentPath
- Specified by:
getComponentPath
in interfaceIBehaviorService
-
getBehavior
public org.apache.wicket.behavior.Behavior getBehavior()Description copied from interface:IBehaviorService
The behavior that should be added to the component at relative pathIBehaviorService.getComponentPath()
. Returned behaviors should implement#equals(Object)
and#hashCode()
such that multiple requests yield equivalent results.- Specified by:
getBehavior
in interfaceIBehaviorService
- Returns:
- the
Behavior
to be attached to the component.
-