LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.event
Interface LyDemandTransmitter

All Known Implementing Classes:
LySimpleDemandTransmitter

public interface LyDemandTransmitter

Client may register on components which implement this interface to receive notifications from the component.


Field Summary
static java.lang.String __VERSION
           
 
Method Summary
 void addDemandListener(LyDemandListener listener)
          Adds the specified demand listener to receive demands (events) from this component.
 void free()
          Free the demand listener.
 int getDelay()
          Gets delay between plays in test mode.
 LyDemandListener getListenerById(java.lang.String listenerId)
          Retrieve a LyDemandListener by its ID.
 boolean playNext()
          Used in test mode to play next demand in test file.
 void processDemand(LyDemand demand)
          Processes demands on this component.
 void processDemand(java.lang.String listenerId, LyDemand demand)
          Processes demands on this component.
 void removeDemandListener(LyDemandListener listener)
          Removes the specified demand listener to receive demands from this component.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
See Also:
Constant Field Values
Method Detail

addDemandListener

void addDemandListener(LyDemandListener listener)
Adds the specified demand listener to receive demands (events) from this component. (LyDemandTransmitter interface)

Parameters:
listener - client for the demand

removeDemandListener

void removeDemandListener(LyDemandListener listener)
Removes the specified demand listener to receive demands from this component. (LyDemandTransmitter interface)

Parameters:
listener - client for the demand

processDemand

void processDemand(LyDemand demand)
Processes demands on this component. (LyDemandTransmitter interface)


processDemand

void processDemand(java.lang.String listenerId,
                   LyDemand demand)
Processes demands on this component.

Parameters:
controllerId - the demand is sent to the specified listener (LyDemandTransmitter interface)

getListenerById

LyDemandListener getListenerById(java.lang.String listenerId)
Retrieve a LyDemandListener by its ID.

Parameters:
listenerId - which has to be retrieve

free

void free()
Free the demand listener.


playNext

boolean playNext()
Used in test mode to play next demand in test file.


getDelay

int getDelay()
Gets delay between plays in test mode.


(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com