Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.main.call
Class DesktopSharingFrame

java.lang.Object
  extended by net.java.sip.communicator.impl.gui.main.call.DesktopSharingFrame

public class DesktopSharingFrame
extends Object

Author:
Yana Stamcheva

Constructor Summary
DesktopSharingFrame()
           
 
Method Summary
static TransparentFrame createTransparentFrame(Call call, boolean initialFrame)
          Creates the transparent desktop sharing frame.
static TransparentFrame createTransparentFrame(ProtocolProviderService protocolProvider, String contactAddress, boolean initialFrame)
          Creates the transparent desktop sharing frame.
static JFrame getFrameForCall(Call call)
          Get the frame for a Call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesktopSharingFrame

public DesktopSharingFrame()
Method Detail

createTransparentFrame

public static TransparentFrame createTransparentFrame(ProtocolProviderService protocolProvider,
                                                      String contactAddress,
                                                      boolean initialFrame)
Creates the transparent desktop sharing frame.

Parameters:
protocolProvider - the protocol provider, through which the desktop sharing will pass
contactAddress - the address of the contact to call
initialFrame - indicates if this is the frame which initiates the desktop sharing
Returns:
the created desktop sharing frame

createTransparentFrame

public static TransparentFrame createTransparentFrame(Call call,
                                                      boolean initialFrame)
Creates the transparent desktop sharing frame.

Parameters:
call - the current call
initialFrame - indicates if this is the frame which initiates the desktop sharing
Returns:
the created desktop sharing frame

getFrameForCall

public static JFrame getFrameForCall(Call call)
Get the frame for a Call.

Parameters:
call - the Call
Returns:
JFrame for the call or null if not found

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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