|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.event.LySimpleDemandTransmitter
public class LySimpleDemandTransmitter
Client may register on components which implement this interface to receive notifications from the component.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LySimpleDemandTransmitter(LyEnvironment environment)
Constructor. |
Method Summary | |
---|---|
void |
addDemandListener(LyDemandListener listener)
Adds the specified selection listener to receive demand events from this component. |
void |
free()
Free the demand listener. |
int |
getDelay()
Gets delay between plays. |
LyDemandListener |
getListenerById(java.lang.String listenerId)
Retrieve a LyDemandListener by its id. |
LyDemandPlayer |
getPlayer()
Gets demand player. |
boolean |
playNext()
Used in test mode to play next demand in test file. |
LyDemandListener |
process(java.lang.String listenerId,
LyDemand demand)
Processes demands on this component. |
void |
processDemand(LyDemand demand)
Processes demands on this component. |
void |
processDemand(java.lang.String listenerId,
LyDemand demand)
Processes demands on this component. |
void |
registerMessageWindow(java.lang.Object messageId,
java.lang.String type,
java.lang.String message)
Register a message. |
void |
removeDemandListener(LyDemandListener listener)
Removes the specified demand listener from this component. |
void |
setMessageWindowResult(java.lang.Object messageId,
int result)
Sets the result for a message. |
void |
setPlayer(LyDemandPlayer player)
Sets demand player. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LySimpleDemandTransmitter(LyEnvironment environment)
Method Detail |
---|
public void free()
free
in interface LyDemandTransmitter
public void addDemandListener(LyDemandListener listener)
addDemandListener
in interface LyDemandTransmitter
listener
- client for the action eventpublic void removeDemandListener(LyDemandListener listener)
removeDemandListener
in interface LyDemandTransmitter
listener
- client for the action eventpublic void processDemand(LyDemand demand)
processDemand
in interface LyDemandTransmitter
public void processDemand(java.lang.String listenerId, LyDemand demand)
processDemand
in interface LyDemandTransmitter
listenerId
- the demand is sent to the specified listener (LyDemandTransmitter
interface)public LyDemandListener process(java.lang.String listenerId, LyDemand demand)
listenerId
- the demand is sent to the specified listener (LyDemandTransmitter
interface)
public LyDemandListener getListenerById(java.lang.String listenerId)
getListenerById
in interface LyDemandTransmitter
listenerId
- which has to be retrievepublic void registerMessageWindow(java.lang.Object messageId, java.lang.String type, java.lang.String message)
registerMessageWindow
in interface LyMessageWindowRegister
messageId
- The message id to register.type
- Type of the message.message
- The message.public void setMessageWindowResult(java.lang.Object messageId, int result)
setMessageWindowResult
in interface LyMessageWindowRegister
message
- The message id.result
- The result.public LyDemandPlayer getPlayer()
public void setPlayer(LyDemandPlayer player)
public boolean playNext()
playNext
in interface LyDemandTransmitter
public int getDelay()
getDelay
in interface LyDemandTransmitter
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |