Class Calls

java.lang.Object
  extended by Calls
All Implemented Interfaces:
javax.telephony.CallObserver

public class Calls
extends java.lang.Object
implements javax.telephony.CallObserver


Constructor Summary
Calls(javax.swing.JButton btnAns, javax.swing.JButton btnHang, javax.swing.JButton btnCall, javax.swing.JTextArea txtState, javax.swing.JLabel lblCID, javax.swing.JComboBox lstLines, javax.swing.JTextField txtNo, java.applet.AudioClip clip)
          Is the only constructor, it receives all the GUI instances that this class may need to access
 
Method Summary
 void answerCall()
           
 void callChangedEvent(javax.telephony.events.CallEv[] eventList)
           
 void createCall()
           
 void selectH323()
           
 void selectSIP()
           
 void terminalEvent(javax.telephony.events.CallEv evt, boolean bEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Calls

public Calls(javax.swing.JButton btnAns,
             javax.swing.JButton btnHang,
             javax.swing.JButton btnCall,
             javax.swing.JTextArea txtState,
             javax.swing.JLabel lblCID,
             javax.swing.JComboBox lstLines,
             javax.swing.JTextField txtNo,
             java.applet.AudioClip clip)
Is the only constructor, it receives all the GUI instances that this class may need to access

Method Detail

createCall

public void createCall()

answerCall

public void answerCall()

selectH323

public void selectH323()

selectSIP

public void selectSIP()

callChangedEvent

public void callChangedEvent(javax.telephony.events.CallEv[] eventList)
Specified by:
callChangedEvent in interface javax.telephony.CallObserver

terminalEvent

public void terminalEvent(javax.telephony.events.CallEv evt,
                          boolean bEvent)