|
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.BasicConferenceParticipantPanel
public abstract class BasicConferenceParticipantPanel
The basic panel used to render any conference participant. Meant to be extended for CallPeers and ConferenceMembers.
| 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 | |
|---|---|
protected SecurityStatusLabel |
securityStatusLabel
The security status of the peer |
| 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 | |
|---|---|
BasicConferenceParticipantPanel(CallRenderer renderer,
boolean isLocalPeer)
Creates an instance of ConferenceParticipantPanel. |
|
| Method Summary | |
|---|---|
void |
addToCenter(Component component)
Adds the given component to the center below the sound bar. |
void |
addToNameBar(Component component)
Adds the given component to the name bar. |
void |
addToStatusBar(Component component)
Adds the given component to the status bar. |
void |
loadSkin()
Reloads default avatar icon. |
void |
paintComponent(Graphics g)
Overrides JComponent.paintComponent(Graphics) in order to
customize the background of this panel. |
void |
securityOff(CallPeerSecurityOffEvent evt)
Indicates that the security has gone off. |
void |
securityOn(CallPeerSecurityOnEvent evt)
Indicates that the security is turned on. |
protected void |
setErrorReason(String reason)
Sets the reason of a call failure if one occurs. |
void |
setParticipantImage(byte[] image)
Sets the image of the participant. |
void |
setParticipantName(String participantName)
Sets the name of the participant. |
void |
setParticipantState(String participantState)
Sets the state of the participant. |
protected void |
setTitleBackground(Color color)
Sets the background color of the title panel. |
void |
updateSoundBar(int soundLevel)
Updates the sound level bar to reflect the new sound level value. |
| 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 |
| Field Detail |
|---|
protected SecurityStatusLabel securityStatusLabel
| Constructor Detail |
|---|
public BasicConferenceParticipantPanel(CallRenderer renderer,
boolean isLocalPeer)
renderer - the renderer for the callisLocalPeer - if the peer is the local ones| Method Detail |
|---|
public void setParticipantName(String participantName)
participantName - the name of the participantpublic void setParticipantState(String participantState)
participantState - the state of the participantpublic void setParticipantImage(byte[] image)
image - the image to setpublic void addToStatusBar(Component component)
component - the component to addpublic void addToNameBar(Component component)
component - the component to addpublic void addToCenter(Component component)
component - the component to addpublic void updateSoundBar(int soundLevel)
soundLevel - the new sound level valuepublic 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 paintingprotected void setTitleBackground(Color color)
color - the background color to setprotected void setErrorReason(String reason)
reason - the reason to displaypublic void loadSkin()
loadSkin in interface Skinnablepublic void securityOn(CallPeerSecurityOnEvent evt)
Sets the secured status icon to the status panel and initializes/updates the corresponding security details.
evt - Details about the event that caused this message.public void securityOff(CallPeerSecurityOffEvent evt)
evt - Details about the event that caused this message.
|
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 | |||||||||