public class ReceivedCallDialog extends PreCallDialog implements java.awt.event.ActionListener, CallListener, Skinnable
Constructor and Description |
---|
ReceivedCallDialog(Call call,
boolean video,
boolean existingCall,
boolean desktopStreaming)
Creates a ReceivedCallDialog by specifying the associated call.
|
Modifier and Type | Method and Description |
---|---|
void |
callButtonPressed()
Answers the call when the call button has been pressed.
|
void |
callEnded(CallEvent event)
Indicates that all peers have left the source call and that it has
been ended.
|
void |
dispose()
Disposes this window.
|
void |
hangupButtonPressed()
Hangups the call when the call button has been pressed.
|
void |
incomingCallReceived(CallEvent event)
Indicates that an incoming call has been received.
|
void |
mergeCallButtonPressed()
Answers the call in an existing call when the existing call
button has been pressed.
|
void |
outgoingCallCreated(CallEvent event)
Indicates that an outgoing call has been created.
|
void |
videoCallButtonPressed()
Answers the call when the call button has been pressed.
|
actionPerformed, getAccountsCombo, getCallLabels, isVisible, loadSkin, pack, setVisible
public ReceivedCallDialog(Call call, boolean video, boolean existingCall, boolean desktopStreaming)
call
- The associated with this dialog incoming call.video
- if the call is a video callexistingCall
- true to answer the call in an existing call (thus
obtaining a conference call)desktopStreaming
- whether the incoming call is desktop streamingpublic void callEnded(CallEvent event)
callEnded
in interface CallListener
event
- a CallEvent which specifies the Call that
has endedpublic void dispose()
PreCallDialog
dispose
in class PreCallDialog
public void incomingCallReceived(CallEvent event)
incomingCallReceived
in interface CallListener
event
- a CallEvent instance describing the new incoming callpublic void outgoingCallCreated(CallEvent event)
outgoingCallCreated
in interface CallListener
event
- a CalldEvent instance describing the new incoming call.public void callButtonPressed()
callButtonPressed
in class PreCallDialog
public void mergeCallButtonPressed()
mergeCallButtonPressed
in class PreCallDialog
public void videoCallButtonPressed()
videoCallButtonPressed
in class PreCallDialog
public void hangupButtonPressed()
hangupButtonPressed
in class PreCallDialog
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.