EchoPoint
1.0

echopoint.ui
Class DropDownBoxUI

java.lang.Object
  extended bynextapp.echoservlet.ComponentPeer
      extended bynextapp.echoservlet.ui.PanelUI
          extended byechopoint.ui.ScrollableBoxUI
              extended byechopoint.ui.DropDownBoxUI
All Implemented Interfaces:
nextapp.echoservlet.Alignment, nextapp.echo.event.ChangeListener, nextapp.echoservlet.ClientInputProducer, java.util.EventListener, java.beans.PropertyChangeListener, java.io.Serializable

public class DropDownBoxUI
extends ScrollableBoxUI
implements nextapp.echoservlet.ClientInputProducer, nextapp.echo.event.ChangeListener

AbstractDateFieldUI is a abstract base backend peer class for the components DateField and TimeField. It does most of the rendering calls out the implementation to provide key information.

Author:
Brad Baker
See Also:
Serialized Form

Field Summary
static nextapp.echoservlet.Service DROPDOWN_SERVICE_SCRIPT
           
protected  boolean renderedActive
           
static nextapp.echoservlet.Service SERVICE_DROP_DOWN_IMAGE
           
 
Constructor Summary
DropDownBoxUI()
           
 
Method Summary
 void clientInput(java.lang.String input)
          Called when a client sends an input string through an input field.
protected  java.lang.String createScriptAction(java.lang.String function)
          Returns a script action with the given commandStr
 nextapp.echoservlet.ComponentPeer getPeer(nextapp.echo.Component c)
          This version of getPeer returns a ComponentPeer for the given Component c or null if one cannot be found.
 void propertyChange(java.beans.PropertyChangeEvent e)
           
static void register()
          Registers the Component with its peer bindings
 void registered()
           
 void render(nextapp.echoservlet.RenderingContext rc, nextapp.echoservlet.html.Element parent)
           
 void stateChanged(nextapp.echo.event.ChangeEvent e)
           
 void unregistered()
           
 
Methods inherited from class echopoint.ui.ScrollableBoxUI
getHorizontalAlignment, getVerticalAlignment
 
Methods inherited from class nextapp.echoservlet.ComponentPeer
addAncillaryService, generateId, getBackground, getChildCount, getChildren, getComponent, getFont, getForeground, getId, getInstancePeer, getParent, 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

DROPDOWN_SERVICE_SCRIPT

public static final nextapp.echoservlet.Service DROPDOWN_SERVICE_SCRIPT

SERVICE_DROP_DOWN_IMAGE

public static final nextapp.echoservlet.Service SERVICE_DROP_DOWN_IMAGE

renderedActive

protected boolean renderedActive
See Also:
ButtonUI
Constructor Detail

DropDownBoxUI

public DropDownBoxUI()
Method Detail

register

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


clientInput

public void clientInput(java.lang.String input)
Description copied from class: ScrollableBoxUI
Called when a client sends an input string through an input field.

Specified by:
clientInput in interface nextapp.echoservlet.ClientInputProducer
Overrides:
clientInput in class ScrollableBoxUI
Parameters:
input - The data in the hidden input field in the controller form as last known.
See Also:
ClientInputProducer.clientInput(java.lang.String)

createScriptAction

protected java.lang.String createScriptAction(java.lang.String function)
Returns a script action with the given commandStr


getPeer

public nextapp.echoservlet.ComponentPeer getPeer(nextapp.echo.Component c)
This version of getPeer returns a ComponentPeer for the given Component c or null if one cannot be found. This class overrrides the default behaviour and catches any EchoServletExceptions runtime errors that might be thrown.


propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Overrides:
propertyChange in class ScrollableBoxUI
See Also:
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)

registered

public void registered()
Overrides:
registered in class ScrollableBoxUI
See Also:
EchoPointComponentPeer.registered()

render

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

unregistered

public void unregistered()

stateChanged

public void stateChanged(nextapp.echo.event.ChangeEvent e)
Specified by:
stateChanged in interface nextapp.echo.event.ChangeListener
See Also:
ChangeListener.stateChanged(nextapp.echo.event.ChangeEvent)

EchoPoint
1.0