public interface CodeToSendListener
ItsNatDocument or ClientDocument.ItsNatDocument.addCodeToSend(Object),
ClientDocument.addCodeToSend(Object),
ItsNatDocument.addCodeToSendListener(CodeToSendListener),
ClientDocument.addCodeToSendListener(CodeToSendListener)| Modifier and Type | Method and Description |
|---|---|
void |
postSendCode(CodeToSendEvent event)
Is called after the new code is definitely added to the document
or client, the event object contains the new code.
|
Object |
preSendCode(CodeToSendEvent event)
Is called before the new code is definitely added to the document
or client, the event object contains the new code.
|
Object preSendCode(CodeToSendEvent event)
If null is returned the new code is rejected, otherwise the returned value is used as the new code. In this scenario the listener may be used as a filter.
event - the event containing the new code to send.void postSendCode(CodeToSendEvent event)
event - the event containing the new code added to send.Copyright © Innowhere Software, Jose Maria Arranz Santamaria.