irc.gui
Class AWTInterpretor

java.lang.Object
  |
  +--irc.IRCObject
        |
        +--irc.RootInterpretor
              |
              +--irc.gui.AWTInterpretor
All Implemented Interfaces:
Interpretor

public class AWTInterpretor
extends RootInterpretor

The AWT interpretor for gui-relative commands.


Field Summary
 
Fields inherited from class irc.RootInterpretor
_next, _parser
 
Fields inherited from class irc.IRCObject
_ircConfiguration
 
Constructor Summary
AWTInterpretor(IRCConfiguration config, PixxMDIInterface mdi)
          Create a new DefaultInterpretor.
 
Method Summary
protected  void handleCommand(Source source, java.lang.String cmd, java.lang.String[] parts, java.lang.String[] cumul)
          Handle the received command.
 
Methods inherited from class irc.RootInterpretor
addLast, getNextInterpretor, isInside, say, sendString, setNextInterpretor, test
 
Methods inherited from class irc.IRCObject
getColor, getIRCConfiguration, getText, getText, getText, getText, getTimeStamp, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWTInterpretor

public AWTInterpretor(IRCConfiguration config,
                      PixxMDIInterface mdi)
Create a new DefaultInterpretor.

Parameters:
config - global irc configuration.
mdi - the interface.
Method Detail

handleCommand

protected void handleCommand(Source source,
                             java.lang.String cmd,
                             java.lang.String[] parts,
                             java.lang.String[] cumul)
Description copied from class: RootInterpretor
Handle the received command.

Overrides:
handleCommand in class RootInterpretor
Parameters:
source - the source that emitted the command.
cmd - the hole command line.
parts - the parsed command line.
cumul - the cumul parsed command line.