GithubHelp home page GithubHelp logo

mijibox / openfin-jjs-adapter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 152 KB

OpenFin Java-JavaScript Adapter

License: Apache License 2.0

Java 100.00%
openfin java javascript adapter openfin-java-gateway

openfin-jjs-adapter's Introduction

OpenFin Java-JavaScript Adapter

OpenFin Java-JavaScript Adapter using OpenFin Java Gateway

Almost all OpenFin JavaScript v2 API are implemented. Whatever marked as "EXPERIMENTAL" were not implemented.

All API calls have both synchronized and asynchronized methods, so developers can choose they way they like to program. ;-)

OpenFinGatewayLauncher.newOpenFinGatewayLauncher().open().thenAccept(gateway ->{
	OfApplication app = OfApplication.startFromManifest(gateway,
			"https://cdn.openfin.co/demos/hello/app.json", null);
	app.setZoomLevel(3.5);
});

Or

OpenFinGatewayLauncher.newOpenFinGatewayLauncher().open().thenCompose(gateway ->{
		return OfApplication.startFromManifestAsync(gateway,
			"https://cdn.openfin.co/demos/hello/app.json", null)
	})
	.thenCompose(app ->{
		return app.setZoomLevelAsync(3.5);
	});
});

License

Apache License 2.0

The code in this repository is covered by the included license.

However, if you run this code, it may call on the OpenFin RVM or OpenFin Runtime, which are covered by OpenFin’s Developer, Community, and Enterprise licenses. You can learn more about OpenFin licensing at the links listed below or just email OpenFin at [email protected] with questions.

https://openfin.co/developer-agreement/
https://openfin.co/licensing/

openfin-jjs-adapter's People

Contributors

dependabot[bot] avatar mijibox avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.