rero.gui.script
Class WindowStateListener

java.lang.Object
  extended byrero.gui.script.WindowStateListener
All Implemented Interfaces:
ClientWindowListener

public class WindowStateListener
extends Object
implements ClientWindowListener


Field Summary
protected  ScriptedWindowStateListener active
           
protected  ScriptedWindowStateListener close
           
protected  IRCSession gui
           
protected  ScriptedWindowStateListener inactive
           
protected  ScriptedWindowStateListener minimize
           
protected  ScriptedWindowStateListener open
           
 
Constructor Summary
WindowStateListener(IRCSession _gui)
           
 
Method Summary
 void onActive(ClientWindowEvent ev)
           
 void onClose(ClientWindowEvent ev)
           
 void onInactive(ClientWindowEvent ev)
           
 void onMinimize(ClientWindowEvent ev)
           
 void onOpen(ClientWindowEvent ev)
           
 void registerListener(EventBridge bridge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gui

protected IRCSession gui

active

protected ScriptedWindowStateListener active

inactive

protected ScriptedWindowStateListener inactive

close

protected ScriptedWindowStateListener close

open

protected ScriptedWindowStateListener open

minimize

protected ScriptedWindowStateListener minimize
Constructor Detail

WindowStateListener

public WindowStateListener(IRCSession _gui)
Method Detail

registerListener

public void registerListener(EventBridge bridge)

onActive

public void onActive(ClientWindowEvent ev)
Specified by:
onActive in interface ClientWindowListener

onInactive

public void onInactive(ClientWindowEvent ev)
Specified by:
onInactive in interface ClientWindowListener

onClose

public void onClose(ClientWindowEvent ev)
Specified by:
onClose in interface ClientWindowListener

onOpen

public void onOpen(ClientWindowEvent ev)
Specified by:
onOpen in interface ClientWindowListener

onMinimize

public void onMinimize(ClientWindowEvent ev)
Specified by:
onMinimize in interface ClientWindowListener