public class WireframePlugin extends Plugin implements IBehaviorService
Plugin
that allows us to add the behavior through configuration instead of adding it
in code to our component.
See IBehaviorService
for info how to configure this.ID, PATH
Constructor and Description |
---|
WireframePlugin(IPluginContext context,
IPluginConfig config) |
Modifier and Type | Method and Description |
---|---|
org.apache.wicket.behavior.Behavior |
getBehavior()
The behavior that should be added to the component at relative path
IBehaviorService.getComponentPath() . |
String |
getComponentPath() |
getPluginConfig, getPluginContext, start, stop
public WireframePlugin(IPluginContext context, IPluginConfig config)
public String getComponentPath()
getComponentPath
in interface IBehaviorService
public org.apache.wicket.behavior.Behavior getBehavior()
IBehaviorService
IBehaviorService.getComponentPath()
.
Returned behaviors should implement #equals(Object)
and #hashCode()
such that
multiple requests yield equivalent results.getBehavior
in interface IBehaviorService
Behavior
to be attached to the component.Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.