public class TopcatSampControl
extends java.lang.Object
| Constructor and Description |
|---|
TopcatSampControl(org.astrogrid.samp.client.HubConnector hubConnector,
ControlWindow controlWindow)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
createRowMessage(TopcatModel tcModel,
long lrow)
Creates a message suitable for sending a row highlight SAMP message
to other clients.
|
java.util.Map |
createSubsetMessage(TopcatModel tcModel,
RowSubset rset)
Creates a message suitable for sending a row list selection SAMP
message to other clients.
|
ControlWindow |
getControlWindow()
Returns the control window which owns this connector.
|
java.lang.String |
getTableId(TopcatModel tcModel)
Returns a public reference ID which may be used to the current state
of a given TOPCAT table.
|
public TopcatSampControl(org.astrogrid.samp.client.HubConnector hubConnector,
ControlWindow controlWindow)
throws java.io.IOException
controlWindow - TOPCAT top-level windowjava.io.IOExceptionpublic ControlWindow getControlWindow()
public java.lang.String getTableId(TopcatModel tcModel)
tcModel - table to identifypublic java.util.Map createSubsetMessage(TopcatModel tcModel, RowSubset rset)
tcModel - tablerset - row subset of tcModel to sendpublic java.util.Map createRowMessage(TopcatModel tcModel, long lrow)
tcModel - tablelrow - index of row in tcModel to highlightCopyright ? 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.