org.odlabs.wiquery.ui.datepicker
Class DatePickerShortYearCutOff

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

public class DatePickerShortYearCutOff
extends Object
implements IComplexOption

$Id: DatePickerShortYearCutOff.java

Bean for the shortYearCutOff option for the DatePicker component

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

Constructor Summary
DatePickerShortYearCutOff(Short shortParam)
          Constructor
DatePickerShortYearCutOff(String literalParam)
          Constructor
 
Method Summary
 CharSequence getJavascriptOption()
          Method retrieving the javascript representation of this complex option
 String getLiteralParam()
           
 Short getShortParam()
           
 void setLiteralParam(String literalParam)
          Set's the literal 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

DatePickerShortYearCutOff

public DatePickerShortYearCutOff(Short shortParam)
Constructor

Parameters:
shortParam - Short parameter

DatePickerShortYearCutOff

public DatePickerShortYearCutOff(String literalParam)
Constructor

Parameters:
literalParam - Literal parameter
Method Detail

getLiteralParam

public String getLiteralParam()
Returns:
the literalParam

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

setLiteralParam

public void setLiteralParam(String literalParam)
Set's the literal parameter

Parameters:
literalParam - the literal to set

setShortParam

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

Parameters:
shortParam - short parameter


Copyright © 2012. All Rights Reserved.