| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echoservlet.AbstractComponentPeer
nextapp.echoservlet.ui.TextComponentUI
nextapp.echoservlet.ui.TextFieldUI
echopoint.ui.TextFieldUI
echopoint.ui.AbstractDateFieldUI
echopoint.ui.DateFieldUI
public class DateFieldUI
DateFieldUI is the backend peer class for the component DateField.
| Field Summary | 
|---|
| Fields inherited from class echopoint.ui.AbstractDateFieldUI | 
|---|
DATEFIELD_TIMEFIELD_SERVICE_SCRIPT, imageManager | 
| Fields inherited from class echopoint.ui.TextFieldUI | 
|---|
toolTipHelper | 
| Fields inherited from class nextapp.echoservlet.ui.TextFieldUI | 
|---|
SERVICE_TEXT_FIELD_SCRIPT | 
| Fields inherited from class nextapp.echoservlet.ui.TextComponentUI | 
|---|
renderedActive | 
| Fields inherited from interface nextapp.echoservlet.ComponentPeer | 
|---|
IGNORE_PROPERTY_CHANGE | 
| Constructor Summary | |
|---|---|
DateFieldUI()
 | 
|
| Method Summary | |
|---|---|
 void | 
clientAction(java.lang.String command)
Called when the user causes an action from the client.  | 
 void | 
clientInput(java.lang.String input)
Called when the client state has to be saved.  | 
protected  java.lang.String | 
generateCloseDropDownJavaScript(RenderingContext rc)
 | 
protected  java.lang.String | 
generateDropDownJavaScript(RenderingContext rc)
Called to generate the JavaScipt called on the onmousedown event on the drop down button.  | 
protected  java.lang.String | 
generateOnBlurJavaScript(RenderingContext rc)
Called to return the onblur script that saves the state of the TextField and also performs client side validation.  | 
protected  java.lang.String | 
generateOnChangeJavaScript(RenderingContext rc)
Called to return the onchange script that saves the state of the TextField and also performs client side validation.  | 
protected  java.lang.String | 
generateOnLoadScript(RenderingContext rc)
Called to generate any document onLoad JavaScript.  | 
static java.lang.String | 
getInitializeScript(Connection connection,
                    InstancePeer instancePeer,
                    java.util.List dateFields,
                    java.util.List peers)
 | 
static void | 
register()
Registers the Component with its peer bindings  | 
 void | 
render(RenderingContext rc,
       Element parent)
A method that should be overridden for the ComponentPeer to produce HTML output.  | 
protected  void | 
renderDropDownElement(RenderingContext rc,
                      Element parent)
Called to render the drop down part of the component  | 
| Methods inherited from class echopoint.ui.AbstractDateFieldUI | 
|---|
createJSFunction, getDropDownButtonId, getImageManager, propertyChange, registered, unregistered | 
| Methods inherited from class echopoint.ui.TextFieldUI | 
|---|
getStyle, getTextField, getTextInput | 
| 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 | 
| Methods inherited from interface nextapp.echoservlet.ClientInputProducer | 
|---|
getId | 
| Constructor Detail | 
|---|
public DateFieldUI()
| Method Detail | 
|---|
public void clientInput(java.lang.String input)
clientInput in interface ClientInputProducerclientInput in class TextComponentUIinput - The data in the hidden input field in the controller form
        as last known.ClientInputProducerpublic void clientAction(java.lang.String command)
ClientActionProducer
clientAction in interface ClientActionProducerclientAction in class TextFieldUIcommand - The action command generated by the client.ClientActionProducer.clientAction(String)public static void register()
protected void renderDropDownElement(RenderingContext rc,
                                     Element parent)
AbstractDateFieldUI
renderDropDownElement in class AbstractDateFieldUIrc - - the RenderingContextparent - - the parent ElementAbstractDateFieldUI.renderDropDownElement(nextapp.echoservlet.RenderingContext,
      nextapp.echoservlet.html.Element)protected java.lang.String generateOnBlurJavaScript(RenderingContext rc)
TextFieldUI
generateOnBlurJavaScript in class TextFieldUIrc - - The rendering
TextFieldUI.generateOnBlurJavaScript(nextapp.echoservlet.RenderingContext)protected java.lang.String generateOnChangeJavaScript(RenderingContext rc)
TextFieldUI
generateOnChangeJavaScript in class TextFieldUIrc - - The rendering
TextFieldUI.generateOnChangeJavaScript(nextapp.echoservlet.RenderingContext)protected java.lang.String generateOnLoadScript(RenderingContext rc)
AbstractDateFieldUI
generateOnLoadScript in class AbstractDateFieldUIrc - - the RenderingContext
AbstractDateFieldUI.generateOnLoadScript(nextapp.echoservlet.RenderingContext)protected java.lang.String generateDropDownJavaScript(RenderingContext rc)
AbstractDateFieldUI
generateDropDownJavaScript in class AbstractDateFieldUIAbstractDateFieldUI.generateDropDownJavaScript(RenderingContext)protected java.lang.String generateCloseDropDownJavaScript(RenderingContext rc)
generateCloseDropDownJavaScript in class AbstractDateFieldUI
public void render(RenderingContext rc,
                   Element parent)
ComponentPeer
render in interface ComponentPeerrender in class AbstractDateFieldUIrc - A rendering context provided by the Connection.parent - The element that will contain content rendered by this
            ComponentPeer.ComponentPeer.render(nextapp.echoservlet.RenderingContext,
      nextapp.echoservlet.html.Element)
public static java.lang.String getInitializeScript(Connection connection,
                                                   InstancePeer instancePeer,
                                                   java.util.List dateFields,
                                                   java.util.List peers)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||