|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectagent.interaction.samples.SimplePlace
agent.interaction.samples.SimpleVoiceInteraction
public class SimpleVoiceInteraction
This example uses a GUI application to show how to make and answer a call,
place the call on hold, release the call, and mark it done.
One PlaceListener is registered, which receives InteractionEvents.
Field Summary |
---|
Fields inherited from class agent.interaction.samples.SimplePlace |
---|
sampleAgent, sampleChat, sampleDn, sampleEmail, sampleOpenMedia, samplePlace |
Constructor Summary | |
---|---|
SimpleVoiceInteraction(java.lang.String windowTitle)
Creates an instance of SimpleVoiceInteraction. |
Method Summary | |
---|---|
void |
handleInteractionEvent(com.genesyslab.ail.event.InteractionEvent event)
Receives InteractionEvents, which report changes to the status or data of an Interaction of this place. |
void |
linkWidgetsToGui()
Links widgets (user interface components) to API functionality and registers a listener for events on the Place the agent has logged in to. |
static void |
main(java.lang.String[] args)
This method is used to run the SimpleVoiceInteraction example. |
void |
setInteractionWidgetState()
This class receives InteractionEvents, which are handled by the handleInteractionEvent() method. |
void |
setSampleType()
Tells the AgentInteractionGui class which example has called the GUI, so that it can determine which widgets will be enabled when the GUI is created. |
Methods inherited from class agent.interaction.samples.SimplePlace |
---|
contactChanged, deleted, dnAdded, dnRemoved, handleDnEvent, handlePlaceEvent, idModified, setPlaceWidgetState |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleVoiceInteraction(java.lang.String windowTitle)
windowTitle
- The title of the GUI window for this example.Method Detail |
---|
public void setSampleType()
public void linkWidgetsToGui()
linkWidgetsToGui
in class SimplePlace
SimplePlace.linkWidgetsToGui()
public void setInteractionWidgetState()
setInteractionWidgetState
in class SimplePlace
public void handleInteractionEvent(com.genesyslab.ail.event.InteractionEvent event)
handleInteractionEvent
in interface com.genesyslab.ail.event.InteractionListener
handleInteractionEvent
in class SimplePlace
public static void main(java.lang.String[] args)
args
- There are no arguments for this class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |