gishur.gui2.event
Interface ConnectionListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
DisplayEdge

public interface ConnectionListener
extends java.util.EventListener

The listener interface for receiving connection related events of DisplayObjects. These events will be generated by insert / remove operations of Layers, DisplayGroups and others.

Version:
1.0
Author:
Thomas Wolf

Method Summary
 void onInsert(DrawEvent e)
          Invoked when a DisplayObject was inserted in the drawing hierachy.
 void onRemove(DrawEvent e)
          Invoked before a DisplayObject will be removed from the drawing hierachy.
 

Method Detail

onInsert

public void onInsert(DrawEvent e)
Invoked when a DisplayObject was inserted in the drawing hierachy.
Parameters:
e - the DrawEvent

onRemove

public void onRemove(DrawEvent e)
Invoked before a DisplayObject will be removed from the drawing hierachy.
Parameters:
e - the DrawEvent