public class JQueryEffectContainer
extends org.apache.wicket.markup.html.WebMarkupContainer
WebMarkupContainer on which effect can be played| Constructor and Description |
|---|
JQueryEffectContainer(java.lang.String id)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
hide(org.apache.wicket.ajax.AjaxRequestTarget target)
Hides the container by playing the 'fadeOut' effect.
|
boolean |
isCallbackEnabled()
Indicates whether the callback should be triggered when the effect completes.
If true, the onEffectComplete(AjaxRequestTarget) event will be triggered. |
protected JQueryEffectBehavior |
newEffectBehavior(java.lang.String selector)
Gets a new
JQueryEffectBehavior |
protected void |
onConfigure(JQueryEffectBehavior behavior)
Called immediately after the onConfigure method in a behavior.
|
void |
onEffectComplete(org.apache.wicket.ajax.AjaxRequestTarget target)
Triggered when the effects is completed
|
protected void |
onInitialize() |
void |
play(org.apache.wicket.ajax.AjaxRequestTarget target,
Effect effect) |
void |
play(org.apache.wicket.ajax.AjaxRequestTarget target,
java.lang.String effect)
Plays the specified effect.
|
void |
show(org.apache.wicket.ajax.AjaxRequestTarget target)
Shows the container by playing the 'fadeIn' effect.
|
getWebPage, getWebRequest, getWebResponse, getWebSessionadd, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onDetach, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrappublic JQueryEffectContainer(java.lang.String id)
id - the markup idpublic boolean isCallbackEnabled()
onEffectComplete(AjaxRequestTarget) event will be triggered.public void play(org.apache.wicket.ajax.AjaxRequestTarget target,
Effect effect)
public void play(org.apache.wicket.ajax.AjaxRequestTarget target,
java.lang.String effect)
target - the AjaxRequestTargeteffect - the effect to be playedpublic void show(org.apache.wicket.ajax.AjaxRequestTarget target)
target - the AjaxRequestTargetpublic void hide(org.apache.wicket.ajax.AjaxRequestTarget target)
target - the AjaxRequestTargetprotected void onInitialize()
onInitialize in class org.apache.wicket.Componentprotected void onConfigure(JQueryEffectBehavior behavior)
Options)behavior - the JQueryBehaviorpublic void onEffectComplete(org.apache.wicket.ajax.AjaxRequestTarget target)
target - the AjaxRequestTargetisCallbackEnabled()protected JQueryEffectBehavior newEffectBehavior(java.lang.String selector)
JQueryEffectBehaviorselector - Copyright © 2014 7thWeb. All Rights Reserved.