org.odlabs.wiquery.ui.slider
Class SliderRange

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

public class SliderRange
extends Object
implements IComplexOption

$Id: SliderRange.java

Bean for the range option into the Slider component

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

Nested Class Summary
static class SliderRange.RangeEnum
           
 
Constructor Summary
SliderRange(Boolean booleanParam)
          Constructor
SliderRange(SliderRange.RangeEnum rangeEnumParam)
          Constructor
 
Method Summary
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 SliderRange.RangeEnum getRangeEnumParam()
           
 boolean isBooleanParam()
           
 void setBooleanParam(boolean booleanParam)
          Set's the boolean parameter
 void setRangeEnumParam(SliderRange.RangeEnum rangeEnumParam)
          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

SliderRange

public SliderRange(Boolean booleanParam)
Constructor

Parameters:
booleanParam - Boolean parameter

SliderRange

public SliderRange(SliderRange.RangeEnum rangeEnumParam)
Constructor

Parameters:
rangeEnumParam - RangeEnum parameter
Method Detail

isBooleanParam

public boolean isBooleanParam()
Returns:
the booleanParam

getRangeEnumParam

public SliderRange.RangeEnum getRangeEnumParam()
Returns:
the rangeEnumParam

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 booleanParam to set

setRangeEnumParam

public void setRangeEnumParam(SliderRange.RangeEnum rangeEnumParam)
Set's the literal parameter

Parameters:
rangeEnumParam - the literal to set


Copyright © 2012. All Rights Reserved.