Activator
protected abstract static class SkyPosConfigurator.SkyPosActivator extends java.lang.Object implements Activator
Modifier and Type | Method | Description |
---|---|---|
Outcome |
activateRow(long lrow,
ActivationMeta meta) |
Invokes some kind of action on the table row indicated by a given index.
|
boolean |
invokeOnEdt() |
Indicates how this activator's
activateRow method
should be executed. |
protected abstract Outcome |
useSkyPos(double raDeg,
double decDeg) |
Does the work of consuming the sky position corresponding to
an activated row.
|
protected abstract Outcome useSkyPos(double raDeg, double decDeg)
raDeg
- right ascension in degreesdecDeg
- declination in degreespublic boolean invokeOnEdt()
Activator
activateRow
method
should be executed.
If true, it is intended to be invoked synchronously
on the Event Dispatch Thread.
If false, it is intended to be invoked asynchronously
on some less time-critical thread.
False should be returned if this activator may be time-consuming.invokeOnEdt
in interface Activator
public Outcome activateRow(long lrow, ActivationMeta meta)
Activator
activateRow
in interface Activator
lrow
- row indexmeta
- additional activation metadata if available;
may be null if no special information is availableCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.