|Home >> All >> org >> relayirc|
|||org.relayirc.chatengine.* (22)||||org.relayirc.swingui.* (17)||||org.relayirc.swingutil.* (16)|
ChatEngine: Manages a connection to an IRC server and handles incoming messages by creating channel objects, routing messages to channel objects and routing events to chat engine listeners. After you have constructed a chat engine, add a ChatEngineListener to be notified of server connection and disconnection, channel joins and parts and status messages from the engine. Connect to the chat server using the connect() method and use the sendJoin() and sendPart() commands to join and leave chat channels. When a channel is joined, your listener will be informed and you may add a ChannelListener to the channel ...
ServerTable: ServerListPanel's editable JTable of servers. Each row represents one server and the columns are Name, Title, Network, Ports, Favorite and Group. Columns Name - hostname of the IRC server (i.e. irc.mindspring.com) Title - descriptive text (optional) Network - name of server's chat network (optional) Ports - list of port numbers, separated by commas Group - name of server's group (optional) TODO: Add-server should select name field of new server for editing
ConnectDlg: Dialog which allows the user to specify a chat server by selecting a server from the server list provided in the constructor. or by typing in a new server name and port number. In addition to the standard OK and Cancel buttons, there is also an Edit button that will launch the ServerListDlg so that the user may edit the list of servers. Most of the GUI is provided by SetServerPanel.
UserList: List component which displays the users currently present in a chat channel. Provides a popup menu so that the user may request WHOIS, VERSION or PING information on specific users. Operators (users whose nicks start with @) are listed at the beginnning of the list. FIX: List should be sorted alphabetically (with ops listed first).
User: Represent a user that has been added to the favorites collection. TODO: Perhaps a user object should query/listen-to the chat engine to determine if user is online and which channels the user is on. TODO: Perhaps a user object should support message, kick, ban and other methods. TODO: Should provide property change support.
IRCConnection: A socket connection to a RFC-1459 compatible IRC server. Parses incoming IRC messages, replies, commands and errors and notifies all listeners of such. Also provides a writeln() method for sending commands to the IRC server. FIX: Currently, only one listener is allowed.
ServerButtonPanel: ServerListPanel's button panel. TODO: Icons on the buttons. Finish export-to-mirc-format Import-from-mirc should not spew exceptions Remove should ask user for confirmation
MDIPanel: Multi-Document Interface (MDI) panel that supports dockable frames. Panels may be docked in the top, bottom, left or right of the panel. Each panel must implement MDIClientPanel and have a frame that implements MDIClientFrame.
ChannelSearch: Channel searcher. Works closely with a chat engine to search for channels that match the search criteria, notify listeners of each such matching channel as it is found and build a collection of matching channels.
ChatChannelWindow: A chat window for one specific chat channel. Implements the IChatView interface and uses the UserList class to provide a list of the users that are present in the chat channel.
ChatChannelPanel: A chat panel for one specific chat channel. Implements the IChatView interface and uses the UserList class to provide a list of the users that are present in the chat channel.
ChannelSearchListener: Inteface for listening to progress of a channel search. Implement this interface to be notified of beginning of search, each channel that is found to meet the search criteria and the end of the search.
ChatPanel: A panel which provides a text pane for the (color coded) display of messages from the IRC server and, below that, a text field where the user may type in messages to be delivered to the IRC server.
IRCConnectionListener: Implement this interface to listen to an IRCConnection. ISSUE: To follow the Java Bean conventions, should every method accept one argument of type IRCConnectionEvent? Does it matter?
SetServerPanel: Allows user to choose one server from the server list using three combo boxes: one for selecting the network, one for selecting the server and one for selecting the port.
ChatOptions: User's option settings. Includes identification information like nick name and user name. Includes name of currently select IRC server and a list of other IRC servers.
Server: Currently, a server object just holds information about an IRC server. It might make sense to have an openConnection() method which returns an IRC connection object.
ChatOptionsDlg: Dialog allows user to configure the chat client with user name, nick name and to select a server; all of the information which is stored in the ChatOptions ojbect.
StandardDlg: Modal dialog with border layout and Ok, Cancel and Help buttons in the south. Used as a base class for the rest of the dialogs in the Relay program.
ChannelSearchPanel: A panel containing fields for specifying a channel search, a search button to start the search and a table in which to display the search results.
Channel: An IRC channel class that includes methods for joining, parting, kicking, banning, adding/removing channel listeners and property change support.
QueryPanel: Panel of text fields for entering search criteria such as Name, Min Users, Max Users, etc. Designed to be used within a ChannelSearchPanel.
ChatEngineEvent: Event fired by a ChatEngine. Has either a Channel object, a Server object, a string status message or no value; other fields will be null.
IdentServer: Implments a "one-shot" ident authentication server. This is needed for systems that do not have an ident authentication server.