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(boolean initialValue) 

Source Link

Document

The constructor of BooleanProperty

Usage

From source file:mesclasses.model.Devoir.java

public Devoir() {
    super();/*from  w  w  w  .  j  av  a 2 s  .c o m*/
    this.id = "devoir_" + RandomStringUtils.randomAlphanumeric(5);
    this.closed = new SimpleBooleanProperty(false);
}

From source file:mesclasses.model.Punition.java

public Punition() {
    super();// w  w w .j a v a 2s.co  m
    this.id = RandomStringUtils.randomAlphanumeric(5);
    this.texte = new SimpleStringProperty();
    this.closed = new SimpleBooleanProperty(false);
}

From source file:org.mskcc.shenkers.control.alignment.AlignmentOverlay.java

public AlignmentOverlay() {
    super();/*from w  w w . j  a v  a2  s .co  m*/
    //        s = new Scale();
    //        s.xProperty().bind(widthProperty());
    //        s.yProperty().bind(heightProperty());
    //        getTransforms().add(s);
    //      TODO to allow clicks to pass through  pane.setMouseTransparent(true);
    flipProperty = new SimpleBooleanProperty(false);

}

From source file:benedict.zhang.addon.roleplaying.model.SpellConfiguration.java

public SpellConfiguration() {
    this.spellName = new SimpleStringProperty("");
    this.spellCastAvailable = new SimpleBooleanProperty(false);
    this.spellCooldownAvailable = new SimpleBooleanProperty(false);
    this.unitAuraAvailable = new SimpleBooleanProperty(false);
    this.spellCastLockTimeGlobal = new SimpleStringProperty("3");
    this.spellCastLockTimeSelf = new SimpleStringProperty("3");
    this.spellCastSoundName = new SimpleStringProperty("Not Selected");
    this.spellCooldownLockTimeGlobal = new SimpleStringProperty("3");
    this.spellCooldownLockTimeSelf = new SimpleStringProperty("3");
    this.spellCooldownReminderBefore = new SimpleStringProperty("5");
    this.spellCooldownSoundName = new SimpleStringProperty("Not Selected");
    this.unitAuraLockTimeGlobal = new SimpleStringProperty("3");
    this.unitAuraLockTimeSelf = new SimpleStringProperty("3");
    this.unitAuraSoundName = new SimpleStringProperty("Not Selected");
}

From source file:mesclasses.model.Eleve.java

public Eleve() {
    super();/*from  w w  w. j ava2  s.co m*/
    this.id = RandomStringUtils.randomAlphanumeric(5);
    this.firstName = new SimpleStringProperty();
    this.lastName = new SimpleStringProperty();
    this.actif = new SimpleBooleanProperty(true);
    this.data = FXCollections.observableArrayList();
    this.punitions = FXCollections.observableArrayList();
    this.devoirs = FXCollections.observableArrayList();
    this.mots = FXCollections.observableArrayList();
    this.changementsClasse = FXCollections.observableArrayList();
}

From source file:mesclasses.model.Cours.java

public Cours() {
    this.id = RandomStringUtils.randomAlphanumeric(5);
    day = new SimpleStringProperty();
    classe = new SimpleObjectProperty<>();
    room = new SimpleStringProperty("");
    week = new SimpleStringProperty();
    startHour = new SimpleIntegerProperty(8);
    startMin = new SimpleIntegerProperty(0);
    endHour = new SimpleIntegerProperty(9);
    endMin = new SimpleIntegerProperty(0);
    ponctuel = new SimpleBooleanProperty(false);
}

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

public Link(final long id) {
    this.setId(id);
    this.setGenerationTime(System.currentTimeMillis());

    markAsChangedProperty = new SimpleBooleanProperty(Boolean.FALSE);
}

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

private void init(long id, long parentId, String title) {
    this.setId(id);
    this.setParentId(parentId);
    this.setTitle(title);

    markAsChangedProperty = new SimpleBooleanProperty(Boolean.FALSE);
}

From source file:de.pixida.logtest.designer.MainWindow.java

private void bindEditorDependentProperties() {
    StringExpression titlePropertyBinding;
    BooleanProperty fileHandlingEnabled;
    final Editor currentEditor = this.getCurrentEditor();
    if (currentEditor == null) {
        titlePropertyBinding = Bindings.concat(APP_TITLE);
        fileHandlingEnabled = new SimpleBooleanProperty(false);
    } else {//from w ww  .  j  ava 2 s  . c om
        titlePropertyBinding = Bindings.concat(currentEditor.getTypeName() + " - ")
                .concat(currentEditor.getTitleLong()).concat(" - " + APP_TITLE);
        fileHandlingEnabled = currentEditor.supportsFilesProperty();
    }
    this.primaryStage.titleProperty().bind(titlePropertyBinding);
    this.menuItemSave.disableProperty().bind(fileHandlingEnabled.not());
    this.menuItemSaveAs.disableProperty().bind(fileHandlingEnabled.not());
}

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

private void init(long id, long generationTime, String title) {
    this.setId(id);
    this.setGenerationTime(generationTime);
    this.setTitle(title);

    markAsChangedProperty = new SimpleBooleanProperty(Boolean.FALSE);
}