Transmitterpublic class DisabledTransmitter extends java.lang.Object implements Transmitter
| Constructor | Description |
|---|---|
DisabledTransmitter(java.lang.String sendType) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
javax.swing.JMenu |
createSendMenu() |
Returns a per-application menu which allows sending the information
to any single one of the appropriate recipients.
|
javax.swing.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(java.lang.String sendType)
sendType - short string describing type of item
(notionally) being sentpublic javax.swing.Action getBroadcastAction()
TransmittergetBroadcastAction in interface Transmitterpublic javax.swing.JMenu createSendMenu()
TransmittercreateSendMenu in interface Transmitterpublic void setEnabled(boolean enabled)
TransmittersetEnabled in interface Transmitterenabled - true iff actions may be invokedCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.