Example usage for javafx.beans.property ReadOnlyStringWrapper ReadOnlyStringWrapper

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

Introduction

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

Prototype

public ReadOnlyStringWrapper(Object bean, String name, String initialValue) 

Source Link

Document

The constructor of ReadOnlyStringWrapper

Usage

From source file:User.java

public User() {
    userName = new ReadOnlyStringWrapper(this, USERNAME_PROP_NAME, System.getProperty("user.name"));
    password = new SimpleStringProperty(this, PASSWORD_PROP_NAME, "");
}

From source file:Main.java

License:asdf

public User() {
    userName = new ReadOnlyStringWrapper(this, "userName", "ABC");
    password = new SimpleStringProperty(this, "password", "");
}