public abstract class IndividualCallActionManager extends AbstractCallActionManager
createMessage(org.astrogrid.samp.Client) method.
They may also wish to to customise the returned Send and Broadcast Action
objects (for instance give them useful names and descriptions).BROADCAST_TARGET| Constructor and Description |
|---|
IndividualCallActionManager(Component parent,
GuiHubConnector connector,
ListModel clientListModel)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Action |
createBroadcastAction()
Must be implemented by concrete subclasses.
|
protected abstract Map |
createMessage(Client client)
Returns the Message object which is to be transmitted by this manager
to a given client.
|
createResultHandler, createTag, dispose, getSendAction, registerHandlercreateSendMenu, createTargetAction, createTargetSelector, disposeSendMenu, getBroadcastAction, getBroadcastIcon, getClientListModel, getConnector, getSendIcon, setEnabled, updateStatepublic IndividualCallActionManager(Component parent, GuiHubConnector connector, ListModel clientListModel)
parent - parent componentconnector - hub connectorclientListModel - list model containing only those clients
which are suitable recipients;
all elements must be Clientsprotected abstract Map createMessage(Client client) throws Exception
AbstractCallActionManagerAbstractCallActionManager.getSendAction(org.astrogrid.samp.Client).createMessage in class AbstractCallActionManagerclient - targetExceptionpublic Action createBroadcastAction()
AbstractCallActionManagercreateBroadcastAction in class AbstractCallActionManagerCopyright © 2008–2024. All rights reserved.