org.odlabs.wiquery.ui.draggable
Class DraggableHelper

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

public class DraggableHelper
extends Object
implements IComplexOption

$Id: DraggableHelper.java

Bean for the helper option for the Draggable behavior

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

Nested Class Summary
static class DraggableHelper.HelperEnum
           
 
Field Summary
static DraggableHelper CLONE
          Clone helper
static DraggableHelper ORIGINAL
          Original helper
 
Constructor Summary
DraggableHelper(DraggableHelper.HelperEnum helperEnumParam)
          Constructor
DraggableHelper(JsScope functionParam)
          Constructor
 
Method Summary
 JsScope getFunctionParam()
           
 DraggableHelper.HelperEnum getHelperEnumParam()
           
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 void setFunctionParam(JsScope functionParam)
          Set's the function parameter
 void setHelperEnumParam(DraggableHelper.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
 

Field Detail

CLONE

public static final DraggableHelper CLONE
Clone helper


ORIGINAL

public static final DraggableHelper ORIGINAL
Original helper

Constructor Detail

DraggableHelper

public DraggableHelper(DraggableHelper.HelperEnum helperEnumParam)
Constructor

Parameters:
helperEnumParam - HelperEnum parameter

DraggableHelper

public DraggableHelper(JsScope functionParam)
Constructor

Parameters:
functionParam - Function parameter
Method Detail

getHelperEnumParam

public DraggableHelper.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(DraggableHelper.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.