uk.ac.starlink.topcat.interop
Class TopcatTransmitter

java.lang.Object
  extended by uk.ac.starlink.plastic.PlasticTransmitter
      extended by uk.ac.starlink.topcat.interop.TopcatTransmitter

public abstract class TopcatTransmitter
extends uk.ac.starlink.plastic.PlasticTransmitter

Extends PlasticTransmitter for TOPCAT use, just decorating its actions and menus with suitable icons.

Since:
23 Aug 2006
Author:
Mark Taylor

Constructor Summary
TopcatTransmitter(uk.ac.starlink.plastic.HubManager hubman, URI messageId, String sendType)
          Constructor.
 
Method Summary
 JMenu createSendMenu()
           
 Action getBroadcastAction()
           
 
Methods inherited from class uk.ac.starlink.plastic.PlasticTransmitter
setEnabled, transmit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopcatTransmitter

public TopcatTransmitter(uk.ac.starlink.plastic.HubManager hubman,
                         URI messageId,
                         String sendType)
Constructor.

Parameters:
hubman - hub manager which keeps track of registered apps
messageId - the message ID this transmitter will transmit; only registered applications which claim to suppor this message are considered
sendType - short string representing the type of object which is transmitted; this is used only for setting up text names for actions etc
Method Detail

getBroadcastAction

public Action getBroadcastAction()
Overrides:
getBroadcastAction in class uk.ac.starlink.plastic.PlasticTransmitter

createSendMenu

public JMenu createSendMenu()
Overrides:
createSendMenu in class uk.ac.starlink.plastic.PlasticTransmitter


Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.