|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echoservlet.ComponentPeer nextapp.echoservlet.ui.TextComponentUI nextapp.echoservlet.ui.TextFieldUI echopoint.ui.TextFieldUI
TextFieldUI
is the peer for the echopoint.TextField
Its has support for the new Validation classes as well as modularises the creation of the INPUT element.
Field Summary | |
protected ToolTipPopUpSupportHelper |
toolTipHelper
a ToolTipPopUpSupportHelper available to subclasses |
Fields inherited from class nextapp.echoservlet.ui.TextFieldUI |
SERVICE_TEXT_FIELD_SCRIPT |
Fields inherited from class nextapp.echoservlet.ui.TextComponentUI |
renderedActive |
Constructor Summary | |
TextFieldUI()
|
Method Summary | |
protected java.lang.String |
generateOnBlurJavaScript(nextapp.echoservlet.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(nextapp.echoservlet.RenderingContext rc)
Called to return the onchange script that saves the state of the TextField and also performs client side validation. |
protected nextapp.echoservlet.ComponentStyle |
getStyle()
|
protected TextField |
getTextField()
A helper method to get the TextField safelt instead of via (TextField) getComponent(). |
protected nextapp.echoservlet.html.Element |
getTextInput(nextapp.echoservlet.RenderingContext rc,
TextField textField,
java.lang.String styleClassName)
Called to return the HTML element that will be used as the visiual representation of the TextField. |
static void |
register()
Registers the Component with its peer bindings |
void |
registered()
|
void |
render(nextapp.echoservlet.RenderingContext rc,
nextapp.echoservlet.html.Element parent)
|
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 |
Field Detail |
protected ToolTipPopUpSupportHelper toolTipHelper
Constructor Detail |
public TextFieldUI()
Method Detail |
public void registered()
TextComponentUI.registered()
public void unregistered()
TextComponentUI.unregistered()
public static void register()
protected TextField getTextField()
protected nextapp.echoservlet.ComponentStyle getStyle()
TextComponentUI.getStyle()
protected nextapp.echoservlet.html.Element getTextInput(nextapp.echoservlet.RenderingContext rc, TextField textField, java.lang.String styleClassName)
This default version returns a "input type=text" element that an id="getId()". It morphs into a "input type=password" if the field is indeed a PasswordField.
It also adds a tooltip support to the element.
rc
- - ther renderind context in playtextField
- -the textfield componentstyleClassName
- - the componentn style name to use
protected java.lang.String generateOnBlurJavaScript(nextapp.echoservlet.RenderingContext rc)
rc
- - The rendering
protected java.lang.String generateOnChangeJavaScript(nextapp.echoservlet.RenderingContext rc)
rc
- - The rendering
public void render(nextapp.echoservlet.RenderingContext rc, nextapp.echoservlet.html.Element parent)
ComponentPeer.render(RenderingContext, Element)
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |