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 |
afterRender(org.apache.wicket.Component component) |
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 Icon |
getIcon()
Gets the
Icon for the popup button. |
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()
Deprecated.
This method is deprecated since 10.0.x, use getIcon() instead
|
protected Locale |
getLocale()
Gets the locale that should be used to configure this widget.
|
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 afterRender(org.apache.wicket.Component component)
afterRender
in class org.apache.wicket.behavior.Behavior
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()
@Deprecated protected CharSequence getIconUrl()
protected Icon getIcon()
Icon
for the popup button. Users can override to provide their own icon.protected Locale getLocale()
public void bind(org.apache.wicket.Component component)
bind
in class AbstractYuiBehavior
protected String getDatePattern()
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.