EchoPoint
1.0

echopoint.ui
Class PickListUI

java.lang.Object
  extended bynextapp.echoservlet.ComponentPeer
      extended byechopoint.ui.util.EchoPointComponentPeer
          extended byechopoint.ui.PickListUI
All Implemented Interfaces:
nextapp.echo.event.ChangeListener, nextapp.echoservlet.ClientInputProducer, java.util.EventListener, nextapp.echo.event.ImageUpdateListener, nextapp.echo.event.ListDataListener, PeerDelegate, java.beans.PropertyChangeListener, java.io.Serializable

public class PickListUI
extends EchoPointComponentPeer
implements nextapp.echoservlet.ClientInputProducer, nextapp.echo.event.ListDataListener

PickListUI is the backend peer class for the component PickList.

Author:
Brad Baker
See Also:
Serialized Form

Field Summary
static nextapp.echoservlet.Service SERVICE_PICKLIST_SCRIPT
           
 
Fields inherited from class echopoint.ui.util.EchoPointComponentPeer
renderedActive
 
Constructor Summary
PickListUI()
           
 
Method Summary
 void clientInput(java.lang.String input)
          Called when a client sends an input string through an input field.
 void contentsChanged(nextapp.echo.event.ListDataEvent e)
          Indicates that the contents of the list have change.
 void intervalAdded(nextapp.echo.event.ListDataEvent e)
          Indicates that one or more items have been added to the list.
 void intervalRemoved(nextapp.echo.event.ListDataEvent e)
          Indicates that one or more items have been removed from the list.
static void register()
          Registers the Component with its peer bindings
 void registered()
          This adds itself as a property change listener to the component, which calls redraw(), and then creates a ToolTipPopUpSupportHelper.
 void render(nextapp.echoservlet.RenderingContext rc, nextapp.echoservlet.html.Element parent)
           
 void renderButtons(nextapp.echoservlet.RenderingContext rc, nextapp.echoservlet.html.Element parent, PickList pl)
          Renders the Buttons
 void renderListBox(nextapp.echoservlet.RenderingContext rc, nextapp.echoservlet.html.Element parent, PickList pl, boolean isLeftListBox)
          Renders the a ListBox
 void unregistered()
          This removes the property change listener and then calls toolTipHelper.unregistered();.
 
Methods inherited from class echopoint.ui.util.EchoPointComponentPeer
addOnce, addOnce, addScriptInclude, copyChildrenExcept, copyChildrenExcept, forComponent, forComponent, forComponent, forComponent, getChildren, getImage, getImageManager, getImageUri, getPeer, getPeer, getToolTipHelper, getUri, hasBeenAdded, imageUpdate, propertyChange, removeAllImages, removeAllManagedImages, removeNewLinesAndJSQuote, removeNewLinesAndJSQuote, setImage, stateChanged, trackImage
 
Methods inherited from class nextapp.echoservlet.ComponentPeer
addAncillaryService, generateId, getBackground, getChildCount, 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
 
Methods inherited from interface echopoint.ui.util.PeerDelegate
getId
 

Field Detail

SERVICE_PICKLIST_SCRIPT

public static final nextapp.echoservlet.Service SERVICE_PICKLIST_SCRIPT
Constructor Detail

PickListUI

public PickListUI()
Method Detail

clientInput

public void clientInput(java.lang.String input)
Called when a client sends an input string through an input field. The input field format is : left@m1,m2,...mN@s1,s2..sN|right@m1,m2,...mN@s1,s2...sN|

Specified by:
clientInput in interface nextapp.echoservlet.ClientInputProducer

contentsChanged

public void contentsChanged(nextapp.echo.event.ListDataEvent e)
Indicates that the contents of the list have change.

Specified by:
contentsChanged in interface nextapp.echo.event.ListDataListener
Parameters:
e - The ListDataEvent describing the update.

intervalAdded

public void intervalAdded(nextapp.echo.event.ListDataEvent e)
Indicates that one or more items have been added to the list.

Specified by:
intervalAdded in interface nextapp.echo.event.ListDataListener
Parameters:
e - The ListDataEvent describing the update.

intervalRemoved

public void intervalRemoved(nextapp.echo.event.ListDataEvent e)
Indicates that one or more items have been removed from the list.

Specified by:
intervalRemoved in interface nextapp.echo.event.ListDataListener
Parameters:
e - The ListDataEvent describing the update.

register

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


registered

public void registered()
Description copied from class: EchoPointComponentPeer
This adds itself as a property change listener to the component, which calls redraw(), and then creates a ToolTipPopUpSupportHelper.

Overrides:
registered in class EchoPointComponentPeer
See Also:
EchoPointComponentPeer.registered()

render

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

renderButtons

public void renderButtons(nextapp.echoservlet.RenderingContext rc,
                          nextapp.echoservlet.html.Element parent,
                          PickList pl)
Renders the Buttons


renderListBox

public void renderListBox(nextapp.echoservlet.RenderingContext rc,
                          nextapp.echoservlet.html.Element parent,
                          PickList pl,
                          boolean isLeftListBox)
Renders the a ListBox


unregistered

public void unregistered()
Description copied from class: EchoPointComponentPeer
This removes the property change listener and then calls toolTipHelper.unregistered();. If there is an ImageManager, then all images are removed.

Overrides:
unregistered in class EchoPointComponentPeer

EchoPoint
1.0