org.odlabs.wiquery.ui.datepicker
Class DatePickerNumberOfMonths

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

public class DatePickerNumberOfMonths
extends Object
implements IComplexOption

$Id: DatePickerNumberOfMonths.java

Bean for the numberOfMonths option for the DatePicker component

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

Constructor Summary
DatePickerNumberOfMonths(ArrayItemOptions<IntegerItemOptions> arrayParam)
          Constructor
DatePickerNumberOfMonths(Short shortParam)
          Constructor
 
Method Summary
 ArrayItemOptions<IntegerItemOptions> getArrayParam()
           
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 Short getShortParam()
           
 void setArrayParam(ArrayItemOptions<IntegerItemOptions> arrayParam)
          Set's the array parameter
 void setShortParam(Short shortParam)
          Set's the short parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatePickerNumberOfMonths

public DatePickerNumberOfMonths(Short shortParam)
Constructor

Parameters:
shortParam - Short parameter

DatePickerNumberOfMonths

public DatePickerNumberOfMonths(ArrayItemOptions<IntegerItemOptions> arrayParam)
Constructor

Parameters:
arrayParam - Array parameter
Method Detail

getArrayParam

public ArrayItemOptions<IntegerItemOptions> getArrayParam()
Returns:
the arrayParam

getShortParam

public Short getShortParam()
Returns:
the shortParam

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

setArrayParam

public void setArrayParam(ArrayItemOptions<IntegerItemOptions> arrayParam)
Set's the array parameter

Parameters:
arrayParam - the array to set

setShortParam

public void setShortParam(Short shortParam)
Set's the short parameter

Parameters:
shortParam - short parameter


Copyright © 2012. All Rights Reserved.