org.votech.ds6.paf
Interface JPlasticAwareMenu.MessageSource

Enclosing class:
JPlasticAwareMenu

public static interface JPlasticAwareMenu.MessageSource

A MessageSource constructs a Message when the menu item is selected, and processes any object returned by the message recipient. TODO there should be a way of letting the message source know which application is going to be messaged.

Author:
jdt

Method Summary
 org.votech.plastic.outgoing.messages.Message getMessage()
          Construct a message to be sent when the menu is activated.
 void processReturnValue(java.lang.Object result)
          Perform any post-processing on the message response.
 

Method Detail

getMessage

org.votech.plastic.outgoing.messages.Message getMessage()
Construct a message to be sent when the menu is activated.

Returns:

processReturnValue

void processReturnValue(java.lang.Object result)
Perform any post-processing on the message response.

Parameters:
result -


Copyright © 2006 VOTech. All Rights Reserved.