EchoPoint
1.0

echopoint.ui
Class ComboBoxUI

java.lang.Object
  extended bynextapp.echoservlet.ComponentPeer
      extended bynextapp.echoservlet.ui.TextComponentUI
          extended bynextapp.echoservlet.ui.TextFieldUI
              extended byechopoint.ui.TextFieldUI
                  extended byechopoint.ui.ComboBoxUI
All Implemented Interfaces:
nextapp.echoservlet.ClientActionProducer, nextapp.echoservlet.ClientInputProducer, java.util.EventListener, java.beans.PropertyChangeListener, java.io.Serializable
Direct Known Subclasses:
RecallComboBoxUI

public class ComboBoxUI
extends TextFieldUI
implements nextapp.echoservlet.ClientActionProducer, nextapp.echoservlet.ClientInputProducer

ComboBoxUI is a base backend peer class ComboBox

Author:
Brad Baker
See Also:
Serialized Form

Field Summary
static nextapp.echoservlet.Service SERVICE_COMBO_SCRIPT
           
static nextapp.echoservlet.Service SERVICE_DROP_DOWN_IMAGE
           
 
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
 
Constructor Summary
ComboBoxUI()
           
 
Method Summary
 void clientAction(java.lang.String action)
           
 void clientInput(java.lang.String input)
           
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.
static void register()
          Registers the Component with its peer bindings
 void render(nextapp.echoservlet.RenderingContext rc, nextapp.echoservlet.html.Element parent)
           
 
Methods inherited from class echopoint.ui.TextFieldUI
getStyle, getTextField, getTextInput, registered, unregistered
 
Methods inherited from class nextapp.echoservlet.ui.TextComponentUI
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

SERVICE_DROP_DOWN_IMAGE

public static final nextapp.echoservlet.Service SERVICE_DROP_DOWN_IMAGE

SERVICE_COMBO_SCRIPT

public static final nextapp.echoservlet.Service SERVICE_COMBO_SCRIPT
Constructor Detail

ComboBoxUI

public ComboBoxUI()
Method Detail

render

public void render(nextapp.echoservlet.RenderingContext rc,
                   nextapp.echoservlet.html.Element parent)
Overrides:
render in class TextFieldUI
See Also:
ComponentPeer.render(nextapp.echoservlet.RenderingContext, nextapp.echoservlet.html.Element)

generateOnBlurJavaScript

protected java.lang.String generateOnBlurJavaScript(nextapp.echoservlet.RenderingContext rc)
Description copied from class: TextFieldUI
Called to return the onblur script that saves the state of the TextField and also performs client side validation. It returns a script that ends in a semi colon, ready for chaining with other scripts.

Overrides:
generateOnBlurJavaScript in class TextFieldUI
Parameters:
rc - - The rendering
Returns:
the generated on blur script
See Also:
TextFieldUI.generateOnBlurJavaScript(nextapp.echoservlet.RenderingContext)

generateOnChangeJavaScript

protected java.lang.String generateOnChangeJavaScript(nextapp.echoservlet.RenderingContext rc)
Description copied from class: TextFieldUI
Called to return the onchange script that saves the state of the TextField and also performs client side validation. It returns a script that ends in a semi colon, ready for chaining with other scripts.

Overrides:
generateOnChangeJavaScript in class TextFieldUI
Parameters:
rc - - The rendering
Returns:
the generated onchange script
See Also:
TextFieldUI.generateOnChangeJavaScript(nextapp.echoservlet.RenderingContext)

register

public static void register()
Registers the Component with its peer bindings


clientAction

public void clientAction(java.lang.String action)
Specified by:
clientAction in interface nextapp.echoservlet.ClientActionProducer
See Also:
ClientActionProducer.clientAction(java.lang.String)

clientInput

public void clientInput(java.lang.String input)
Specified by:
clientInput in interface nextapp.echoservlet.ClientInputProducer
See Also:
ClientInputProducer.clientInput(java.lang.String)

EchoPoint
1.0