Code Monkey home page Code Monkey logo

bindablefx's Introduction

bindableFX

This library adds additional functionality to javaFX binding mechanism.

Build Status

Maven dependency###

Stable Release

This is the stable release that can be used in production.

<dependency>
		<groupId>de.saxsys</groupId>
		<artifactId>bindablefx</artifactId>
		<version>2.1.0</version>
</dependency>

Development Snapshot

Here you get new features. This release is unstable and shouldn't be used in production.

<dependency>
		<groupId>de.saxsys</groupId>
		<artifactId>bindablefx</artifactId>
		<version>2.1.0-SNAPSHOT</version>
</dependency>

bindablefx's People

Contributors

xyanid avatar

Watchers

James Cloos avatar  avatar

bindablefx's Issues

Implement Listbindings

Implement a ListBinding that does allow for the following actions:

  • Map all the values in a list to a single value
  • Map all the values in a list to a list of different values
  • Synchronize the content of two lists

Improve FluentAPI

The current FluentAPI should be reworked, since it is sometimes hard to understand the intend of a statement. This should include the renaming of methods and even the attempt to make a base, root Listeners so that something like this would work waitFor(a.bProperty).bind(B::xProperty, x);

Adjust the memorized value of the IPropertyBinding

Currently when a IPropertyBinding does not yet have a underlying property, the setValue() method will memorize the value and set it once the property is available. So imagine the following scenario:

  1. IPropertyBinding gets bound to another Property.
  2. IPropertyBinding does not yet have a property of its own
  3. The other property gets set, which would memorize the value
  4. As soon as the IPropertyBinding gets its property, the value of the property is adjusted

In most cases this does not seem to be problematic but imagine the following:

  1. A listview contains items and displays some of the field (e.g. a name of a person)
  2. The IPropertyBinding gets bidirectional bound against the textfield
  3. No item is yet selected
  4. The textfield is activated and text is entered
  5. An item in the listview is selected
  6. The bound value of the item would change because the textfield was previously adjusted.

Solution would be to make the memorize functionality optional and disable it by default. So in the above scenario, the value of the selected item would not change, but in fact the value in the textfield would change.

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.