NextApp Echo2 Extras
v2.1.0

nextapp.echo2.extras.webcontainer
Class DropDownMenuPeer

java.lang.Object
  extended by nextapp.echo2.extras.webcontainer.DropDownMenuPeer

public class DropDownMenuPeer
extends java.lang.Object


Field Summary
static java.lang.String IMAGE_ID_DISABLED_EXPAND_ICON
           
static java.lang.String IMAGE_ID_EXPAND_ICON
           
static Service MENU_SERVICE
          Service to provide supporting JavaScript library.
 
Constructor Summary
DropDownMenuPeer()
           
 
Method Summary
 java.lang.String getContainerId(Component component)
           
 ImageReference getImage(Component component, java.lang.String imageId)
           
 void processAction(ContainerInstance ci, Component component, org.w3c.dom.Element element)
           
 void renderAdd(RenderContext rc, ServerComponentUpdate update, java.lang.String targetId, Component component)
           
 void renderDispose(RenderContext rc, ServerComponentUpdate update, Component component)
           
 boolean renderUpdate(RenderContext rc, ServerComponentUpdate update, java.lang.String targetId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMAGE_ID_DISABLED_EXPAND_ICON

public static final java.lang.String IMAGE_ID_DISABLED_EXPAND_ICON
See Also:
Constant Field Values

IMAGE_ID_EXPAND_ICON

public static final java.lang.String IMAGE_ID_EXPAND_ICON
See Also:
Constant Field Values

MENU_SERVICE

public static final Service MENU_SERVICE
Service to provide supporting JavaScript library.

Constructor Detail

DropDownMenuPeer

public DropDownMenuPeer()
Method Detail

getImage

public ImageReference getImage(Component component,
                               java.lang.String imageId)
See Also:
nextapp.echo2.extras.webcontainer.AbstractMenuPeer#getImage(nextapp.echo2.app.Component, java.lang.String)

getContainerId

public java.lang.String getContainerId(Component component)
See Also:
nextapp.echo2.webcontainer.ComponentSynchronizePeer#getContainerId(nextapp.echo2.app.Component)

processAction

public void processAction(ContainerInstance ci,
                          Component component,
                          org.w3c.dom.Element element)
See Also:
nextapp.echo2.webcontainer.ActionProcessor#processAction(nextapp.echo2.webcontainer.ContainerInstance, nextapp.echo2.app.Component, org.w3c.dom.Element)

renderAdd

public void renderAdd(RenderContext rc,
                      ServerComponentUpdate update,
                      java.lang.String targetId,
                      Component component)
See Also:
nextapp.echo2.webcontainer.ComponentSynchronizePeer#renderAdd(nextapp.echo2.webcontainer.RenderContext, nextapp.echo2.app.update.ServerComponentUpdate, java.lang.String, nextapp.echo2.app.Component)

renderDispose

public void renderDispose(RenderContext rc,
                          ServerComponentUpdate update,
                          Component component)
See Also:
nextapp.echo2.webcontainer.ComponentSynchronizePeer#renderDispose( nextapp.echo2.webcontainer.RenderContext, nextapp.echo2.app.update.ServerComponentUpdate, nextapp.echo2.app.Component)

renderUpdate

public boolean renderUpdate(RenderContext rc,
                            ServerComponentUpdate update,
                            java.lang.String targetId)
See Also:
nextapp.echo2.webcontainer.ComponentSynchronizePeer#renderUpdate(nextapp.echo2.webcontainer.RenderContext, nextapp.echo2.app.update.ServerComponentUpdate, java.lang.String)

NextApp Echo2 Extras
v2.1.0