rero.gui.script

Class WindowStateListener

public class WindowStateListener extends Object implements ClientWindowListener

Field Summary
protected ScriptedWindowStateListeneractive
protected ScriptedWindowStateListenerclose
protected IRCSessiongui
protected ScriptedWindowStateListenerinactive
protected ScriptedWindowStateListenerminimize
protected ScriptedWindowStateListeneropen
Constructor Summary
WindowStateListener(IRCSession _gui)
Method Summary
voidonActive(ClientWindowEvent ev)
voidonClose(ClientWindowEvent ev)
voidonInactive(ClientWindowEvent ev)
voidonMinimize(ClientWindowEvent ev)
voidonOpen(ClientWindowEvent ev)
voidregisterListener(EventBridge bridge)

Field Detail

active

protected ScriptedWindowStateListener active

close

protected ScriptedWindowStateListener close

gui

protected IRCSession gui

inactive

protected ScriptedWindowStateListener inactive

minimize

protected ScriptedWindowStateListener minimize

open

protected ScriptedWindowStateListener open

Constructor Detail

WindowStateListener

public WindowStateListener(IRCSession _gui)

Method Detail

onActive

public void onActive(ClientWindowEvent ev)

onClose

public void onClose(ClientWindowEvent ev)

onInactive

public void onInactive(ClientWindowEvent ev)

onMinimize

public void onMinimize(ClientWindowEvent ev)

onOpen

public void onOpen(ClientWindowEvent ev)

registerListener

public void registerListener(EventBridge bridge)