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

java.lang.Object
  extended by org.wicketstuff.yui.markup.html.anim.AnimSettings
All Implemented Interfaces:
Serializable

public class AnimSettings
extends Object
implements Serializable

An AnimSettings allows the user to define the anim select settings

Author:
cptan
See Also:
Serialized Form

Constructor Summary
AnimSettings()
          Creates an AnimSettings
 
Method Summary
 List<AnimOption> getAnimOptionList()
          Set the AnimSelectOptionList
static AnimSettings getDefault(String easing, double duration, int maxSelection, List<AnimOption> animOptionList)
          Get the default settings
static AnimSettings getDefault(String easing, double duration, int maxSelection, String message, List<AnimOption> animOptionList)
          Get the default settings
 List<CSSInlineStyle> getDefaultImgOverStyleList()
          Get the default mouseover image style list
 List<CSSInlineStyle> getDefaultImgStyleList()
          Get the default image style list
 double getDuration()
          Get the duration
 String getEasing()
          Get the easing effect
 int getHeight()
          Get the height
 int getMaxSelection()
          Get the maximum selection allowed
 String getMessage()
          Get the message
 List<CSSInlineStyle> getSelectedImgOverStyleList()
          Get the selected mouseover image style list
 List<CSSInlineStyle> getSelectedImgStyleList()
          Get the selected image style list
 int getWidth()
          Get the width
 void setAnimOptionList(List<AnimOption> animOptionList)
          Set the AnimOptionList
 void setDefaultImgOverStyleList(List<CSSInlineStyle> defaultImgOverStyleList)
          Set the default mouseover image style list
 void setDefaultImgStyleList(List<CSSInlineStyle> defaultImgStyleList)
          Set the default image style list
 void setDuration(double duration)
          Set the duration
 void setEasing(String easing)
          Set the easing effects
 void setHeight(int height)
          Set the height
 void setImageResources(List<AnimOption> animOptionList)
          Set the image resources
 void setMaxSelection(int maxSelection)
          Set the maximum selection allowed
 void setMessage(String message)
          Set the message
 void setResources(String easing, double duration, int maxSelection, List<AnimOption> animOptionList)
          Set the resources
 void setResources(String easing, double duration, int maxSelection, String message, List<AnimOption> animOptionList)
          Set the resources
 void setSelectedImgOverStyleList(List<CSSInlineStyle> selectedImgOverStyleList)
          Set the selected mouseover image style list
 void setSelectedImgStyleList(List<CSSInlineStyle> selectedImgStyleList)
          Set the selected image style list
 void setWidth(int width)
          Set the width
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimSettings

public AnimSettings()
Creates an AnimSettings

Method Detail

getDefault

public static AnimSettings getDefault(String easing,
                                      double duration,
                                      int maxSelection,
                                      List<AnimOption> animOptionList)
Get the default settings

Parameters:
easing - - the easing effect of the animation
duration - - the duration of the animation
maxSelection - - the maximum selection allowed
animSelectOptionList - - a list of the animOptions
Returns:
the default settings

setResources

public void setResources(String easing,
                         double duration,
                         int maxSelection,
                         List<AnimOption> animOptionList)
Set the resources

Parameters:
easing - - the easing effect of the animation
duration - - the duration of the animation
maxSelection - - the maximum selection allowed
animSelectGroupOption - - a list of the animOptions

getDefault

public static AnimSettings getDefault(String easing,
                                      double duration,
                                      int maxSelection,
                                      String message,
                                      List<AnimOption> animOptionList)
Get the default settings

Parameters:
easing - - the easing effect of the animation
duration - - the duration of the animation
maxSelection - - the maximum selection allowed
message - - the message to display if reach the maximum selection
animSelectOptionList - - a list of the animOptions
Returns:
the default settings

setResources

public void setResources(String easing,
                         double duration,
                         int maxSelection,
                         String message,
                         List<AnimOption> animOptionList)
Set the resources

Parameters:
easing - - the easing effect of the animation
duration - - the duration of the animation
maxSelection - - the maximum selection allowed
message - - the message to display if reach the maximum selection
animSelectOptionList - - a list of the animOptions

setImageResources

public void setImageResources(List<AnimOption> animOptionList)
Set the image resources

Parameters:
animOptionList - - a list of the animOptions

getAnimOptionList

public List<AnimOption> getAnimOptionList()
Set the AnimSelectOptionList

Returns:
a list of the animOptions

setAnimOptionList

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

Parameters:
animOptionList - - a new list of the animOptions

getDuration

public double getDuration()
Get the duration

Returns:
the duration

setDuration

public void setDuration(double duration)
Set the duration

Parameters:
duration - - the new duration

getEasing

public String getEasing()
Get the easing effect

Returns:
the easing effect

setEasing

public void setEasing(String easing)
Set the easing effects

Parameters:
easing - - the new easing effect

getMaxSelection

public int getMaxSelection()
Get the maximum selection allowed

Returns:
the maximum selection allowed

setMaxSelection

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

Parameters:
maxSelection - - the new maximum selection allowed

getMessage

public String getMessage()
Get the message

Returns:
the message

setMessage

public void setMessage(String message)
Set the message

Parameters:
message - - the new message

getDefaultImgOverStyleList

public List<CSSInlineStyle> getDefaultImgOverStyleList()
Get the default mouseover image style list

Returns:
the default mouseover image style list

setDefaultImgOverStyleList

public void setDefaultImgOverStyleList(List<CSSInlineStyle> defaultImgOverStyleList)
Set the default mouseover image style list

Parameters:
defaultImgOverStyleList - - the new default mouseover image style list

getDefaultImgStyleList

public List<CSSInlineStyle> getDefaultImgStyleList()
Get the default image style list

Returns:
the default image style list

setDefaultImgStyleList

public void setDefaultImgStyleList(List<CSSInlineStyle> defaultImgStyleList)
Set the default image style list

Parameters:
defaultImgStyleList - - set the new default image style list

getSelectedImgOverStyleList

public List<CSSInlineStyle> getSelectedImgOverStyleList()
Get the selected mouseover image style list

Returns:
the selected mouseover image style list

setSelectedImgOverStyleList

public void setSelectedImgOverStyleList(List<CSSInlineStyle> selectedImgOverStyleList)
Set the selected mouseover image style list

Parameters:
selectedImgOverStyleList - - the new selected mouseover image style list

getSelectedImgStyleList

public List<CSSInlineStyle> getSelectedImgStyleList()
Get the selected image style list

Returns:
the selected image style list

setSelectedImgStyleList

public void setSelectedImgStyleList(List<CSSInlineStyle> selectedImgStyleList)
Set the selected image style list

Parameters:
selectedImgStyleList - - the new selected image style list

getHeight

public int getHeight()
Get the height

Returns:
the height

setHeight

public void setHeight(int height)
Set the height

Parameters:
height - - the new height

getWidth

public int getWidth()
Get the width

Returns:
the width

setWidth

public void setWidth(int width)
Set the width

Parameters:
width - - the new width


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