echopoint.ui
Class DialogPanelUI

java.lang.Object
  extended by nextapp.echoservlet.AbstractComponentPeer
      extended by echopoint.ui.util.EchoPointComponentPeer
          extended by echopoint.ui.DialogPanelUI
All Implemented Interfaces:
PeerDelegate, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, ChangeListener, ImageUpdateListener, ClientInputProducer, ComponentPeer

public class DialogPanelUI
extends EchoPointComponentPeer
implements ClientInputProducer

DialogPanelUI is the backend peer class for the component DialogPanel. Note that this relies on CSS 2.0 support in the client browser.

See Also:
Serialized Form

Nested Class Summary
static class DialogPanelUI.DepthComparator
           
 
Field Summary
 java.lang.String browserLeft
           
 java.lang.String browserTop
           
 java.lang.String coverLeft
           
 java.lang.String coverTop
           
static Service SERVICE_DIALOG_COVER_IMAGE
           
static StaticText SERVICE_DIALOG_SCRIPT
           
static Service SERVICE_TRANSPARENT_1x1_IMAGE
           
 
Fields inherited from interface nextapp.echoservlet.ComponentPeer
IGNORE_PROPERTY_CHANGE
 
Constructor Summary
DialogPanelUI()
           
 
Method Summary
 void clientInput(java.lang.String input)
          Called when a client sends an input string through an input field.
static java.lang.String getInitializeScript(Connection connection, InstancePeer instancePeer, java.util.List allDialogs, java.util.List peers)
           
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(RenderingContext rc, Element parent)
          Renders the DialogPanel
 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.AbstractComponentPeer
addAncillaryService, generateId, getCalculatedBackground, getCalculatedFont, getCalculatedForeground, getChildCount, getComponent, getFocusedElementId, getId, getInstancePeer, getParentComponentPeer, 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
 
Methods inherited from interface echopoint.ui.util.PeerDelegate
getId
 

Field Detail

SERVICE_DIALOG_SCRIPT

public static final StaticText SERVICE_DIALOG_SCRIPT

SERVICE_DIALOG_COVER_IMAGE

public static final Service SERVICE_DIALOG_COVER_IMAGE

SERVICE_TRANSPARENT_1x1_IMAGE

public static final Service SERVICE_TRANSPARENT_1x1_IMAGE

browserLeft

public java.lang.String browserLeft

browserTop

public java.lang.String browserTop

coverLeft

public java.lang.String coverLeft

coverTop

public java.lang.String coverTop
Constructor Detail

DialogPanelUI

public DialogPanelUI()
Method Detail

clientInput

public void clientInput(java.lang.String input)
Called when a client sends an input string through an input field.

Specified by:
clientInput in interface ClientInputProducer
Parameters:
input - The data in the hidden input field in the controller form as last known.

register

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


render

public void render(RenderingContext rc,
                   Element parent)
Renders the DialogPanel

Specified by:
render in interface ComponentPeer
Overrides:
render in class AbstractComponentPeer
Parameters:
rc - A rendering context provided by the Connection.
parent - The element that will contain content rendered by this ComponentPeer.

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.

Specified by:
registered in interface ComponentPeer
Overrides:
registered in class EchoPointComponentPeer

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.

Specified by:
unregistered in interface ComponentPeer
Overrides:
unregistered in class EchoPointComponentPeer

getInitializeScript

public static java.lang.String getInitializeScript(Connection connection,
                                                   InstancePeer instancePeer,
                                                   java.util.List allDialogs,
                                                   java.util.List peers)