|
||||||||||
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.SimpleOpenMediaInteraction
public class SimpleOpenMediaInteraction
This example uses a GUI application to show how to receive an Open Media
interaction.
To process the interaction, this example displays a few information
about the example and provides you with a button to mark it done.
One PlaceListener is registered, which receives InteractionEvents.
Nested Class Summary | |
---|---|
class |
SimpleOpenMediaInteraction.OpenMediaInteractionEventThread
|
Field Summary |
---|
Fields inherited from class agent.interaction.samples.SimplePlace |
---|
sampleAgent, sampleChat, sampleDn, sampleEmail, sampleOpenMedia, samplePlace |
Constructor Summary | |
---|---|
SimpleOpenMediaInteraction(java.lang.String windowTitle)
Creates an instance of SimpleOpenMediaInteraction. |
Method Summary | |
---|---|
void |
handleInteractionEvent(com.genesyslab.ail.event.InteractionEvent event)
Receives InteractionEvents, which report changes to the status or data of an interaction. |
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)
|
void |
setInteractionWidgetState()
This class receives InteractionEvents, which are handled by the handleInteractionEvent() method. |
void |
setPlaceWidgetState()
Any time the place associated with this example changes its state, the example's widgets must be updated to reflect that state. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleOpenMediaInteraction(java.lang.String windowTitle)
windowTitle
- The title of the GUI window for this example.Method Detail |
---|
public static void main(java.lang.String[] args)
public void setSampleType()
public void linkWidgetsToGui()
linkWidgetsToGui
in class SimplePlace
SimplePlace.linkWidgetsToGui()
public void setPlaceWidgetState()
SimplePlace
setPlaceWidgetState
in class SimplePlace
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |