Class AbstractDragDropBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.hippoecm.frontend.plugins.yui.AbstractYuiAjaxBehavior
org.hippoecm.frontend.plugins.yui.dragdrop.AbstractDragDropBehavior
- All Implemented Interfaces:
Serializable
,org.apache.wicket.IComponentAwareEventSink
,org.apache.wicket.IRequestListener
,org.apache.wicket.markup.html.IComponentAwareHeaderContributor
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
DragBehavior
,DropBehavior
- See Also:
-
Field Summary
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addHeaderContribution
(IYuiContext context) Override this method to get access to the IYuiContextprotected abstract String
Specify the clientside class that is used as the DragDropModelprotected Class<? extends org.apache.wicket.behavior.Behavior>
Return a class from the same package as the javascript file you want to loadprotected abstract String
Provide the name of the javascript file that should be loaded on the clientvoid
renderHead
(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response) Don't call super since WicketAjax is loaded by Yui webapp behavior TODO: webapp ajax is configurable, maybe check here and still load it.Methods inherited from class org.hippoecm.frontend.plugins.yui.AbstractYuiAjaxBehavior
onRenderHead, updateAjaxAttributes, updateAjaxSettings
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, respond
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
Field Details
-
settings
-
-
Constructor Details
-
AbstractDragDropBehavior
-
-
Method Details
-
addHeaderContribution
Description copied from class:AbstractYuiAjaxBehavior
Override this method to get access to the IYuiContext- Overrides:
addHeaderContribution
in classAbstractYuiAjaxBehavior
- Parameters:
context
- The IYuiContext this behavior can use to register YUI-modules and the likes.
-
renderHead
public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response) Description copied from class:AbstractYuiAjaxBehavior
Don't call super since WicketAjax is loaded by Yui webapp behavior TODO: webapp ajax is configurable, maybe check here and still load it.- Specified by:
renderHead
in interfaceorg.apache.wicket.markup.html.IComponentAwareHeaderContributor
- Overrides:
renderHead
in classAbstractYuiAjaxBehavior
-
getHeaderContributorClass
Return a class from the same package as the javascript file you want to load- Returns:
- Class from the same package as the javascript file you want to load
-
getHeaderContributorFilename
Provide the name of the javascript file that should be loaded on the client- Returns:
- Filename of the javascript
-
getClientSideClassname
Specify the clientside class that is used as the DragDropModel
-