org.wicketstuff.yui.markup.html.anim
Class AnimGroup

java.lang.Object
  extended by org.apache.wicket.Component
      extended by org.apache.wicket.MarkupContainer
          extended by org.apache.wicket.markup.html.WebMarkupContainer
              extended by org.wicketstuff.yui.markup.html.anim.AnimGroup
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, org.apache.wicket.IConverterLocator

public class AnimGroup
extends org.apache.wicket.markup.html.WebMarkupContainer

An AnimGroup groups the options

Author:
cptan
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wicket.Component
org.apache.wicket.Component.ComponentModelChange, org.apache.wicket.Component.EnabledChange, org.apache.wicket.Component.IVisitor<T extends org.apache.wicket.Component>, org.apache.wicket.Component.VisibilityChange
 
Field Summary
 
Fields inherited from class org.apache.wicket.Component
ENABLE, FLAG_CONFIGURED, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED6, FLAG_RESERVED7, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER
 
Constructor Summary
AnimGroup(String id, AnimSettings settings, org.apache.wicket.markup.html.form.FormComponent element)
          Creates an AnimGroup
 
Method Summary
 List<AnimOption> getAnimOptionList()
          Get the animOptionList
 double getDuration()
          Get the duration
 String getEasing()
          Get the easing
protected  String getJavaScriptComponentInitializationScript()
          Initialize the init.js which is shared among a group of options
 String getJavaScriptId()
          Get the JavaScriptId
 int getMaxSelection()
          Get the maximum selection allowed
 String getSelectedValues()
          Get the selected values
protected  void onBeforeRender()
          Get the markup Id on attach
protected  void onComponentTagBody(org.apache.wicket.markup.MarkupStream markupStream, org.apache.wicket.markup.ComponentTag openTag)
           
 void setAnimOptionList(List<AnimOption> animOptionList)
          Set the animOptionList
 void setDuration(double duration)
          Set the duration
 void setEasing(String easing)
          Set the easing
 void setJavaScriptId(String javaScriptId)
          Set the javaScriptId
 void setMaxSelection(int maxSelection)
          Set the maximum selections allowed
 void setSelectedValues(String selectedValues)
          Set the selected values
 
Methods inherited from class org.apache.wicket.markup.html.WebMarkupContainer
getMarkupType, getWebPage, getWebRequest
 
Methods inherited from class org.apache.wicket.MarkupContainer
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onAfterRenderChildren, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren
 
Methods inherited from class org.apache.wicket.Component
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeginRequest, onComponentTag, onConfigure, onDetach, onEndRequest, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnimGroup

public AnimGroup(String id,
                 AnimSettings settings,
                 org.apache.wicket.markup.html.form.FormComponent element)
Creates an AnimGroup

Parameters:
id - - wicket id
settings - - defines the animation settings
element - - component to contains the selected options
Method Detail

getAnimOptionList

public List<AnimOption> getAnimOptionList()
Get the animOptionList

Returns:
the animOptionList

getDuration

public double getDuration()
Get the duration

Returns:
the duration

getEasing

public String getEasing()
Get the easing

Returns:
the easing

getJavaScriptId

public String getJavaScriptId()
Get the JavaScriptId

Returns:
the javaScriptId

getMaxSelection

public int getMaxSelection()
Get the maximum selection allowed

Returns:
the maxSelection

getSelectedValues

public String getSelectedValues()
Get the selected values

Returns:
the selectedValues

setAnimOptionList

public void setAnimOptionList(List<AnimOption> animOptionList)
Set the animOptionList

Parameters:
animOptionList - the animOptionList to set

setDuration

public void setDuration(double duration)
Set the duration

Parameters:
duration - the duration to set

setEasing

public void setEasing(String easing)
Set the easing

Parameters:
easing - the easing to set

setJavaScriptId

public void setJavaScriptId(String javaScriptId)
Set the javaScriptId

Parameters:
javaScriptId - the javaScriptId to set

setMaxSelection

public void setMaxSelection(int maxSelection)
Set the maximum selections allowed

Parameters:
maxSelection - the maxSelection to set

setSelectedValues

public void setSelectedValues(String selectedValues)
Set the selected values

Parameters:
selectedValues - the selectedValues to set

getJavaScriptComponentInitializationScript

protected String getJavaScriptComponentInitializationScript()
Initialize the init.js which is shared among a group of options

Returns:
a String representation of the init.js

onBeforeRender

protected void onBeforeRender()
Get the markup Id on attach

Overrides:
onBeforeRender in class org.apache.wicket.Component

onComponentTagBody

protected void onComponentTagBody(org.apache.wicket.markup.MarkupStream markupStream,
                                  org.apache.wicket.markup.ComponentTag openTag)
Overrides:
onComponentTagBody in class org.apache.wicket.MarkupContainer


Copyright © 2006-2012 Wicket developers. All Rights Reserved.