public class ClientInteractor extends Object implements MessageInteractor
Message| Constructor and Description |
|---|
ClientInteractor()
Constructs a ClientInteractor object without an application
|
ClientInteractor(ApplicationMethods application)
Constructs a ClientInteractor object
|
| Modifier and Type | Method and Description |
|---|---|
ApplicationMethods |
getApplication() |
MessageReply |
interact(Message msg,
DispatcherContext context)
Interacts a message.
|
void |
setApplication(ApplicationMethods application) |
public ClientInteractor()
public ClientInteractor(ApplicationMethods application)
application - The parent applicationpublic MessageReply interact(Message msg, DispatcherContext context)
interact in interface MessageInteractormsg - The message to interactcontext - keeps the gui component that "owns" the message, e.g. the
application frame, a document window or a dialog box.IllegalArgumentException - if msg is null or
owner isn't a Component.public ApplicationMethods getApplication()
public void setApplication(ApplicationMethods application)
application - The application to set.Copyright © 2006–2018 Esito AS. All rights reserved.