rero.gui
Class IRCSession

java.lang.Object
  extended byrero.gui.IRCSession

public class IRCSession
extends Object


Nested Class Summary
protected  class IRCSession.ClientWindowStuff
           
protected  class IRCSession.PopupManager
           
 
Field Summary
protected  InternetRelayChatClient client
           
protected  WindowManager desktop
           
protected  UIScriptBridge scriptBridge
           
protected  StatusWindow status
           
protected  ClickableURLHandler urlListener
           
protected  UserHandler userInput
           
protected  IRCSession.ClientWindowStuff windowListener
           
protected  LinkedHashMap windows
           
 
Constructor Summary
IRCSession()
           
 
Method Summary
 void cleanup()
           
 void createAboutWindow()
           
 ChannelWindow createChannelWindow(Channel channel)
           
 void createDCCWindow()
           
 void createListWindow()
           
 QueryWindow createQueryWindow(String user, boolean selected)
           
 ScriptedListDialog createSortedWindow(String title, String hook, Object data, LinkedList columns)
           
 StatusWindow createStatusWindow()
           
 void executeCommand(String command)
           
protected  void finalize()
           
 StatusWindow getActiveWindow()
           
 Collection getAllWindows()
           
 Capabilities getCapabilities()
           
 InternetRelayChatClient getClient()
           
 WindowManager getDesktop()
           
 StatusWindow getRealActiveWindow()
           
 StatusWindow getStatusWindow()
           
 StatusWindow getWindow(String name)
           
 boolean isStatus(StatusWindow window)
           
 boolean isWindow(String name)
           
 void postProcessWindow(StatusWindow window)
           
 void renameWindow(String name, String newname)
           
 StatusWindow resolveClientWindow(ClientWindow temp)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

desktop

protected WindowManager desktop

client

protected InternetRelayChatClient client

status

protected StatusWindow status

windows

protected LinkedHashMap windows

userInput

protected UserHandler userInput

scriptBridge

protected UIScriptBridge scriptBridge

windowListener

protected IRCSession.ClientWindowStuff windowListener

urlListener

protected ClickableURLHandler urlListener
Constructor Detail

IRCSession

public IRCSession()
Method Detail

cleanup

public void cleanup()

getCapabilities

public Capabilities getCapabilities()

executeCommand

public void executeCommand(String command)

isWindow

public boolean isWindow(String name)

getWindow

public StatusWindow getWindow(String name)

getAllWindows

public Collection getAllWindows()

getClient

public InternetRelayChatClient getClient()

getStatusWindow

public StatusWindow getStatusWindow()

isStatus

public boolean isStatus(StatusWindow window)

getDesktop

public WindowManager getDesktop()

getActiveWindow

public StatusWindow getActiveWindow()

getRealActiveWindow

public StatusWindow getRealActiveWindow()

createAboutWindow

public void createAboutWindow()

renameWindow

public void renameWindow(String name,
                         String newname)

createDCCWindow

public void createDCCWindow()

createSortedWindow

public ScriptedListDialog createSortedWindow(String title,
                                             String hook,
                                             Object data,
                                             LinkedList columns)

createListWindow

public void createListWindow()

createStatusWindow

public StatusWindow createStatusWindow()

createQueryWindow

public QueryWindow createQueryWindow(String user,
                                     boolean selected)

createChannelWindow

public ChannelWindow createChannelWindow(Channel channel)

resolveClientWindow

public StatusWindow resolveClientWindow(ClientWindow temp)

postProcessWindow

public void postProcessWindow(StatusWindow window)

finalize

protected void finalize()