org.odlabs.wiquery.ui.draggable
Class DraggableRevert

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

public class DraggableRevert
extends Object
implements IComplexOption

$Id: DraggableRevert.java

Bean for the revert option for the Draggable behavior

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

Nested Class Summary
static class DraggableRevert.RevertEnum
           
 
Field Summary
static DraggableRevert INVALID
          Invalid revert
static DraggableRevert VALID
          Valid revert
 
Constructor Summary
DraggableRevert(Boolean booleanParam)
          Constructor
DraggableRevert(DraggableRevert.RevertEnum revertEnumParameter)
          Constructor
 
Method Summary
 Boolean getBooleanParam()
           
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 DraggableRevert.RevertEnum getRevertEnumParam()
           
 void setBooleanParam(Boolean booleanParam)
          Set's the boolean parameter
 void setRevertEnumParam(DraggableRevert.RevertEnum revertEnumParameter)
          Set's the RevertEnum parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALID

public static final DraggableRevert VALID
Valid revert


INVALID

public static final DraggableRevert INVALID
Invalid revert

Constructor Detail

DraggableRevert

public DraggableRevert(Boolean booleanParam)
Constructor

Parameters:
booleanParam - Boolean parameter

DraggableRevert

public DraggableRevert(DraggableRevert.RevertEnum revertEnumParameter)
Constructor

Parameters:
revertEnumParameter - RevertEnum parameter
Method Detail

getBooleanParam

public Boolean getBooleanParam()
Returns:
the booleanParam

getRevertEnumParam

public DraggableRevert.RevertEnum getRevertEnumParam()
Returns:
the stringParam

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

setRevertEnumParam

public void setRevertEnumParam(DraggableRevert.RevertEnum revertEnumParameter)
Set's the RevertEnum parameter

Parameters:
revertEnumParameter - the RevertEnum to set


Copyright © 2012. All Rights Reserved.