public abstract class PreCallDialog extends java.lang.Object implements java.awt.event.ActionListener, Skinnable
Constructor and Description |
---|
PreCallDialog(java.lang.String title,
boolean video,
boolean existingCall)
Creates an instance of PreCallDialog by specifying the dialog
title.
|
PreCallDialog(java.lang.String title,
java.lang.String text,
Account[] accounts)
Creates an instance of PreCallDialog by specifying the dialog
title and the text to show.
|
PreCallDialog(java.lang.String title,
java.lang.String text,
Account[] accounts,
boolean video,
boolean existingCall)
Creates an instance of PreCallDialog by specifying the dialog
title and the text to show.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Handles ActionEvents triggered by pressing the call or the
hangup buttons.
|
abstract void |
callButtonPressed()
Indicates that the call button has been pressed.
|
void |
dispose()
Disposes this window.
|
javax.swing.JComboBox |
getAccountsCombo()
Returns the accounts combo box contained in this dialog.
|
javax.swing.JLabel[] |
getCallLabels()
Returns the labels contained in this dialog.
|
abstract void |
hangupButtonPressed()
Indicates that the hangup button has been pressed.
|
boolean |
isVisible()
Indicates if this dialog is currently visible.
|
void |
loadSkin()
Reloads icons.
|
abstract void |
mergeCallButtonPressed()
Indicates that the conference call button has been pressed.
|
void |
pack()
Packs the content of this dialog.
|
void |
setVisible(boolean isVisible)
Shows/hides this dialog.
|
abstract void |
videoCallButtonPressed()
Indicates that the video call button has been pressed.
|
public PreCallDialog(java.lang.String title, boolean video, boolean existingCall)
title
- the title of the dialogvideo
- if it is a video callexistingCall
- true to answer call in an existing callpublic PreCallDialog(java.lang.String title, java.lang.String text, Account[] accounts)
title
- the title of the dialogtext
- the text to showaccounts
- the list of accounts to choose frompublic PreCallDialog(java.lang.String title, java.lang.String text, Account[] accounts, boolean video, boolean existingCall)
title
- the title of the dialogtext
- the text to showaccounts
- the list of accounts to choose fromvideo
- if it is a video callexistingCall
- true to answer call in an existing callpublic void pack()
public void setVisible(boolean isVisible)
isVisible
- indicates if this dialog should be shown or hiddenpublic boolean isVisible()
public void dispose()
public javax.swing.JLabel[] getCallLabels()
public javax.swing.JComboBox getAccountsCombo()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- The ActionEvent to handle.public abstract void callButtonPressed()
public abstract void mergeCallButtonPressed()
public abstract void hangupButtonPressed()
public abstract void videoCallButtonPressed()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.