jet.events
Class EventProxy

java.lang.Object
  extended by jet.events.EventListener
      extended by jet.events.EventProxy
All Implemented Interfaces:
java.util.EventListener

public class EventProxy
extends EventListener

Author:
markus.meisters@web.de

Field Summary
private  EventType[] eventTypes
           
private  EventType newType
           
private  java.lang.Object src
           
private  EventSupport support
           
 
Constructor Summary
EventProxy(EventSupport support, java.lang.Object src, EventType[] eventTypes, EventType newType)
          Creates a new instance of EventProxy
 
Method Summary
 boolean notifyEvent(Event event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

support

private EventSupport support

src

private java.lang.Object src

eventTypes

private EventType[] eventTypes

newType

private EventType newType
Constructor Detail

EventProxy

public EventProxy(EventSupport support,
                  java.lang.Object src,
                  EventType[] eventTypes,
                  EventType newType)
Creates a new instance of EventProxy

Method Detail

notifyEvent

public boolean notifyEvent(Event event)
Specified by:
notifyEvent in class EventListener
Returns:
boolean if the event should be done - this is not a hard veto!