public class DateOption extends Object implements IComplexOption
Bean for the defaultDate, maxDate, minDate option for the DatePicker component
| Constructor and Description |
|---|
DateOption(Date dateParam)
Constructor
|
DateOption(Short shortParam)
Constructor
|
DateOption(String literalParam)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getDateParam() |
CharSequence |
getJavascriptOption()
Method retrieving the javascript representation of this complex option
|
String |
getLiteralParam() |
Short |
getShortParam() |
void |
setDateParam(Date dateParam)
Set's the date parameter
|
void |
setLiteralParam(String literalParam)
Set's the literal parameter
|
void |
setShortParam(Short shortParam)
Set's the short parameter
|
public DateOption(Short shortParam)
shortParam - Short parameterpublic DateOption(String literalParam)
literalParam - literal parameterpublic DateOption(Date dateParam)
dateParam - short parameterpublic Date getDateParam()
public String getLiteralParam()
public Short getShortParam()
public CharSequence getJavascriptOption()
IComplexOptiongetJavascriptOption in interface IComplexOptionpublic void setDateParam(Date dateParam)
dateParam - short parameterpublic void setLiteralParam(String literalParam)
literalParam - literal parameterpublic void setShortParam(Short shortParam)
shortParam - short parameterCopyright © 2009-2012. All Rights Reserved.