Package javafx.beans.property

Examples of javafx.beans.property.SimpleLongProperty


    private StringProperty encryptedPassword;
    @JsonIgnore
    private StringProperty password;

    public BluePrint() {
        this.id= new SimpleLongProperty();
        this.url =  new SimpleStringProperty();
        this.username = new SimpleStringProperty();
        this.encryptedPassword = new SimpleStringProperty();
        this.password = new SimpleStringProperty();
    }
View Full Code Here


        super(LongProperty.class, converter);
    }

    @Override
    protected WritableValue<Number> createProperty() {
        return new SimpleLongProperty();
    }
View Full Code Here

        super(LongProperty.class, mapper);
    }

    @Override
    protected WritableValue<Number> createProperty() {
        return new SimpleLongProperty();
    }
View Full Code Here

            interval.set(clamp(50_000_000l, 5_000_000_000l, INTERVAL));
        }
    }
    public final LongProperty intervalProperty() {
        if (null == interval) {
            interval = new SimpleLongProperty(this, "interval", _interval);
        }
        return interval;
    }
View Full Code Here

    }

    /** Returns a property calculated from the given list, with no special mirroring setup. */
    public static LongProperty bindTotalPledgedProperty(ObservableSet<LHProtos.Pledge> pledges) {
        // We must ensure that the returned property keeps a strong reference to pledges, in case it's the only one.
        return new SimpleLongProperty(0) {
            private ObservableSet<LHProtos.Pledge> pledgesRef = pledges;

            // This should probably be done differently (as a lazy binding?) but I doubt it matters.
            {
                pledgesRef.addListener((InvalidationListener) o -> {
View Full Code Here

TOP

Related Classes of javafx.beans.property.SimpleLongProperty

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.