public class DisabledTransmitter extends Object implements Transmitter
| Constructor and Description |
|---|
DisabledTransmitter(String sendType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
JMenu |
createSendMenu()
Returns a per-application menu which allows sending the information
to any single one of the appropriate recipients.
|
Action |
getBroadcastAction()
Returns an action which sends the information to all appropriate
recipients.
|
void |
setEnabled(boolean enabled)
Sets whether the send actions controlled by this transmitter should
be enabled or not.
|
public DisabledTransmitter(String sendType)
sendType - short string describing type of item
(notionally) being sentpublic Action getBroadcastAction()
TransmittergetBroadcastAction in interface Transmitterpublic JMenu createSendMenu()
TransmittercreateSendMenu in interface Transmitterpublic void setEnabled(boolean enabled)
TransmittersetEnabled in interface Transmitterenabled - true iff actions may be invokedCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.