public class YuiDatePicker extends AbstractYuiBehavior
Constructor and Description |
---|
YuiDatePicker(YuiDatePickerSettings settings) |
Modifier and Type | Method and Description |
---|---|
void |
addHeaderContribution(IYuiContext helper)
Override this method to get access to the IYuiContext
|
void |
bind(org.apache.wicket.Component component) |
protected String |
getDatePattern()
Gets the date pattern to use for putting selected values in the coupled component.
|
protected String |
getEscapedComponentMarkupId()
Gets the escaped DOM id that the calendar widget will get attached to.
|
protected String |
getIconId()
Gets the id of the icon that triggers the popup.
|
protected String |
getIconStyle()
Gets the style of the icon that triggers the popup.
|
protected CharSequence |
getIconUrl()
Gets the url for the popup button.
|
protected Locale |
getLocale()
Gets the locale that should be used to configure this widget.
|
void |
onRendered(org.apache.wicket.Component component) |
protected boolean |
renderOnLoad()
Indicates whether the calendar should be rendered after it has been loaded.
|
getComponent, onRenderHead, renderHead
public YuiDatePicker(YuiDatePickerSettings settings)
public void addHeaderContribution(IYuiContext helper)
AbstractYuiBehavior
addHeaderContribution
in class AbstractYuiBehavior
helper
- The IYuiContext this behavior can use to register YUI-modules and the likes.public void onRendered(org.apache.wicket.Component component)
onRendered
in class org.apache.wicket.behavior.AbstractBehavior
protected boolean renderOnLoad()
true
if the calendar should be rendered after it has been loaded.false
(default) if it's initially hidden.protected final String getEscapedComponentMarkupId()
protected final String getIconId()
protected String getIconStyle()
protected CharSequence getIconUrl()
protected Locale getLocale()
public void bind(org.apache.wicket.Component component)
bind
in interface org.apache.wicket.behavior.IBehavior
bind
in class AbstractYuiBehavior
protected String getDatePattern()
Copyright © 2007-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.