org.jboss.errai.common.client.framework
Interface AcceptsCallback


public interface AcceptsCallback

A class that implements this interface must be able to accept a callback.


Field Summary
static String MESSAGE_CANCEL
           
static String MESSAGE_OK
           
 
Method Summary
 void callback(Object message, Object data)
          This is method called by the caller.
 

Field Detail

MESSAGE_OK

static final String MESSAGE_OK
See Also:
Constant Field Values

MESSAGE_CANCEL

static final String MESSAGE_CANCEL
See Also:
Constant Field Values
Method Detail

callback

void callback(Object message,
              Object data)
This is method called by the caller.

Parameters:
message - The message being returned
data - Any additional data (optional)


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.