Example usage for javafx.beans.property SimpleBooleanProperty SimpleBooleanProperty

List of usage examples for javafx.beans.property SimpleBooleanProperty SimpleBooleanProperty

Introduction

In this page you can find the example usage for javafx.beans.property SimpleBooleanProperty SimpleBooleanProperty.

Prototype

public SimpleBooleanProperty(Object bean, String name, boolean initialValue) 

Source Link

Document

The constructor of BooleanProperty

Usage

From source file:org.nmrfx.processor.gui.spectra.PeakListAttributes.java

public BooleanProperty drawPeaksProperty() {
    if (drawPeaks == null) {
        drawPeaks = new SimpleBooleanProperty(this, "on", true);
    }//from w w w.  j a  v  a 2  s  .c  o  m
    return drawPeaks;
}

From source file:org.nmrfx.processor.gui.spectra.PeakListAttributes.java

public BooleanProperty simPeaksProperty() {
    if (simPeaks == null) {
        simPeaks = new SimpleBooleanProperty(this, "sim", false);
    }/*  ww  w .  j  av  a2  s.c om*/
    return simPeaks;
}

From source file:de.pro.dbw.file.dream.api.DreamModel.java

public BooleanProperty favoriteProperty() {
    if (favoriteProperty == null) {
        favoriteProperty = new SimpleBooleanProperty(this, DREAM_MODEL__COLUMN_NAME__FAVORITE, _favorite);
    }//from   ww  w . ja  va 2 s. c  om
    return favoriteProperty;
}

From source file:com.github.naoghuman.abclist.model.ExerciseTerm.java

public BooleanProperty markAsWrongProperty() {
    if (markAsWrongProperty == null) {
        markAsWrongProperty = new SimpleBooleanProperty(this, EXERCISE_TERM__COLUMN_NAME__MARK_AS_WRONG,
                _markAsWrong);/*from   w ww.  j  ava 2s . c o  m*/
    }
    return markAsWrongProperty;
}

From source file:com.github.naoghuman.abclist.model.Exercise.java

public BooleanProperty consolidatedProperty() {
    if (consolidatedProperty == null) {
        consolidatedProperty = new SimpleBooleanProperty(this, EXERCISE__COLUMN_NAME__CONSOLIDATED,
                _consolidated);/* w  ww  .ja v a 2 s. c o  m*/
    }
    return consolidatedProperty;
}

From source file:com.github.naoghuman.abclist.model.Link.java

public BooleanProperty favoriteProperty() {
    if (favoriteProperty == null) {
        favoriteProperty = new SimpleBooleanProperty(this, LINK__COLUMN_NAME__FAVORITE, _favorite);
    }/*from   w  w w .  j a  va 2s.  c  o m*/

    return favoriteProperty;
}

From source file:com.github.naoghuman.abclist.model.Exercise.java

public BooleanProperty readyProperty() {
    if (readyProperty == null) {
        readyProperty = new SimpleBooleanProperty(this, EXERCISE__COLUMN_NAME__READY, _ready);
    }//  w  ww  . j a v  a2  s.  c  o  m
    return readyProperty;
}

From source file:org.nmrfx.processor.gui.spectra.DatasetAttributes.java

public BooleanProperty posProperty() {
    if (pos == null) {
        pos = new SimpleBooleanProperty(this, "+on", true);
    }//w  w w.ja  va2  s  .c o  m
    return pos;
}

From source file:org.nmrfx.processor.gui.spectra.DatasetAttributes.java

public BooleanProperty negProperty() {
    if (neg == null) {
        neg = new SimpleBooleanProperty(this, "-on", true);
    }//from   w ww.  j  a v a2 s.  c om
    return neg;
}

From source file:org.nmrfx.processor.gui.spectra.DatasetAttributes.java

public BooleanProperty drawRealProperty() {
    if (drawReal == null) {
        drawReal = new SimpleBooleanProperty(this, "real", true);
    }//from   ww  w  . j ava  2  s.co  m
    return drawReal;
}