|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.gui.main.call.DTMFHandler
public class DTMFHandler
Handles DTMF sending and playing sound notifications for that.
| Nested Class Summary | |
|---|---|
static class |
DTMFHandler.DTMFToneInfo
DTMF extended information. |
| Field Summary | |
|---|---|
static DTMFHandler.DTMFToneInfo[] |
AVAILABLE_TONES
All available tones and its properties like images for buttons, and sounds to be played during send. |
| Constructor Summary | |
|---|---|
DTMFHandler()
Creates DTMF handler for a call. |
|
DTMFHandler(CallPanel callContainer)
Creates DTMF handler for a call. |
|
| Method Summary | |
|---|---|
void |
addParent(Window parent)
Adds a Window on which key presses and releases are to be monitored for the purposes of this DTMFHandler. |
boolean |
dispatchKeyEvent(KeyEvent e)
Dispatches a specific KeyEvent. |
void |
removeParent(Window parent)
Removes a Window on which key presses and releases are to no longer be monitored for the purposes of this DTMFHandler. |
void |
startSendingDtmfTone(String toneValue)
Sends a DTMF tone to the current DTMF operation set. |
void |
stopSendingDtmfTone()
Stop sending DTMF tone. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final DTMFHandler.DTMFToneInfo[] AVAILABLE_TONES
| Constructor Detail |
|---|
public DTMFHandler()
public DTMFHandler(CallPanel callContainer)
callContainer - the CallContainer where this handler is
registered| Method Detail |
|---|
public void addParent(Window parent)
parent - the Window on which key presses and releases are
to be monitored for the purposes of this DTMFHandlerpublic void removeParent(Window parent)
parent - the Window on which key presses and releases are
to no longer be monitored for the purposes of this DTMFHandlerpublic boolean dispatchKeyEvent(KeyEvent e)
dispatchKeyEvent in interface KeyEventDispatchere - the KeyEvent to be dispatched
public void startSendingDtmfTone(String toneValue)
toneValue - the value of the DTMF tone to send.public void stopSendingDtmfTone()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||