gishur.gui2.event
Interface ActivationListener

All Superinterfaces:
java.util.EventListener

public interface ActivationListener
extends java.util.EventListener

The listener interface for receiving activation related events of DisplayObjects. These events will be generated by DisplayObject#activate and DisplayObject#deactivate operations.

Version:
1.0
Author:
Thomas Wolf

Method Summary
 void onActivate(DrawEvent e)
          Invoked when a DisplayObject became active.
 void onActivate(DrawEvent e, java.lang.String element)
          Invoked when an element of a DisplayObject became active.
 void onDeactivate(DrawEvent e)
          Invoked when a DisplayObject became inactive.
 

Method Detail

onActivate

public void onActivate(DrawEvent e)
Invoked when a DisplayObject became active.
Parameters:
e - the DrawEvent

onActivate

public void onActivate(DrawEvent e,
                       java.lang.String element)
Invoked when an element of a DisplayObject became active.
Parameters:
e - the DrawEvent
element - name of the activated element

onDeactivate

public void onDeactivate(DrawEvent e)
Invoked when a DisplayObject became inactive.
Parameters:
e - the DrawEvent