public class DisabledTransmitter extends java.lang.Object implements Transmitter
Constructor and Description |
---|
DisabledTransmitter(java.lang.String sendType)
Constructor.
|
Modifier and Type | Method and 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()
Transmitter
getBroadcastAction
in interface Transmitter
public javax.swing.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-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.