Initial commit from SVN.
This commit is contained in:
23
Foundation/src/com/foundation/event/IEventHandler.java
Normal file
23
Foundation/src/com/foundation/event/IEventHandler.java
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (c) 2002,2009 Declarative Engineering LLC.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Declarative Engineering LLC
|
||||
* verson 1 which accompanies this distribution, and is available at
|
||||
* http://declarativeengineering.com/legal/DE_Developer_License_v1.txt
|
||||
*/
|
||||
package com.foundation.event;
|
||||
|
||||
/**
|
||||
* This interface defines a basic event handler that will allow an event handler to be passed remotely.
|
||||
* <p>NOTE: This interface should never be used directly by an application.</p>
|
||||
*/
|
||||
public interface IEventHandler extends IHandler {
|
||||
/**
|
||||
* Does what ever the handler is programmed to do when called.
|
||||
* @param eventEmitter The object that fired the event.
|
||||
* @param eventNumber The unique (within the context of the defining class hierarchy) number of the event being fired. This allows one handler to register for multiple events.
|
||||
* @param parameters The parameters passed to the handler when it is invoked.
|
||||
* @param flags The event dependant flags.
|
||||
*/
|
||||
public abstract void evaluate(IEventEmitter eventEmitter, int eventNumber, Object[] eventParameters, int flags);
|
||||
}//IEventHandler//
|
||||
Reference in New Issue
Block a user