Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 471 Bytes

File metadata and controls

22 lines (17 loc) · 471 Bytes

com.jake.swtfx.binding

Supports using SWT Controls with Java FX Bindings

Installation (Gradle):

repositories {
  jcenter()
}

dependencies {
    compile 'com.jake:com.jake.swtfx.binding:1.0.1'
}

Usage:
  SWTBinding.wrap(swtControl).someProperty().bind(observable);

For example:
  Label label = new Label(compositeParent, SWT.NONE);
  StringProperty nameProperty = new SimpleStringProperty();
  SWTBinding.wrap(label).textProperty().bind(nameProperty);