Class FigureSubscription
java.lang.Object
io.deephaven.web.client.api.widget.plot.FigureSubscription
Represents the subscriptions that are needed to get data for the series in a figure. The equals and hashcode method
are designed to only match the features which can change while still maintaining the current subscription - the
actual "subscribed" series can change as long as they don't affect these other parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionFigureSubscription
(JsFigure figure, JsTable originalTable, JsFigure.AxisRange downsampleAxisRange, JsFigure.DownsampleParams downsampleParams, Set<JsSeries> series) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
replaceSeries
(Set<JsSeries> replacements) Ensures that all of these series are present in this subscription, and returns the ones which were added, if any, so they can get a notification of their current data.void
void
-
Constructor Details
-
FigureSubscription
public FigureSubscription(JsFigure figure, JsTable originalTable, JsFigure.AxisRange downsampleAxisRange, JsFigure.DownsampleParams downsampleParams, Set<JsSeries> series)
-
-
Method Details
-
replaceSeries
Ensures that all of these series are present in this subscription, and returns the ones which were added, if any, so they can get a notification of their current data. Replacement series must match this subscription already - the only facet that will be checked is that the columns match. -
hashCode
public int hashCode() -
equals
-
subscribe
public void subscribe() -
unsubscribe
public void unsubscribe() -
getSeries
-