echopoint.ui
Class ClientDatePickerUI
java.lang.Object
nextapp.echoservlet.AbstractComponentPeer
nextapp.echoservlet.ui.TextComponentUI
nextapp.echoservlet.ui.TextFieldUI
echopoint.ui.TextFieldUI
echopoint.ui.ClientDatePickerUI
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, ClientActionProducer, ClientInputProducer, ComponentPeer
public class ClientDatePickerUI
- extends TextFieldUI
Renders the Calendar. The key outputs are:
- Style Function: JavaScript function dynamically built which returns the full css style tag for the calendar
- Calendar Return Function: JS Hook into the date select event of the calendar in which the binding of the selected date
to Echo and to the input text box is defined.
- Calendar DIV (Only when OpenInNewWindow = false): div sent to Calendar JS Constructor to use as a container
- Calendar Anchor: User customizable icon/message which shows the calendar
- See Also:
- Serialized Form
Methods inherited from class nextapp.echoservlet.AbstractComponentPeer |
addAncillaryService, generateId, getCalculatedBackground, getCalculatedFont, getCalculatedForeground, getChildCount, getChildren, getComponent, getFocusedElementId, getId, getInstancePeer, getParentComponentPeer, getPeer, redraw, registerAncillaryServices, removeAncillaryService, setComponent, setId, setInstancePeer, unregisterAncillaryServices |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_CALENDAR_SCRIPT
public static final StaticText SERVICE_CALENDAR_SCRIPT
- Calendar JavaScript Service
SERVICE_CALENDAR_UTIL_SCRIPT
public static final StaticText SERVICE_CALENDAR_UTIL_SCRIPT
ClientDatePickerUI
public ClientDatePickerUI()
render
public void render(RenderingContext rc,
Element parent)
- Renders the Calendar. The key outputs are:
- Style Function: JavaScript function dynamically built which returns the full css style tag for the calendar
- Calendar Return Function: JS Hook into the date select event of the calendar in which the binding of the selected date
to Echo and to the input text box is defined.
- Calendar DIV (Only when OpenInNewWindow = false): div sent to Calendar JS Constructor to use as a container
- Calendar Anchor: User customizable icon/message which shows the calendar
- Specified by:
render
in interface ComponentPeer
- Overrides:
render
in class TextFieldUI
- Parameters:
rc
- A rendering context provided by the Connection
.parent
- The element that will contain content rendered by this
ComponentPeer
.- See Also:
ComponentPeer.render(RenderingContext, Element)
buildTriggerControl
protected void buildTriggerControl(RenderingContext rc,
Element parent,
ClientDatePicker dp)
- Creates the trigger control that will show the Calendar.
renderTriggerContent
protected void renderTriggerContent(RenderingContext rc,
Element trigger,
ClientDatePicker dp)
- Renders the internal content of the trigger element
getImageManager
protected ImageManager getImageManager()
- Icon management, JIT loaded
getDatePicker
protected ClientDatePicker getDatePicker()
- Convenience method to get the Calendar
register
public static void register()
registered
public void registered()
- Description copied from class:
AbstractComponentPeer
- Called when the component is registered. This method should be overridden
if necessary.
- Specified by:
registered
in interface ComponentPeer
- Overrides:
registered
in class TextFieldUI
- See Also:
EchoPointComponentPeer.registered()
unregistered
public void unregistered()
- Description copied from class:
AbstractComponentPeer
- Called when the component is unregistered. This method should be
overridden if necessary.
- Specified by:
unregistered
in interface ComponentPeer
- Overrides:
unregistered
in class TextFieldUI
- See Also:
TextComponentUI.unregistered()