com.leafdigital.ircui.api
Interface GeneralChatWindow.Handler

Enclosing interface:
GeneralChatWindow

public static interface GeneralChatWindow.Handler

Callbacks from the window


Method Summary
 void doCommand(Commands c, java.lang.String line)
          User has entered a command line.
 void internalAction(org.w3c.dom.Element e)
          User has clicked on an link.
 void windowClosed()
          User has closed the window.
 

Method Detail

doCommand

void doCommand(Commands c,
               java.lang.String line)
               throws GeneralException
User has entered a command line.

Parameters:
c - Commands object
line - Line entered
Throws:
GeneralException - Any error

windowClosed

void windowClosed()
                  throws GeneralException
User has closed the window. Discard references to it.

Throws:
GeneralException - Any error

internalAction

void internalAction(org.w3c.dom.Element e)
                    throws GeneralException
User has clicked on an link. (This can do nothing if you aren't going to output any such link.)

Parameters:
e - XML element representing the link
Throws:
GeneralException - Any error


Copyright © 2011 Samuel Marshall. All rights reserved.