public abstract class UniformCallActionManager extends AbstractCallActionManager
createMessage().BROADCAST_TARGET| Constructor and Description |
|---|
UniformCallActionManager(Component parent,
GuiHubConnector connector,
String mtype,
String sendType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Action |
createBroadcastAction()
Must be implemented by concrete subclasses.
|
protected abstract Map |
createMessage()
Generates the message which is sent to one or all clients
by this object's actions.
|
protected Map |
createMessage(Client client)
Implemented simply by calling
createMessage(). |
JMenu |
createSendMenu()
Returns a new targetted send menu with a title suitable for this object.
|
Action |
getSendAction(Client client)
Returns an action which can perform a single-client send associated
with this object.
|
createResultHandler, createTag, dispose, registerHandlercreateSendMenu, createTargetAction, createTargetSelector, disposeSendMenu, getBroadcastAction, getBroadcastIcon, getClientListModel, getConnector, getSendIcon, setEnabled, updateStatepublic UniformCallActionManager(Component parent, GuiHubConnector connector, String mtype, String sendType)
parent - parent componentconnector - hub connectormtype - MType for messages transmitted by this object's actionssendType - short string identifying the kind of thing being
sent (used for action descriptions etc)protected abstract Map createMessage() throws Exception
protected Map createMessage(Client client) throws Exception
createMessage().createMessage in class AbstractCallActionManagerclient - targetExceptionprotected Action createBroadcastAction()
AbstractCallActionManagercreateBroadcastAction in class AbstractCallActionManagerpublic JMenu createSendMenu()
public Action getSendAction(Client client)
SendActionManagerequals
(and hashCode) intelligently there will be efficiency
advantages.
The enabled status of such actions will be managed by this object.getSendAction in class AbstractCallActionManagerclient - recipient clientCopyright © 2008–2024. All rights reserved.