echopoint.ui
Class ClientDatePickerUI
java.lang.Object
nextapp.echoservlet.ComponentPeer
nextapp.echoservlet.ui.TextComponentUI
nextapp.echoservlet.ui.TextFieldUI
echopoint.ui.TextFieldUI
echopoint.ui.ClientDatePickerUI
- All Implemented Interfaces:
- nextapp.echoservlet.ClientActionProducer, nextapp.echoservlet.ClientInputProducer, java.util.EventListener, java.beans.PropertyChangeListener, java.io.Serializable
- 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
- Author:
- Jason Dalton (jdalton@asset.com) and Chris Bozic (cbozic@asset.com)
- See Also:
- Serialized Form
Fields inherited from class nextapp.echoservlet.ui.TextFieldUI |
SERVICE_TEXT_FIELD_SCRIPT |
Fields inherited from class nextapp.echoservlet.ui.TextComponentUI |
renderedActive |
Method Summary |
protected void |
buildTriggerControl(nextapp.echoservlet.RenderingContext rc,
nextapp.echoservlet.html.Element parent,
ClientDatePicker dp)
Creates the trigger control that will show the Calendar. |
protected ClientDatePicker |
getDatePicker()
Convenience method to get the Calendar |
protected nextapp.echoservlet.image.ImageManager |
getImageManager()
Icon management, JIT loaded |
static void |
register()
Registers the Component with its peer bindings |
void |
registered()
|
void |
render(nextapp.echoservlet.RenderingContext rc,
nextapp.echoservlet.html.Element parent)
Renders the Calendar. |
protected void |
renderTriggerContent(nextapp.echoservlet.RenderingContext rc,
nextapp.echoservlet.html.Element trigger,
ClientDatePicker dp)
Renders the internal content of the trigger element |
void |
unregistered()
|
Methods inherited from class nextapp.echoservlet.ui.TextFieldUI |
clientAction |
Methods inherited from class nextapp.echoservlet.ui.TextComponentUI |
clientInput, propertyChange |
Methods inherited from class nextapp.echoservlet.ComponentPeer |
addAncillaryService, generateId, getBackground, getChildCount, getChildren, getComponent, getFont, getForeground, getId, getInstancePeer, getParent, getPeer, redraw, removeAncillaryService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nextapp.echoservlet.ClientInputProducer |
getId |
ClientDatePickerUI
public ClientDatePickerUI()
render
public void render(nextapp.echoservlet.RenderingContext rc,
nextapp.echoservlet.html.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
- Overrides:
render
in class TextFieldUI
- See Also:
ComponentPeer.render(RenderingContext, Element)
buildTriggerControl
protected void buildTriggerControl(nextapp.echoservlet.RenderingContext rc,
nextapp.echoservlet.html.Element parent,
ClientDatePicker dp)
- Creates the trigger control that will show the Calendar.
renderTriggerContent
protected void renderTriggerContent(nextapp.echoservlet.RenderingContext rc,
nextapp.echoservlet.html.Element trigger,
ClientDatePicker dp)
- Renders the internal content of the trigger element
getImageManager
protected nextapp.echoservlet.image.ImageManager getImageManager()
- Icon management, JIT loaded
getDatePicker
protected ClientDatePicker getDatePicker()
- Convenience method to get the Calendar
register
public static void register()
- Description copied from class:
TextFieldUI
- Registers the Component with its peer bindings
registered
public void registered()
- Overrides:
registered
in class TextFieldUI
- See Also:
EchoPointComponentPeer.registered()
unregistered
public void unregistered()
- Overrides:
unregistered
in class TextFieldUI
- See Also:
TextComponentUI.unregistered()