Class AjaxClickEventBehavior
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.behavior.AbstractAjaxBehavior
-
- org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
- org.wicketstuff.twitter.behavior.ajax.AbstractAjaxTwitterEventBehavior
-
- org.wicketstuff.twitter.behavior.ajax.AjaxClickEventBehavior
-
- All Implemented Interfaces:
Serializable,IComponentAwareEventSink,IRequestListener,IComponentAwareHeaderContributor,IClusterable
public abstract class AjaxClickEventBehavior extends AbstractAjaxTwitterEventBehavior
https://dev.twitter.com/docs/intents/events#tweet
Supported by: Tweet Button & Follow Button
Receive an event when the user has clicked the Tweet Button or Follow Button.
The Event Object returned in your callback will respond to a region method returning a string with four possible states:"tweet" — the click occurred on the Tweet Button itself, invoking an Intent (which will trigger an Intent Event Callback when complete). "count" — the click occurred on the Tweet Count portion of the Tweet Button, resulting in navigation to a Twitter.com search experience. "follow" — the click occurred on the Follow Button itself, which may lead to an immediate follow event if the user already had an active Twitter session, or otherwise the invocation of the Follow Web Intent which may in turn also trigger a follow event. "screen_name" — the click occurred on the screen name portion of the Follow Button, resulting in the invoking of a User Intent pop-up. If the user chooses to follow from this pop-up, a follow event will be triggered.
- Author:
- Till Freier
- See Also:
Event.getRegion(), Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
-
-
Constructor Summary
Constructors Constructor Description AjaxClickEventBehavior()
-
Method Summary
-
Methods inherited from class org.wicketstuff.twitter.behavior.ajax.AbstractAjaxTwitterEventBehavior
appendUrlParamter, onEvent, renderHead, respond
-
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes
-
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
-
-