org.odlabs.wiquery.ui.droppable
Class DroppableAccept

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

public class DroppableAccept
extends Object
implements IComplexOption

$Id: DroppableAccept.java

Bean for the accept option for the Droppable behavior

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

Constructor Summary
DroppableAccept(JsScope functionParam)
          Constructor
DroppableAccept(String literalParam)
          Constructor
 
Method Summary
 JsScope getFunctionParam()
           
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 String getLiteralParam()
           
 void setFunctionParam(JsScope functionParam)
          Set's the function parameter
 void setHelperEnumParam(String literalParam)
          Set's the literal parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DroppableAccept

public DroppableAccept(String literalParam)
Constructor

Parameters:
literalParam - Literal parameter

DroppableAccept

public DroppableAccept(JsScope functionParam)
Constructor

Parameters:
functionParam - Function parameter
Method Detail

getLiteralParam

public String getLiteralParam()
Returns:
the literalParam

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(String literalParam)
Set's the literal parameter

Parameters:
literalParam - the literal to set

setFunctionParam

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

Parameters:
functionParam - the JsScope to set


Copyright © 2012. All Rights Reserved.