Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.main.call
Interface CallRenderer

All Known Implementing Classes:
ConferenceCallPanel, OneToOneCallPanel

public interface CallRenderer

The CallRenderer represents a renderer for a call. All user interfaces representing a call should implement this interface.

Author:
Yana Stamcheva

Method Summary
 void conferenceMemberAdded(CallPeer callPeer, ConferenceMember conferenceMember)
          Indicates that the given conference member has been added to the given peer.
 void conferenceMemberRemoved(CallPeer callPeer, ConferenceMember conferenceMember)
          Indicates that the given conference member has been removed from the given peer.
 void ensureSize(Component component, int width, int height)
          Ensures the size of the window.
 void enterFullScreen()
          Enters in full screen mode.
 void exitFullScreen()
          Exits the full screen mode.
 Call getCall()
          Returns the call represented by this call renderer.
 CallPanel getCallContainer()
          Returns the parent call container, where this renderer is contained.
 CallPeerRenderer getCallPeerRenderer(CallPeer callPeer)
          Returns the CallPeerRenderer corresponding to the given callPeer.
 

Method Detail

getCall

Call getCall()
Returns the call represented by this call renderer.

Returns:
the call represented by this call renderer

enterFullScreen

void enterFullScreen()
Enters in full screen mode.


exitFullScreen

void exitFullScreen()
Exits the full screen mode.


ensureSize

void ensureSize(Component component,
                int width,
                int height)
Ensures the size of the window.

Parameters:
component - the component, which size should be considered
width - the desired width
height - the desired height

getCallContainer

CallPanel getCallContainer()
Returns the parent call container, where this renderer is contained.

Returns:
the parent call container, where this renderer is contained

getCallPeerRenderer

CallPeerRenderer getCallPeerRenderer(CallPeer callPeer)
Returns the CallPeerRenderer corresponding to the given callPeer.

Parameters:
callPeer - the CallPeer, for which we're looking for a renderer
Returns:
the CallPeerRenderer corresponding to the given callPeer

conferenceMemberAdded

void conferenceMemberAdded(CallPeer callPeer,
                           ConferenceMember conferenceMember)
Indicates that the given conference member has been added to the given peer.

Parameters:
callPeer - the parent call peer
conferenceMember - the member that was added

conferenceMemberRemoved

void conferenceMemberRemoved(CallPeer callPeer,
                             ConferenceMember conferenceMember)
Indicates that the given conference member has been removed from the given peer.

Parameters:
callPeer - the parent call peer
conferenceMember - the member that was removed

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.