Class WidgetBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.hippoecm.frontend.plugins.yui.AbstractYuiBehavior
-
- org.hippoecm.frontend.plugins.yui.widget.WidgetBehavior
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
DataTableBehavior
,TreeWidgetBehavior
public class WidgetBehavior extends AbstractYuiBehavior
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WidgetBehavior()
WidgetBehavior(WidgetSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHeaderContribution(IYuiContext context)
Override this method to get access to the IYuiContextvoid
bind(org.apache.wicket.Component component)
String
execWidgetFunction(String function)
String
getMarkupId()
protected WidgetTemplate
getTemplate()
String
getUpdateScript()
-
Methods inherited from class org.hippoecm.frontend.plugins.yui.AbstractYuiBehavior
getComponent, onRenderHead, renderHead
-
-
-
-
Constructor Detail
-
WidgetBehavior
public WidgetBehavior()
-
WidgetBehavior
public WidgetBehavior(WidgetSettings settings)
-
-
Method Detail
-
bind
public void bind(org.apache.wicket.Component component)
- Overrides:
bind
in classAbstractYuiBehavior
-
addHeaderContribution
public void addHeaderContribution(IYuiContext context)
Description copied from class:AbstractYuiBehavior
Override this method to get access to the IYuiContext- Overrides:
addHeaderContribution
in classAbstractYuiBehavior
- Parameters:
context
- The IYuiContext this behavior can use to register YUI-modules and the likes.
-
getMarkupId
public String getMarkupId()
-
getUpdateScript
public String getUpdateScript()
-
getTemplate
protected WidgetTemplate getTemplate()
-
-