Uses of Class
io.github.sosuisen.jfxbuilder.controls.XYChartSeriesBuilder
Packages that use XYChartSeriesBuilder
-
Uses of XYChartSeriesBuilder in io.github.sosuisen.jfxbuilder.controls
Methods in io.github.sosuisen.jfxbuilder.controls that return XYChartSeriesBuilderModifier and TypeMethodDescriptionfinal XYChartSeriesBuilder
<X, Y> XYChartSeriesBuilder.addData
(Collection<? extends XYChart.Data<X, Y>> col) Calls theaddAll
method on the ObservableList returned by theSeries#getData()
method.final XYChartSeriesBuilder
<X, Y> XYChartSeriesBuilder.addData
(XYChart.Data<X, Y>... elements) Calls theaddAll
method on the ObservableList returned by theSeries#getData()
method.XYChartSeriesBuilder.apply
(Consumer<XYChart.Series<X, Y>> func) Applies a function to the Series instance being constructed.XYChartSeriesBuilder.chartPropertyApply
(Consumer<ReadOnlyObjectProperty<XYChart<X, Y>>> op) Applies a function to thechartProperty
of the instance being constructed.static <X,
Y> XYChartSeriesBuilder <X, Y> XYChartSeriesBuilder.create()
Returns an instance of theXYChartSeriesBuilder<X, Y>
.static <X,
Y> XYChartSeriesBuilder <X, Y> XYChartSeriesBuilder.create
(String name, ObservableList<XYChart.Data<X, Y>> data) Accepts the constructor arguments ofSeries(String, ObservableList)
and returns an instance ofXYChartSeriesBuilder<X, Y>
.static <X,
Y> XYChartSeriesBuilder <X, Y> XYChartSeriesBuilder.create
(ObservableList<XYChart.Data<X, Y>> data) Accepts the constructor arguments ofSeries(ObservableList)
and returns an instance ofXYChartSeriesBuilder<X, Y>
.XYChartSeriesBuilder.data
(ObservableList<XYChart.Data<X, Y>> value) A builder method that invokes thesetData
method on the instance being constructed.XYChartSeriesBuilder.dataPropertyApply
(Consumer<ObjectProperty<ObservableList<XYChart.Data<X, Y>>>> op) Applies a function to thedataProperty
of the instance being constructed.A builder method that invokes thesetName
method on the instance being constructed.XYChartSeriesBuilder.namePropertyApply
(Consumer<StringProperty> op) Applies a function to thenameProperty
of the instance being constructed.A builder method that invokes thesetNode
method on the instance being constructed.XYChartSeriesBuilder.nodePropertyApply
(Consumer<ObjectProperty<Node>> op) Applies a function to thenodeProperty
of the instance being constructed.static <X,
Y> XYChartSeriesBuilder <X, Y> XYChartSeriesBuilder.withData
(Collection<? extends XYChart.Data<X, Y>> col) Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theSeries#getData()
method.static <X,
Y> XYChartSeriesBuilder <X, Y> XYChartSeriesBuilder.withData
(XYChart.Data<X, Y>... elements) Creates an instance of the builder, then calls theaddAll
method on the ObservableList returned by theSeries#getData()
method.