All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fair_acc.chartfx.ui.css.LineStyle Maven / Gradle / Ivy

Go to download

This charting library ${project.artifactId}- is an extension in the spirit of Oracle's XYChart and performance/time-proven JDataViewer charting functionalities. Emphasis was put on plotting performance for both large number of data points and real-time displays, as well as scientific accuracies leading to error bar/surface plots, and other scientific plotting features (parameter measurements, fitting, multiple axes, zoom, ...).

The newest version!
package io.fair_acc.chartfx.ui.css;

import javafx.beans.property.LongProperty;
import javafx.beans.property.ReadOnlyLongProperty;
import javafx.beans.property.SimpleLongProperty;
import javafx.scene.shape.Line;

/**
 * @author ennerf
 */
public class LineStyle extends Line implements StyleUtil.StyleNode {
    public LineStyle(String... styles) {
        StyleUtil.styleNode(this, styles);
        StyleUtil.forEachStyleProp(this, StyleUtil.incrementOnChange(changeCounter));
    }

    @Override
    public String toString() {
        return StyleUtil.toStyleString(this);
    }

    public ReadOnlyLongProperty changeCounterProperty() {
        return changeCounter;
    }

    private final LongProperty changeCounter = new SimpleLongProperty(0);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy