|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.gui.main.call.UIVideoHandler
public class UIVideoHandler
The UIVideoHandler is meant to handle all video related events.
| Constructor Summary | |
|---|---|
UIVideoHandler(CallRenderer callRenderer,
List<Container> videoContainers)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addMouseAndKeyListeners()
Add KeyListener, MouseListener, MouseWheelListener and MouseMotionListener to remote video component. |
OperationSetDesktopSharingClient |
addRemoteControlListener(CallPeer callPeer)
Sets up listening to remote-control notifications (granted or revoked). |
OperationSetVideoTelephony |
addVideoListener(CallPeer callPeer)
Sets up listening to notifications about adding or removing video for the CallPeer this panel depicts and displays the video in
question in the last-known of videoContainers (because the video
is represented by a Component and it cannot be displayed in
multiple Containers at one and the same time) as soon as it
arrives. |
void |
addVideoToolbar(CallPeer callPeer,
Component videoToolbar)
|
void |
addVideoToolbar(ConferenceMember conferenceMember,
Component videoToolbar)
|
Component |
getLocalVideoComponent()
Get the local video Component. |
Component |
getRemoteVideoComponent()
Deprecated. |
void |
handleVideoEvent(Call call,
VideoEvent event)
When a video is added or removed for the callPeer, makes sure to display or hide it respectively. |
boolean |
isLocalVideoVisible()
Indicates if the local video component is currently visible. |
void |
removeMouseAndKeyListeners()
Remove KeyListener, MouseListener, MouseWheelListener and MouseMotionListener to remote video component. |
void |
removeRemoteControlListener(CallPeer callPeer)
Removes the setup for listening to remote-control notifications (granted or revoked). |
void |
removeVideoListener(CallPeer callPeer,
net.java.sip.communicator.impl.gui.main.call.UIVideoHandler.VideoTelephonyListener videoTelephonyListener)
Removes the video listener |
void |
removeVideoToolbar(CallPeer callPeer)
|
void |
removeVideoToolbar(ConferenceMember conferenceMember)
|
void |
setCallRenderer(CallRenderer callRenderer)
|
void |
setLocalVideoToolbar(Component videoToolbar)
|
void |
setLocalVideoVisible(boolean isVisible)
Shows/hides the local video component. |
void |
setVideoContainersList(List<Container> videoContainers)
Set the video cotnainers list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIVideoHandler(CallRenderer callRenderer,
List<Container> videoContainers)
callRenderer - ther CallRenderervideoContainers - the video Container| Method Detail |
|---|
public void setVideoContainersList(List<Container> videoContainers)
videoContainers - the video Container listpublic void setCallRenderer(CallRenderer callRenderer)
public void addVideoToolbar(CallPeer callPeer,
Component videoToolbar)
public void addVideoToolbar(ConferenceMember conferenceMember,
Component videoToolbar)
public void removeVideoToolbar(CallPeer callPeer)
public void removeVideoToolbar(ConferenceMember conferenceMember)
public void setLocalVideoToolbar(Component videoToolbar)
public OperationSetVideoTelephony addVideoListener(CallPeer callPeer)
CallPeer this panel depicts and displays the video in
question in the last-known of videoContainers (because the video
is represented by a Component and it cannot be displayed in
multiple Containers at one and the same time) as soon as it
arrives.
public void removeVideoListener(CallPeer callPeer,
net.java.sip.communicator.impl.gui.main.call.UIVideoHandler.VideoTelephonyListener videoTelephonyListener)
public void handleVideoEvent(Call call,
VideoEvent event)
event - a VideoEvent describing the added visual
Component representing video and the provider it was added into
or null if such information is not availablepublic void addMouseAndKeyListeners()
public void removeMouseAndKeyListeners()
public OperationSetDesktopSharingClient addRemoteControlListener(CallPeer callPeer)
public void removeRemoteControlListener(CallPeer callPeer)
public void setLocalVideoVisible(boolean isVisible)
isVisible - true to show the local video, false -
otherwisepublic boolean isLocalVideoVisible()
public Component getLocalVideoComponent()
@Deprecated public Component getRemoteVideoComponent()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||