EchoPoint
1.0

echopoint.ui.util
Interface PeerDelegate

All Known Implementing Classes:
EchoPointComponentPeer

public interface PeerDelegate

The PeerDelegate is used to indicate objects that can provide ComponentPeer services, without necessarily being a peer.


Method Summary
 nextapp.echoservlet.ComponentStyle forComponent()
           
 nextapp.echoservlet.ComponentStyle forComponent(boolean findBackground)
           
 nextapp.echoservlet.ComponentPeer[] getChildren()
          Returns the peers for all of the referenced component's visible children.
 nextapp.echoservlet.Id getId()
          Returns the Id by which this peer delegate is identified with
 nextapp.echoservlet.ComponentPeer getPeer(nextapp.echo.Component component)
          Returns a ComponentPeer for a given Component or null if it cannot be obtained.
 ToolTipPopUpSupportHelper getToolTipHelper()
          Returns a ToolTipPopUpSupportHelper for creating tool tips
 

Method Detail

getPeer

public nextapp.echoservlet.ComponentPeer getPeer(nextapp.echo.Component component)
Returns a ComponentPeer for a given Component or null if it cannot be obtained. The implementation should not throw an exception if the peer cannot be found.

Parameters:
component - - the component to find the peer for.
Returns:
- the component peer or null

forComponent

public nextapp.echoservlet.ComponentStyle forComponent()
See Also:
ComponentStyle.forComponent(ComponentPeer)

forComponent

public nextapp.echoservlet.ComponentStyle forComponent(boolean findBackground)
See Also:
ComponentStyle.forComponent(ComponentPeer, boolean)

getToolTipHelper

public ToolTipPopUpSupportHelper getToolTipHelper()
Returns a ToolTipPopUpSupportHelper for creating tool tips

Returns:
a ToolTipPopUpSupportHelper for creating tool tips

getId

public nextapp.echoservlet.Id getId()
Returns the Id by which this peer delegate is identified with

Returns:
the Id by which this peer delegate is identified with

getChildren

public nextapp.echoservlet.ComponentPeer[] getChildren()
Returns the peers for all of the referenced component's visible children.

Returns:
The peers of all visible child components of this peer's represented component.

EchoPoint
1.0