The main associated CSS classes are .JwtDatePicker and those associated with the Calendar web component.
- Since:
- 0.2.10
- Author:
- Dominique Liard
- See Also:
Calendar
|
Nested Class Summary |
static class |
DatePicker.DisplayMode
This enum type defines differents display modes available for DatePicker components. |
|
Constructor Summary |
DatePicker()
The class constructor. |
| Methods inherited from class corelib.services.web.components.FormInput |
addFormInputListener, component_load, fireFormInputEvent, getOldValue, getSharedAttributesHtmlEncoding, isAutoPost, isReadOnly, oldValueHtmlEnconding, setAutoPost, setOldValue, setReadOnly |
| Methods inherited from class corelib.services.web.components.VisualComponent |
component_postRender, component_preRender, component_renderChildren, component_renderEnd, component_renderJavascriptLocalisation, encodeAttributeValue, getCssClass, getCssStyle, getOnClickListener, getToolTipText, isVisible, renderElement, setCssClass, setCssStyle, setOnClickListener, setToolTipText, setVisible |
| Methods inherited from class corelib.services.web.components.WebComponent |
addBindingExpression, addChildComponent, component_init, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatePicker
public DatePicker()
- The class constructor.
getSelectedDate
public java.util.Date getSelectedDate()
- Retrieves the selected date into this DatePicker component.
- Returns:
- The selected date.
setSelectedDate
public void setSelectedDate(java.util.Date newDate)
- Change the selected date for this Calendar web component.
- Parameters:
newDate - The new date.
setSelectedDate
public void setSelectedDate(java.util.Calendar calendar)
- Change the selected date for this Calendar with the date stored in the specified calendar.
- Parameters:
calendar - The calendar objet that store the new date.- Since:
- 0.3.8
getDisplayMode
public DatePicker.DisplayMode getDisplayMode()
- Returns the actual display mode used by this
DatePicker component.
- Returns:
- The actual display mode.
- Since:
- 0.4.0
setDisplayMode
public void setDisplayMode(DatePicker.DisplayMode displayMode)
- Changes the display mode of this
DatePicker component.
- Parameters:
displayMode - The new display mode.- Since:
- 0.4.0
component_renderBegin
public void component_renderBegin(WebPageEvent webPageEvent)
- Overrides:
component_renderBegin in class VisualComponent
CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.
Copyright 2012 Infini Software - All Rights Reserved.