Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.main.call
Class ChooseCallAccountDialog

java.lang.Object
  extended by net.java.sip.communicator.impl.gui.main.call.PreCallDialog
      extended by net.java.sip.communicator.impl.gui.main.call.ChooseCallAccountDialog
All Implemented Interfaces:
ActionListener, EventListener, Skinnable

public class ChooseCallAccountDialog
extends PreCallDialog

A dialog allowing the user to choose a specific account from a given list.

Author:
Yana Stamcheva

Constructor Summary
ChooseCallAccountDialog(String contactAddress, Class<? extends OperationSet> opSetClass, List<ProtocolProviderService> providers)
          Creates an instance of ChooseCallAccountDialog.
 
Method Summary
 void callButtonPressed()
          Calls through the selected account when the call button is pressed.
 void hangupButtonPressed()
          Disposes the dialog when the hangup button is pressed.
 void mergeCallButtonPressed()
          Indicates that the conference call button has been pressed.
 void videoCallButtonPressed()
          Not used.
 
Methods inherited from class net.java.sip.communicator.impl.gui.main.call.PreCallDialog
actionPerformed, dispose, getAccountsCombo, getCallLabels, isVisible, loadSkin, pack, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChooseCallAccountDialog

public ChooseCallAccountDialog(String contactAddress,
                               Class<? extends OperationSet> opSetClass,
                               List<ProtocolProviderService> providers)
Creates an instance of ChooseCallAccountDialog.

Parameters:
contactAddress - the contact address to be called after an account has been chosen
opSetClass - the operation set class that specifies the operation we're going to make
providers - the list of providers to choose from
Method Detail

callButtonPressed

public void callButtonPressed()
Calls through the selected account when the call button is pressed.

Specified by:
callButtonPressed in class PreCallDialog

mergeCallButtonPressed

public void mergeCallButtonPressed()
Indicates that the conference call button has been pressed.

Specified by:
mergeCallButtonPressed in class PreCallDialog

hangupButtonPressed

public void hangupButtonPressed()
Disposes the dialog when the hangup button is pressed.

Specified by:
hangupButtonPressed in class PreCallDialog

videoCallButtonPressed

public void videoCallButtonPressed()
Not used.

Specified by:
videoCallButtonPressed in class PreCallDialog

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.