|
||||||||||
| 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.SimpleChatInteraction
public class SimpleChatInteraction
Manages a chat session. This example lets you participate in a chat session by managing a chat interaction.
A check box lets you activate CoBrowse. If CoBrowse is active, the example adds URLs posted in a chat message to a CoBrowse interaction.
| Field Summary | |
|---|---|
boolean |
sessionDisplayed
|
| Fields inherited from class agent.interaction.samples.SimplePlace |
|---|
sampleAgent, sampleChat, sampleDn, sampleEmail, sampleOpenMedia, samplePlace |
| Constructor Summary | |
|---|---|
SimpleChatInteraction(java.lang.String windowTitle)
|
|
| Method Summary | |
|---|---|
void |
checkURLs(java.lang.String text)
|
void |
displayInteractionChatMessage(com.genesyslab.ail.ChatParty party,
java.lang.String message)
|
void |
handleInteractionChatEvent(com.genesyslab.ail.event.InteractionChatEvent chatEvent)
|
void |
handleInteractionEvent(com.genesyslab.ail.event.InteractionEvent event)
This method is required by the PlaceListener interface, but is not used by the SimplePlace example because this example doesn't generate any interactions. |
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()
The setInteractionWidgetState() method is used by subclasses of the SimplePlace class. |
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 |
| Field Detail |
|---|
public boolean sessionDisplayed
| Constructor Detail |
|---|
public SimpleChatInteraction(java.lang.String windowTitle)
windowTitle - | Method Detail |
|---|
public static void main(java.lang.String[] args)
public void setSampleType()
public void linkWidgetsToGui()
linkWidgetsToGui in class SimplePlaceSimplePlace.linkWidgetsToGui()public void setPlaceWidgetState()
SimplePlace
setPlaceWidgetState in class SimplePlacepublic void setInteractionWidgetState()
SimplePlace
setInteractionWidgetState in class SimplePlace
public void displayInteractionChatMessage(com.genesyslab.ail.ChatParty party,
java.lang.String message)
public void checkURLs(java.lang.String text)
public void handleInteractionEvent(com.genesyslab.ail.event.InteractionEvent event)
SimplePlace
handleInteractionEvent in interface com.genesyslab.ail.event.InteractionListenerhandleInteractionEvent in class SimplePlacepublic void handleInteractionChatEvent(com.genesyslab.ail.event.InteractionChatEvent chatEvent)
handleInteractionChatEvent in interface com.genesyslab.ail.event.InteractionChatListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||