org.odlabs.wiquery.ui.draggable
Class DraggableSnap

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

public class DraggableSnap
extends Object
implements IComplexOption

$Id: DraggableSnap.java

Bean for the snap option for the Draggable behavior

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

Constructor Summary
DraggableSnap(Boolean booleanParam)
          Constructor
DraggableSnap(String selectorParam)
          Constructor
 
Method Summary
 Boolean getBooleanParam()
           
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 String getSelectorPAram()
           
 void setBooleanParam(Boolean booleanParam)
          Set's the boolean parameter
 void setSelectorParam(String selectorParam)
          Set's the selector parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DraggableSnap

public DraggableSnap(Boolean booleanParam)
Constructor

Parameters:
booleanParam - Boolean parameter

DraggableSnap

public DraggableSnap(String selectorParam)
Constructor

Parameters:
selectorParam - Selector parameter
Method Detail

getBooleanParam

public Boolean getBooleanParam()
Returns:
the booleanParam

getSelectorPAram

public String getSelectorPAram()
Returns:
the selectorParam

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

setBooleanParam

public void setBooleanParam(Boolean booleanParam)
Set's the boolean parameter

Parameters:
booleanParam - the boolean to set

setSelectorParam

public void setSelectorParam(String selectorParam)
Set's the selector parameter

Parameters:
selectorParam - the selector to set


Copyright © 2012. All Rights Reserved.