|
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.conference.ConferenceFocusPanel
public class ConferenceFocusPanel
| 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 | |
|---|---|
ConferenceFocusPanel(ConferenceCallPanel callRenderer,
CallPanel callPanel,
CallPeer callPeer,
UIVideoHandler videoHandler)
Creates an instance of ConferenceFocusPanel by specifying the parent call renderer, the call panel and the peer represented by this conference focus panel. |
|
| Method Summary | |
|---|---|
void |
addConferenceMemberPanel(ConferenceMember member)
Adds a ConferenceMemberPanel for a given ConferenceMember. |
void |
addFocusPeerPanel()
Adds the focus peer panel. |
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. |
CallPanel |
getCallPanel()
Returns the parent CallPanel containing this renderer. |
CallPeerAdapter |
getCallPeerAdapter()
Returns the call peer adapter that manages all related listeners. |
CallRenderer |
getCallRenderer()
Returns the parent call renderer. |
Component |
getComponent()
Returns the component associated with this renderer. |
ConferenceMembersSoundLevelListener |
getConferenceMembersSoundLevelListener()
Returns the listener instance and created if needed. |
SoundLevelListener |
getStreamSoundLevelListener()
Returns the listener instance and created if needed. |
UIVideoHandler |
getVideoHandler()
Returns the video handler associated with this call peer renderer. |
boolean |
isLocalVideoVisible()
Indicates if the local video component is currently visible. |
void |
loadSkin()
Reloads default avatar icon. |
void |
paintComponent(Graphics g)
Overrides JComponent.paintComponent(Graphics) in order to
customize the background of this panel. |
void |
printDTMFTone(char dtmfChar)
Prints the given DTMG character through this CallPeerRenderer. |
void |
removeConferenceMemberPanel(ConferenceMember member)
Removes the ConferenceMemberPanel corresponding to the given member. |
void |
securityNegotiationStarted(CallPeerSecurityNegotiationStartedEvent securityNegotiationStartedEvent)
The handler for the security event received. |
void |
securityOff(CallPeerSecurityOffEvent evt)
Indicates that the security is turned off. |
void |
securityOn(CallPeerSecurityOnEvent evt)
Indicates that the security is turned on. |
void |
securityPending()
Indicates that the security status is pending confirmation. |
void |
securityTimeout(CallPeerSecurityTimeoutEvent evt)
Indicates that the security is timeouted, is not supported by the other end. |
void |
setCallPeerAdapter(CallPeerAdapter adapter)
Sets the call peer adapter that manages all related listeners. |
void |
setErrorReason(String reason)
Sets the reason of a call failure if one occurs. |
void |
setLocalVideoVisible(boolean isVisible)
Shows/hides the local video component. |
void |
setMute(boolean isMute)
Sets the mute property value. |
void |
setOnHold(boolean isOnHold)
Sets the "on hold" property value. |
void |
setPeerImage(byte[] image)
Sets the image of the peer. |
void |
setPeerName(String name)
Sets the name of the peer. |
void |
setPeerState(CallPeerState oldState,
CallPeerState newState,
String stateString)
Sets the state of the contained call peer by specifying the state name. |
void |
setSecurityPanelVisible(boolean isVisible)
Shows/hides the security panel. |
| 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 ConferenceFocusPanel(ConferenceCallPanel callRenderer,
CallPanel callPanel,
CallPeer callPeer,
UIVideoHandler videoHandler)
callRenderer - the parent call renderercallPanel - the call panelcallPeer - the peer represented by this focus panelvideoHandler - the video handler| Method Detail |
|---|
public void addFocusPeerPanel()
public void addConferenceMemberPanel(ConferenceMember member)
member - the ConferenceMember that will correspond to the
panel to add.public void removeConferenceMemberPanel(ConferenceMember member)
member - the ConferenceMember, which panel to removepublic void paintComponent(Graphics g)
JComponent.paintComponent(Graphics) in order to
customize the background of this panel.
paintComponent in class JComponentg - the Graphics object used for paintingpublic void loadSkin()
loadSkin in interface Skinnablepublic void setPeerName(String name)
setPeerName in interface CallPeerRenderername - the name of the peerpublic void setPeerImage(byte[] image)
setPeerImage in interface CallPeerRendererimage - the image to set
public void setPeerState(CallPeerState oldState,
CallPeerState newState,
String stateString)
setPeerState in interface CallPeerRendereroldState - the previous state of the peernewState - the new state of the peerstateString - the state of the contained call peerpublic void setErrorReason(String reason)
setErrorReason in interface CallPeerRendererreason - the reason of the error to setpublic void setMute(boolean isMute)
setMute in interface CallPeerRendererisMute - indicates if the call with this peer is
mutedpublic void setOnHold(boolean isOnHold)
setOnHold in interface CallPeerRendererisOnHold - indicates if the call with this peer is put on holdpublic void securityOn(CallPeerSecurityOnEvent evt)
securityOn in interface CallPeerRendererevt - Details about the event that caused this message.public void securityOff(CallPeerSecurityOffEvent evt)
securityOff in interface CallPeerRendererevt - Details about the event that caused this message.public void securityPending()
securityPending in interface CallPeerRendererpublic void securityTimeout(CallPeerSecurityTimeoutEvent evt)
securityTimeout in interface CallPeerRendererevt - Details about the event that caused this message.public void securityNegotiationStarted(CallPeerSecurityNegotiationStartedEvent securityNegotiationStartedEvent)
securityNegotiationStarted in interface CallPeerRenderersecurityNegotiationStartedEvent - the security started event receivedpublic void setCallPeerAdapter(CallPeerAdapter adapter)
setCallPeerAdapter in interface CallPeerRendereradapter - the call peer adapterpublic CallPeerAdapter getCallPeerAdapter()
getCallPeerAdapter in interface CallPeerRendererpublic void printDTMFTone(char dtmfChar)
printDTMFTone in interface CallPeerRendererdtmfChar - the DTMF char to printpublic CallPanel getCallPanel()
getCallPanel in interface CallPeerRendererpublic CallRenderer getCallRenderer()
getCallRenderer in interface CallPeerRendererpublic void setLocalVideoVisible(boolean isVisible)
setLocalVideoVisible in interface CallPeerRendererisVisible - true to show the local video, false -
otherwisepublic boolean isLocalVideoVisible()
isLocalVideoVisible in interface CallPeerRendererpublic Component getComponent()
getComponent in interface CallPeerRenderer
public void conferenceMemberAdded(CallPeer callPeer,
ConferenceMember conferenceMember)
callPeer - the parent call peerconferenceMember - the member that was added
public void conferenceMemberRemoved(CallPeer callPeer,
ConferenceMember conferenceMember)
callPeer - the parent call peerconferenceMember - the member that was removedpublic ConferenceMembersSoundLevelListener getConferenceMembersSoundLevelListener()
getConferenceMembersSoundLevelListener in interface ConferenceCallPeerRendererpublic SoundLevelListener getStreamSoundLevelListener()
getStreamSoundLevelListener in interface ConferenceCallPeerRendererpublic UIVideoHandler getVideoHandler()
getVideoHandler in interface CallPeerRendererpublic void setSecurityPanelVisible(boolean isVisible)
setSecurityPanelVisible in interface CallPeerRendererisVisible - true to show the security panel, false
to hide it
|
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 | |||||||||