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()
Transmitter
getBroadcastAction
in interface Transmitter
public JMenu createSendMenu()
Transmitter
createSendMenu
in interface Transmitter
public void setEnabled(boolean enabled)
Transmitter
setEnabled
in interface Transmitter
enabled
- true iff actions may be invokedCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.