Example usage for javafx.beans.property SimpleIntegerProperty SimpleIntegerProperty

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

Introduction

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

Prototype

public SimpleIntegerProperty() 

Source Link

Document

The constructor of IntegerProperty

Usage

From source file:mesclasses.model.EleveData.java

public EleveData() {
    super();// w w w  . j a  v  a 2s. co  m
    this.id = "donnee_" + RandomStringUtils.randomAlphanumeric(10);
    date = new SimpleObjectProperty<>();
    retard = new SimpleIntegerProperty();
    absent = new SimpleBooleanProperty();
    travailPasFait = new SimpleBooleanProperty();
    devoir = new SimpleBooleanProperty();
    motCarnet = new SimpleBooleanProperty();
    motSigne = new SimpleBooleanProperty();
    exclus = new SimpleBooleanProperty();
    oubliMateriel = new SimpleStringProperty();
    motif = new SimpleStringProperty();
}

From source file:mesclasses.view.RapportEleveController.java

/**
 * Initializes the controller class.//from  ww w  .ja  va2 s . c om
 */
@Override
public void initialize(URL url, ResourceBundle rb) {
    name = "Rapport Classe Ctrl";
    super.initialize(url, rb);

    trimestreIndex = new SimpleIntegerProperty();
    selectedTrimestre = new SimpleStringProperty();
    selectedFileType = new SimpleStringProperty();
    selectBulletin();
    selectedFileType.addListener((observable, oldValue, newValue) -> {
        refreshGrid();
    });
    trimestreLabel.textProperty().bind(selectedTrimestre);

    previousBtn.disableProperty()
            .bind(Bindings.or(Bindings.size(trimestres).lessThan(2), trimestreIndex.isEqualTo(0)));
    Btns.makeLeft(previousBtn);
    nextBtn.disableProperty().bind(Bindings.or(Bindings.size(trimestres).lessThan(2),
            trimestreIndex.isEqualTo(trimestres.size() - 1)));
    Btns.makeRight(nextBtn);

    bulletinBtn.prefWidthProperty().bind(bulletinPane.widthProperty());
    vieScolaireBtn.prefWidthProperty().bind(vieScolairePane.widthProperty());
    orientationBtn.prefWidthProperty().bind(orientationPane.widthProperty());

}

From source file:ch.chrigu.datastructures.demo.instances.CollectionInstance.java

private void initProperties() {
    this.name = new SimpleStringProperty(instance.getClass().getName());
    if (collectionOptions != null) {
        this.parametersProperty = new SimpleStringProperty(collectionOptions.toString());
    }/*from ww w  .j a  v  a 2s  .  co  m*/
    lastMeasurementInMs = new SimpleLongProperty();
    elements = new SimpleStringProperty();
    size = new SimpleIntegerProperty();
    updateElements();
    updateSize();
}

From source file:org.ramidore.bean.GvStatTable.java

public GvStatTable() {

    guildName = new SimpleIntegerProperty();
    charaName = new SimpleStringProperty();
    killCount = new SimpleIntegerProperty(0);
    deathCount = new SimpleIntegerProperty(0);
    point = new SimpleIntegerProperty(0);
    note = new SimpleStringProperty(StringUtils.EMPTY);
}