AVR Z-LINKŪ


gui.ChatWindow Class Reference

List of all members.

Detailed Description

ChatWindow is a class that defines the graphical interface to display the live traffic. Incomming messages will be appended to the conversation ("Chat") and the end user can type in new messages.

Application note:
AVR414: User's Guide - ATAVRRZ502 - Accessory Kit
Author:
Atmel Corporation: http://www.atmel.com
Support email: avr@atmel.com
Name
vkbakken
Revision
1.5
RCSfile
code_header_template_CVS_DOXYGEN.txt,v
Date
2006/04/07 12:40:07

Definition at line 39 of file ChatWindow.java.

Public Member Functions

void actionPerformed (ActionEvent ae)
 This function is called whenever the "Send" or "Clear" buttons are pressed.
void addChatWindowEventListener (ChatWindowEventListener cweListener)
void appendIncommingMessage (String iMsg)
 Will append an incomming message to the live traffic.
void appendOutgoingMessage (String oMsg)
 Will append an outgoing message to the live traffic.
void appendTextToConversation (String msg)
 Appends a string to the live traffic.
 ChatWindow ()
 Class constructor. Builds a new chat tab.
void clearConversation ()
 Erases the contents of the live traffic window.
void clearMessage ()
 Erases the text in the message JTextArea.
void disableMessageWindow ()
 Disables typing of text in the message JTextArea.
void enableMessageWindow ()
 Enables typing of text in the message JTextArea.
String getMessage ()
 Returns the content of the message JTextArea.
void removeChatWindowEventListener (ChatWindowEventListener cweListener)

Protected Member Functions

void fireChatWindowEvent (ChatWindowEvent event)
@DOC_TITLE@
Generated on Sat Dec 2 16:14:07 2006 for AVR414 User's Guide - ATAVRRZ502 - Accessory Kit by doxygen 1.4.7