Package javafx.beans.property

Examples of javafx.beans.property.SimpleIntegerProperty


            decimals.set(dec);
        }
    }
    public final IntegerProperty decimalsProperty() {
        if (null == decimals) {
            decimals = new SimpleIntegerProperty(this, "decimals", _decimals);
        }
        return decimals;
    }
View Full Code Here


            minMeasuredValueDecimals.set(DECIMALS);
        }
    }
    public final IntegerProperty minMeasuredValueDecimalsProperty() {
        if (null == minMeasuredValueDecimals) {
            minMeasuredValueDecimals = new SimpleIntegerProperty(this, "minMeasuredValueDecimals", _minMeasuredValueDecimals);
        }
        return maxMeasuredValueDecimals;
    }
View Full Code Here

            maxMeasuredValueDecimals.set(DECIMALS);
        }
    }
    public final IntegerProperty maxMeasuredValueDecimalsProperty() {
        if (null == maxMeasuredValueDecimals) {
            maxMeasuredValueDecimals = new SimpleIntegerProperty(this, "maxMeasuredValueDecimals", _maxMeasuredValueDecimals);
        }
        return maxMeasuredValueDecimals;
    }
View Full Code Here

            decimals.set(clamp(0, 3, DECIMALS));
        }
    }
    public final IntegerProperty decimalsProperty() {
        if (null == decimals) {
            decimals = new SimpleIntegerProperty(this, "decimals", _decimals);
        }
        return decimals;
    }
View Full Code Here

        properties.put("markersList", new SimpleObjectProperty<>(MARKERS));
        return (B)this;
    }

    public final B decimals(final int DECIMALS) {
        properties.put("decimals", new SimpleIntegerProperty(DECIMALS));
        return (B)this;
    }
View Full Code Here

        properties.put("maxValue", new SimpleDoubleProperty(MAX_VALUE));
        return (B) this;
    }

    public final B decimals(final int DECIMALS) {
        properties.put("decimals", new SimpleIntegerProperty(DECIMALS));
        return (B) this;
    }
View Full Code Here

    public int getIndex() { return index.get(); }

    public ParagraphBox(int index, Paragraph<S> par, BiConsumer<Text, S> applyStyle) {
        this.getStyleClass().add("paragraph-box");
        this.text = new ParagraphText<>(par, applyStyle);
        this.index = new SimpleIntegerProperty(index);
        getChildren().add(text);
        graphic = EasyBind.combine(graphicFactory, this.index, (f, i) -> f != null ? f.apply(i.intValue()) : null);
        graphic.addListener((obs, oldG, newG) -> {
            if(oldG != null) {
                getChildren().remove(oldG);
View Full Code Here

TOP

Related Classes of javafx.beans.property.SimpleIntegerProperty

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.