org.caleigo.core.event
Class CELEventMulticaster

java.lang.Object
  extended byorg.caleigo.core.event.CELEventMulticaster
All Implemented Interfaces:
java.util.EventListener, ICELEventListener, IEntityChangeListener, IEntityListener, IProxyListener, IQualifierListener, ISelectionListener

public final class CELEventMulticaster
extends java.lang.Object
implements IEntityListener, IEntityChangeListener, ISelectionListener, IQualifierListener, IProxyListener

The CELEventMulticaster uses a variation of the multi caster design used in java.awt package by the AWTEventMulticaster.

Version:
1.00
Author:
Dennis Zikovic

Method Summary
static ICELEventListener add(ICELEventListener listener1, ICELEventListener listener2)
           
 void contentChanged(QualifierEvent event)
          Called whenever the content of a qualifier has changed.
 void contentsChanged(SelectionEvent event)
          Called when an unspecified change of the content or order of the entities in the observed ISelection object has occured.
 void dataChanged(EntityChangeEvent event)
           
 void deletePerformed(EntityEvent event)
           
 void entityAdded(SelectionEvent event)
          Call when a single entity in the observed ISelection object has been added.
 void entityRemoved(SelectionEvent event)
          Call when a single entity in the observed ISelection object has been removed.
 void refreshPerformed(EntityEvent event)
           
 void remoteChanged(ProxyEvent event)
          Called when the remote object that have changed been replaced by another object or been set to null.
 void remoteExpanded(ProxyEvent event)
          Called when the remote object that have changes state from a placeholder to an actual object.
static ICELEventListener remove(ICELEventListener existing, ICELEventListener toBeRemoved)
           
 void statusChanged(EntityChangeEvent event)
           
 void storePerformed(EntityEvent event)
           
 void structureChanged(QualifierEvent event)
          Called whenever the structure of a qualifier has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public static ICELEventListener add(ICELEventListener listener1,
                                    ICELEventListener listener2)

remove

public static ICELEventListener remove(ICELEventListener existing,
                                       ICELEventListener toBeRemoved)

storePerformed

public void storePerformed(EntityEvent event)
Specified by:
storePerformed in interface IEntityListener

deletePerformed

public void deletePerformed(EntityEvent event)
Specified by:
deletePerformed in interface IEntityListener

refreshPerformed

public void refreshPerformed(EntityEvent event)
Specified by:
refreshPerformed in interface IEntityListener

dataChanged

public void dataChanged(EntityChangeEvent event)
Specified by:
dataChanged in interface IEntityChangeListener

statusChanged

public void statusChanged(EntityChangeEvent event)
Specified by:
statusChanged in interface IEntityChangeListener

contentsChanged

public void contentsChanged(SelectionEvent event)
Called when an unspecified change of the content or order of the entities in the observed ISelection object has occured.

Specified by:
contentsChanged in interface ISelectionListener

entityAdded

public void entityAdded(SelectionEvent event)
Call when a single entity in the observed ISelection object has been added.

Specified by:
entityAdded in interface ISelectionListener

entityRemoved

public void entityRemoved(SelectionEvent event)
Call when a single entity in the observed ISelection object has been removed.

Specified by:
entityRemoved in interface ISelectionListener

structureChanged

public void structureChanged(QualifierEvent event)
Called whenever the structure of a qualifier has changed. Typically this is when a CompositeQualifier has had change in the contained Qualifier list.

Specified by:
structureChanged in interface IQualifierListener

contentChanged

public void contentChanged(QualifierEvent event)
Called whenever the content of a qualifier has changed. Typically this is when a RelationQualifier has had change in it's data content.

Specified by:
contentChanged in interface IQualifierListener

remoteChanged

public void remoteChanged(ProxyEvent event)
Called when the remote object that have changed been replaced by another object or been set to null.

Specified by:
remoteChanged in interface IProxyListener

remoteExpanded

public void remoteExpanded(ProxyEvent event)
Called when the remote object that have changes state from a placeholder to an actual object.

Specified by:
remoteExpanded in interface IProxyListener


Copyright © 2005 Caleigo. All Rights Reserved.