Package uk.ac.starlink.topcat
Class SkyDalReporter
java.lang.Object
uk.ac.starlink.topcat.SkyDalReporter
- All Implemented Interfaces:
StiltsReporter
StiltsReporter implementation for cone-search-like windows.
- Since:
- 22 Oct 2024
- Author:
- Mark Taylor
-
Constructor Summary
ConstructorsConstructorDescriptionSkyDalReporter(uk.ac.starlink.vo.SkyDalTableLoadDialog dialog, Supplier<uk.ac.starlink.ttools.cone.ConeServiceType> servTypeSupplier, DoubleSupplier radiusSupplier, Function<uk.ac.starlink.ttools.task.TableCone, uk.ac.starlink.ttools.task.Setting[]> extraSettingsFunc) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStiltsListener(ActionListener listener) Adds a listener that will be messaged if the current stilts command might have changed.Creates a StiltsAction associated with this reporter.uk.ac.starlink.ttools.task.StiltsCommandcreateStiltsCommand(TopcatTableNamer tnamer) Returns a stilts command corresponding to current state.Returns a forwarder for listening to dialogue updates when stilts state may have changed.voidremoveStiltsListener(ActionListener listener) Removes a listener that may have been previously added.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface uk.ac.starlink.topcat.StiltsReporter
pset
-
Constructor Details
-
SkyDalReporter
public SkyDalReporter(uk.ac.starlink.vo.SkyDalTableLoadDialog dialog, Supplier<uk.ac.starlink.ttools.cone.ConeServiceType> servTypeSupplier, DoubleSupplier radiusSupplier, Function<uk.ac.starlink.ttools.task.TableCone, uk.ac.starlink.ttools.task.Setting[]> extraSettingsFunc) Constructor.- Parameters:
dialog- cone-like load dialogue on behalf of which this will be reportingservTypeSupplier- provides positional service identifierradiusSupplier- provides search radiusextraSettingsFunc- provides service-specific settings
-
-
Method Details
-
addStiltsListener
Description copied from interface:StiltsReporterAdds a listener that will be messaged if the current stilts command might have changed.- Specified by:
addStiltsListenerin interfaceStiltsReporter- Parameters:
listener- listener to add
-
removeStiltsListener
Description copied from interface:StiltsReporterRemoves a listener that may have been previously added.- Specified by:
removeStiltsListenerin interfaceStiltsReporter- Parameters:
listener- listener to remove
-
createStiltsCommand
Description copied from interface:StiltsReporterReturns a stilts command corresponding to current state.- Specified by:
createStiltsCommandin interfaceStiltsReporter- Parameters:
tnamer- table namer- Returns:
- command, or null if current state does not correspond to one
-
getActionForwarder
Returns a forwarder for listening to dialogue updates when stilts state may have changed.- Returns:
- action forwarder
-
createStiltsAction
Creates a StiltsAction associated with this reporter.- Returns:
- new action
-