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, registerHandler
createSendMenu, createTargetAction, createTargetSelector, disposeSendMenu, getBroadcastAction, getBroadcastIcon, getClientListModel, getConnector, getSendIcon, setEnabled, updateState
public 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 Client
sprotected abstract Map createMessage(Client client) throws Exception
AbstractCallActionManager
AbstractCallActionManager.getSendAction(org.astrogrid.samp.Client)
.createMessage
in class AbstractCallActionManager
client
- targetException
public Action createBroadcastAction()
AbstractCallActionManager
createBroadcastAction
in class AbstractCallActionManager
Copyright © 2008–2024. All rights reserved.