org.wicketstuff.yui.markup.html.sort
Class SortSettings

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

public class SortSettings
extends Object
implements Serializable

A SortSettings allows the user to define the sort settings

Author:
cptan
See Also:
Serialized Form

Constructor Summary
SortSettings()
          Creates a SortSettings
 
Method Summary
static SortSettings getDefault(String mode, List<YuiImage> sortList)
          Get the default settings
 int getHeight()
          Get the height
 List<CSSInlineStyle> getImgStyleList()
          Get the image style list
 String getMode()
          Get the mode
 List<YuiImage> getSortList()
          Get the sort list
 int getWidth()
          Get the width
 void setHeight(int height)
          Set the height
 void setImageResources(List<YuiImage> sortList)
          Set the image resources
 void setImgStyleList(List<CSSInlineStyle> imgStyleList)
          Set the image style list
 void setMode(String mode)
          Set the mode
 void setResources(String mode, List<YuiImage> sortList)
          Set the resources
 void setSortList(List<YuiImage> sortList)
          Set the sort 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

SortSettings

public SortSettings()
Creates a SortSettings

Method Detail

getDefault

public static SortSettings getDefault(String mode,
                                      List<YuiImage> sortList)
Get the default settings

Parameters:
mode - - the mode of sorting
sortList - - a list of images
Returns:
the default settings

getHeight

public int getHeight()
Get the height

Returns:
the height

getImgStyleList

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

Returns:
the image style list

getMode

public String getMode()
Get the mode

Returns:
the mode

getSortList

public List<YuiImage> getSortList()
Get the sort list

Returns:
the sort list

getWidth

public int getWidth()
Get the width

Returns:
the width

setHeight

public void setHeight(int height)
Set the height

Parameters:
height - - the new height

setImageResources

public void setImageResources(List<YuiImage> sortList)
Set the image resources

Parameters:
sortList - - the new image resources

setImgStyleList

public void setImgStyleList(List<CSSInlineStyle> imgStyleList)
Set the image style list

Parameters:
imgStyleList - - the new image style list

setMode

public void setMode(String mode)
Set the mode

Parameters:
mode - - the new mode

setResources

public void setResources(String mode,
                         List<YuiImage> sortList)
Set the resources

Parameters:
mode - - the mode
sortList - - the list of images

setSortList

public void setSortList(List<YuiImage> sortList)
Set the sort list

Parameters:
sortList - - the new sort list

setWidth

public void setWidth(int width)
Set the width

Parameters:
width - - the new width


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