org.efaps.ui.wicket.components.date
Class DatePickerBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.AbstractBehavior
      extended by org.apache.wicket.extensions.yui.calendar.DatePicker
          extended by org.efaps.ui.wicket.components.date.DatePickerBehavior
All Implemented Interfaces:
Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.behavior.IComponentConfigurationBehavior, org.apache.wicket.IClusterable, org.apache.wicket.markup.html.IHeaderContributor

public class DatePickerBehavior
extends org.apache.wicket.extensions.yui.calendar.DatePicker

This behavior adds a datepicker.

Version:
$Id: DatePickerBehavior.java 6104 2011-02-01 22:48:21Z jan@moxter.net $
Author:
The eFaps Team
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.extensions.yui.calendar.DatePicker
FORMAT_DATE, FORMAT_PAGEDATE
 
Constructor Summary
DatePickerBehavior()
           
 
Method Summary
protected  boolean enableMonthYearSelection()
           
 StringBuilder getTagBody()
          Get the tag body.
 boolean isNested()
          Getter method for the instance variable nested.
 void onRendered(org.apache.wicket.Component _component)
           
 void setNested(boolean _nested)
          Setter method for instance variable nested.
 void setUnNestedComponent(UnnestedDatePickers _unnested)
           
 
Methods inherited from class org.apache.wicket.extensions.yui.calendar.DatePicker
alignWithIcon, bind, configure, configureWidgetProperties, filterEmpty, getAdditionalJavascript, getComponentMarkupId, getDatePattern, getEscapedComponentMarkupId, getIconAltText, getIconId, getIconStyle, getIconTitle, getIconUrl, getLocale, hideOnSelect, includeYUILibraries, isEnabled, localize, notifyComponentOnDateSelected, renderHead, renderOnLoad, setShowOnFieldClick, showOnFieldClick, substring, substring
 
Methods inherited from class org.apache.wicket.behavior.AbstractBehavior
afterRender, beforeRender, cleanup, detach, detachModel, exception, getStatelessHint, isTemporary, onComponentTag, onConfigure, onException, rendered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatePickerBehavior

public DatePickerBehavior()
Method Detail

isNested

public boolean isNested()
Getter method for the instance variable nested.

Returns:
value of instance variable nested

setUnNestedComponent

public void setUnNestedComponent(UnnestedDatePickers _unnested)
Parameters:
_unnested - component to be added to

setNested

public void setNested(boolean _nested)
Setter method for instance variable nested.

Parameters:
_nested - value for instance variable nested

onRendered

public void onRendered(org.apache.wicket.Component _component)
Overrides:
onRendered in class org.apache.wicket.extensions.yui.calendar.DatePicker

getTagBody

public StringBuilder getTagBody()
Get the tag body. Used by the Unnested DatePicker.

Returns:
html

enableMonthYearSelection

protected boolean enableMonthYearSelection()
Overrides:
enableMonthYearSelection in class org.apache.wicket.extensions.yui.calendar.DatePicker


Copyright © 2003-2011 The eFaps Team. All Rights Reserved.