|
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.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.java.sip.communicator.util.swing.TransparentPanel
net.java.sip.communicator.impl.gui.main.call.OneToOneCallPanel
public class OneToOneCallPanel
The CallPanel is the panel containing call information. It's created and added to the main tabbed pane when user makes or receives calls. It shows information about call peers, call duration, etc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
OneToOneCallPanel(CallPanel callContainer,
Call call,
CallPeer callPeer)
Creates a call panel for the corresponding call, by specifying the call type (incoming or outgoing) and the parent dialog. |
|
OneToOneCallPanel(CallPanel callContainer,
Call call,
CallPeer callPeer,
UIVideoHandler videoHandler)
Creates a call panel for the corresponding call, by specifying the call type (incoming or outgoing) and the parent dialog. |
|
| Method Summary | |
|---|---|
void |
addCallPeerPanel(CallPeer peer)
Creates and adds a panel for a call peer. |
void |
addCallPeerPanel(CallPeer peer,
UIVideoHandler videoHandler)
Creates and adds a panel for a call peer. |
void |
addDesktopSharingComponents()
Adds all desktop sharing related components to this container. |
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)
Attempts to give a specific Component a visible rectangle with a specific width and a specific height if possible and sane. |
void |
enterFullScreen()
Enters 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. |
void |
removeDesktopSharingComponents()
Removes all desktop sharing related components from this container. |
void |
setPeerName(String name)
Sets the name of the peer. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OneToOneCallPanel(CallPanel callContainer,
Call call,
CallPeer callPeer)
callContainer - the container containing this panelcall - the call corresponding to this panelcallPeer - the remote participant in the call
public OneToOneCallPanel(CallPanel callContainer,
Call call,
CallPeer callPeer,
UIVideoHandler videoHandler)
callContainer - the container containing this panelcall - the call corresponding to this panelcallPeer - the remote participant in the call| Method Detail |
|---|
public void addCallPeerPanel(CallPeer peer,
UIVideoHandler videoHandler)
peer - the call peerpublic void addCallPeerPanel(CallPeer peer)
peer - the call peerpublic void enterFullScreen()
enterFullScreen in interface CallRendererpublic void exitFullScreen()
exitFullScreen in interface CallRenderer
public void ensureSize(Component component,
int width,
int height)
ensureSize in interface CallRenderercomponent - the Component to be given a visible rectangle
with the specified width and heightwidth - the width of the visible rectangle to be given to the
specified Componentheight - the height of the visible rectangle to be given to the
specified Componentpublic void addDesktopSharingComponents()
public void removeDesktopSharingComponents()
public CallPeerRenderer getCallPeerRenderer(CallPeer callPeer)
getCallPeerRenderer in interface CallRenderercallPeer - the CallPeer, for which we're looking for a
renderer
public Call getCall()
getCall in interface CallRendererpublic CallPanel getCallContainer()
getCallContainer in interface CallRendererpublic void setPeerName(String name)
name - the name of the peer
public void conferenceMemberAdded(CallPeer callPeer,
ConferenceMember conferenceMember)
conferenceMemberAdded in interface CallRenderercallPeer - the parent call peerconferenceMember - the member that was added
public void conferenceMemberRemoved(CallPeer callPeer,
ConferenceMember conferenceMember)
conferenceMemberRemoved in interface CallRenderercallPeer - the parent call peerconferenceMember - the member that was removed
|
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 | |||||||||