mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 03:20:56 +07:00
18 lines
397 B
Java
18 lines
397 B
Java
import javafx.beans.property.BooleanProperty;
|
|
import javafx.beans.property.SimpleBooleanProperty;
|
|
|
|
public class ControllerBooleanProperty {
|
|
private BooleanProperty flag = new SimpleBooleanProperty(false);
|
|
|
|
public BooleanProperty flagProperty() {
|
|
return flag;
|
|
}
|
|
|
|
public boolean getFlag() {
|
|
return flag.get();
|
|
}
|
|
|
|
public void setFlag(boolean flag) {
|
|
this.flag.set(flag);
|
|
}
|
|
} |