com.sapportals.portal.prt.pom

Interface IEventTarget

All Known Subinterfaces:
IComponentNode, IPortalNode
All Known Implementing Classes:
AbstractNode

public interface IEventTarget

An Implementation of IEventTarget has the capability to attach listeners and dispatch an incoming event to them.


Method Summary
 void addEventListener(EventType type, IEventListener listener)
          Registers a listener on an event
 void addEventListener(EventType type, IEventListener listener, IEventFilter filter)
          Registers a listener on an event
 void dispatchEvent(IEvent evt)
          Starts dispatching of an event.
 void removeEventListener(EventType type, IEventListener listener)
          Unregisters a listener on an event
 

Method Detail

addEventListener

void addEventListener(EventType type,
                      IEventListener listener)
Registers a listener on an event

Parameters:
type - the type of event.
listener - the listenr

addEventListener

void addEventListener(EventType type,
                      IEventListener listener,
                      IEventFilter filter)
Registers a listener on an event

Parameters:
type - the type of event.
listener - the listener
filter - the event filter or null

removeEventListener

void removeEventListener(EventType type,
                         IEventListener listener)
Unregisters a listener on an event

Parameters:
type - the type of the event.
listener - the listener to remove

dispatchEvent

void dispatchEvent(IEvent evt)
                   throws PortalOMException
Starts dispatching of an event.

Parameters:
evt - the event to dispatch
Throws:
PortalOMException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/lib/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice