rero.gui

Class IRCSession

public class IRCSession extends Object

Nested Class Summary
protected classIRCSession.ClientWindowStuff
protected classIRCSession.PopupManager
Field Summary
protected InternetRelayChatClientclient
protected WindowManagerdesktop
protected UIScriptBridgescriptBridge
protected StatusWindowstatus
protected ClickableURLHandlerurlListener
protected UserHandleruserInput
protected IRCSession.ClientWindowStuffwindowListener
protected HashMapwindows
Constructor Summary
IRCSession()
Method Summary
voidcleanup()
voidcreateAboutWindow()
ChannelWindowcreateChannelWindow(Channel channel)
voidcreateDCCWindow()
voidcreateListWindow()
QueryWindowcreateQueryWindow(String user, boolean selected)
ScriptedListDialogcreateSortedWindow(String title, String hook, Object data, LinkedList columns)
StatusWindowcreateStatusWindow()
voidexecuteCommand(String command)
protected voidfinalize()
StatusWindowgetActiveWindow()
CollectiongetAllWindows()
CapabilitiesgetCapabilities()
InternetRelayChatClientgetClient()
WindowManagergetDesktop()
StatusWindowgetRealActiveWindow()
StatusWindowgetStatusWindow()
StatusWindowgetWindow(String name)
booleanisStatus(StatusWindow window)
booleanisWindow(String name)
voidpostProcessWindow(StatusWindow window)
voidrenameWindow(String name, String newname)
StatusWindowresolveClientWindow(ClientWindow temp)

Field Detail

client

protected InternetRelayChatClient client

desktop

protected WindowManager desktop

scriptBridge

protected UIScriptBridge scriptBridge

status

protected StatusWindow status

urlListener

protected ClickableURLHandler urlListener

userInput

protected UserHandler userInput

windowListener

protected IRCSession.ClientWindowStuff windowListener

windows

protected HashMap windows

Constructor Detail

IRCSession

public IRCSession()

Method Detail

cleanup

public void cleanup()

createAboutWindow

public void createAboutWindow()

createChannelWindow

public ChannelWindow createChannelWindow(Channel channel)

createDCCWindow

public void createDCCWindow()

createListWindow

public void createListWindow()

createQueryWindow

public QueryWindow createQueryWindow(String user, boolean selected)

createSortedWindow

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

createStatusWindow

public StatusWindow createStatusWindow()

executeCommand

public void executeCommand(String command)

finalize

protected void finalize()

getActiveWindow

public StatusWindow getActiveWindow()

getAllWindows

public Collection getAllWindows()

getCapabilities

public Capabilities getCapabilities()

getClient

public InternetRelayChatClient getClient()

getDesktop

public WindowManager getDesktop()

getRealActiveWindow

public StatusWindow getRealActiveWindow()

getStatusWindow

public StatusWindow getStatusWindow()

getWindow

public StatusWindow getWindow(String name)

isStatus

public boolean isStatus(StatusWindow window)

isWindow

public boolean isWindow(String name)

postProcessWindow

public void postProcessWindow(StatusWindow window)

renameWindow

public void renameWindow(String name, String newname)

resolveClientWindow

public StatusWindow resolveClientWindow(ClientWindow temp)