mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
18 lines
422 B
Java
18 lines
422 B
Java
import javafx.beans.property.IntegerProperty;
|
|
import javafx.beans.property.SimpleIntegerProperty;
|
|
|
|
class Test {
|
|
private IntegerProperty newName = new SimpleIntegerProperty(this, "count");
|
|
|
|
public int getNewName() {
|
|
return newName.get();
|
|
}
|
|
|
|
public IntegerProperty newNameProperty() {
|
|
return newName;
|
|
}
|
|
|
|
public void setNewName(int newName) {
|
|
this.newName.set(newName);
|
|
}
|
|
} |