org.odlabs.wiquery.ui.sortable
Class SortableHelper

java.lang.Object
  extended by org.odlabs.wiquery.ui.sortable.SortableHelper
All Implemented Interfaces:
Serializable, IComplexOption

public class SortableHelper
extends Object
implements IComplexOption

$Id$

Bean for the helper option for the Sortable behavior

Since:
1.1
Author:
Julien Roche
See Also:
Serialized Form

Nested Class Summary
static class SortableHelper.HelperEnum
           
 
Constructor Summary
SortableHelper(JsScope functionParam)
          Constructor
SortableHelper(SortableHelper.HelperEnum helperEnumParam)
          Constructor
 
Method Summary
 JsScope getFunctionParam()
           
 SortableHelper.HelperEnum getHelperEnumParam()
           
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 void setFunctionParam(JsScope functionParam)
          Set's the function parameter
 void setHelperEnumParam(SortableHelper.HelperEnum helperEnumParam)
          Set's the HelperEnum parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortableHelper

public SortableHelper(SortableHelper.HelperEnum helperEnumParam)
Constructor

Parameters:
helperEnumParam - HelperEnum parameter

SortableHelper

public SortableHelper(JsScope functionParam)
Constructor

Parameters:
functionParam - Function parameter
Method Detail

getHelperEnumParam

public SortableHelper.HelperEnum getHelperEnumParam()
Returns:
the helperEnumParam

getFunctionParam

public JsScope getFunctionParam()
Returns:
the functionParam

getJavascriptOption

public CharSequence getJavascriptOption()
Description copied from interface: IComplexOption
Method retrieving the javascript representation of this complex option

Specified by:
getJavascriptOption in interface IComplexOption
Returns:
the javascript

setHelperEnumParam

public void setHelperEnumParam(SortableHelper.HelperEnum helperEnumParam)
Set's the HelperEnum parameter

Parameters:
helperEnumParam - the HelperEnum to set

setFunctionParam

public void setFunctionParam(JsScope functionParam)
Set's the function parameter

Parameters:
functionParam - the JsScope to set


Copyright © 2012. All Rights Reserved.