org.exoplatform.calendar.webui
Class UIFormDateTimePicker

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIFormInputBase<String>
              extended by org.exoplatform.calendar.webui.UIFormDateTimePicker
All Implemented Interfaces:
org.exoplatform.webui.form.UIFormInput<String>

public class UIFormDateTimePicker
extends org.exoplatform.webui.form.UIFormInputBase<String>

Created by The eXo Platform SAS Author : Pham Tuan tuan.pham@exoplatform.com Feb 29, 2008


Nested Class Summary
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 
Fields inherited from class org.exoplatform.webui.form.UIFormInputBase
bindingField, defaultValue_, DISABLE, disabled, ENABLE, enable_, name, readonly_, typeValue_, validators, value_
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIFormDateTimePicker(String name, String bindField, Date date)
           
UIFormDateTimePicker(String name, String bindField, Date date, boolean isDisplayTime)
           
UIFormDateTimePicker(String name, String bindField, Date date, boolean isDisplayTime, Locale locale)
           
UIFormDateTimePicker(String name, String bindField, Date date, boolean isDisplayTime, String dateStyle)
           
UIFormDateTimePicker(String name, String bindField, Date date, boolean isDisplayTime, String dateStyle, String timeStyle)
           
UIFormDateTimePicker(String name, String bindField, Date date, String dateStyle)
           
UIFormDateTimePicker(String name, String bindField, Date date, String dateStyle, String timeStyle)
           
 
Method Summary
 void decode(Object input, org.exoplatform.webui.application.WebuiRequestContext context)
           
 Calendar getCalendar()
           
 Date getDateValue()
           
 String getFormatStyle()
           
 void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
           
 void setCalendar(Calendar date)
           
 void setDateFormatStyle(String dateStyle)
           
 void setDisplayTime(boolean isDisplayTime)
           
 void setTimeFormatStyle(String timeStyle)
           
 
Methods inherited from class org.exoplatform.webui.form.UIFormInputBase
addValidator, getBindingField, getDefaultValue, getHTMLAttribute, getLabel, getName, getTypeValue, getValidators, getValue, isDisabled, isEditable, isEnable, isMandatory, isReadOnly, isValid, processDecode, renderHTMLAttributes, reset, setBindingField, setDefaultValue, setDisabled, setEditable, setEnable, setHTMLAttribute, setLabel, setName, setReadOnly, setValue
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIFormDateTimePicker

public UIFormDateTimePicker(String name,
                            String bindField,
                            Date date,
                            boolean isDisplayTime)

UIFormDateTimePicker

public UIFormDateTimePicker(String name,
                            String bindField,
                            Date date,
                            boolean isDisplayTime,
                            Locale locale)

UIFormDateTimePicker

public UIFormDateTimePicker(String name,
                            String bindField,
                            Date date,
                            boolean isDisplayTime,
                            String dateStyle)

UIFormDateTimePicker

public UIFormDateTimePicker(String name,
                            String bindField,
                            Date date,
                            boolean isDisplayTime,
                            String dateStyle,
                            String timeStyle)

UIFormDateTimePicker

public UIFormDateTimePicker(String name,
                            String bindField,
                            Date date)

UIFormDateTimePicker

public UIFormDateTimePicker(String name,
                            String bindField,
                            Date date,
                            String dateStyle)

UIFormDateTimePicker

public UIFormDateTimePicker(String name,
                            String bindField,
                            Date date,
                            String dateStyle,
                            String timeStyle)
Method Detail

setDisplayTime

public void setDisplayTime(boolean isDisplayTime)

setCalendar

public void setCalendar(Calendar date)

getCalendar

public Calendar getCalendar()

getDateValue

public Date getDateValue()

setDateFormatStyle

public void setDateFormatStyle(String dateStyle)

setTimeFormatStyle

public void setTimeFormatStyle(String timeStyle)

decode

public void decode(Object input,
                   org.exoplatform.webui.application.WebuiRequestContext context)
Specified by:
decode in class org.exoplatform.webui.form.UIFormInputBase<String>

getFormatStyle

public String getFormatStyle()

processRender

public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
                   throws Exception
Overrides:
processRender in class org.exoplatform.webui.core.UIComponent
Throws:
Exception


Copyright © 2013 eXo Platform SAS. All Rights Reserved.