📄 guicallback.java
字号:
/**
* $Revision: $
* $Date: $
*
* Copyright (C) 2007 Jive Software. All rights reserved.
*
* This software is published under the terms of the GNU Lesser Public License (LGPL),
* a copy of which is included in this distribution.
*/
package net.java.sipmack.softphone.gui;
import net.java.sipmack.sip.InterlocutorUI;
/**
* Title: SIPark
* Description:JAIN-SIP Audio/Video phone application
*
* @author Thiago Rocha Camargo (thiago@jivesoftware.com)
* <p/>
* The <code>GuiCallback</code> interface to call GUI methods
*/
public interface GuiCallback {
/**
* Dial a number
*
* @param callee Number to be called
*/
public void dial(String callee);
/**
* Answer the current ringing call
*/
public boolean answer();
/**
* Hangup all current calls
*/
public boolean hangupAll();
/**
* Hangup the call associated with the informed InterlocutorUI
* @param interlocutorUI
* @return
*/
public boolean hangup(InterlocutorUI interlocutorUI);
/**
* Update the interlocutor
*
* @param interlocutorUI To be updated
*/
public void update(InterlocutorUI interlocutorUI);
/**
* Remove an interlocutor
*
* @param interlocutorUI To be removed
*/
public void remove(InterlocutorUI interlocutorUI);
/**
* Start to play a wav.
*
* @param alertResourceName The wav to be played
*/
public void startAlert(String alertResourceName);
/**
* Stop to play a wav.
*
* @param alertResourceName The wav to be stop
*/
public void stopAlert(String alertResourceName);
/**
* Get the autoAnswer option
*
* @return The value
*/
public boolean getAutoAnswer();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -