public class TableSendActionManager extends org.astrogrid.samp.gui.IndividualCallActionManager implements Transmitter
Constructor and Description |
---|
TableSendActionManager(org.astrogrid.samp.gui.GuiHubConnector connector,
TopcatSampControl sampControl)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.Action |
createBroadcastAction() |
protected java.util.Map |
createMessage(org.astrogrid.samp.Client client) |
javax.swing.JMenu |
createSendMenu()
Returns a per-application menu which allows sending the information
to any single one of the appropriate recipients.
|
static org.astrogrid.samp.httpd.ServerResource |
createTableResource(uk.ac.starlink.table.StarTable table,
uk.ac.starlink.table.StarTableWriter writer)
Obtains a (somewhat) persistent resource object via which
a table can be made available to external processes.
|
javax.swing.Action |
getSendAction(org.astrogrid.samp.Client client) |
createResultHandler, createTag, dispose, registerHandler
createSendMenu, createTargetAction, createTargetSelector, disposeSendMenu, getBroadcastAction, getBroadcastIcon, getClientListModel, getConnector, getSendIcon, setEnabled, updateState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBroadcastAction, setEnabled
public TableSendActionManager(org.astrogrid.samp.gui.GuiHubConnector connector, TopcatSampControl sampControl)
connector
- hub connectorsampControl
- TOPCAT SAMP control objectprotected java.util.Map createMessage(org.astrogrid.samp.Client client) throws java.io.IOException
createMessage
in class org.astrogrid.samp.gui.IndividualCallActionManager
java.io.IOException
public javax.swing.Action createBroadcastAction()
createBroadcastAction
in class org.astrogrid.samp.gui.IndividualCallActionManager
public javax.swing.Action getSendAction(org.astrogrid.samp.Client client)
getSendAction
in class org.astrogrid.samp.gui.AbstractCallActionManager
public javax.swing.JMenu createSendMenu()
Transmitter
createSendMenu
in interface Transmitter
public static org.astrogrid.samp.httpd.ServerResource createTableResource(uk.ac.starlink.table.StarTable table, uk.ac.starlink.table.StarTableWriter writer)
table
- tablewriter
- table serializerCopyright ? 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.