Java Code Examples for javafx.beans.binding.Bindings#selectDouble()

The following examples show how to use javafx.beans.binding.Bindings#selectDouble() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: EntityIcon.java    From clarity-analyzer with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
protected DoubleBinding getVecX() {
    return Bindings.selectDouble(oe.getPropertyBinding(Double.class, "CBodyComponent.m_vecX", 0.0));
}
 
Example 2
Source File: EntityIcon.java    From clarity-analyzer with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
protected DoubleBinding getVecY() {
    return Bindings.selectDouble(oe.getPropertyBinding(Double.class, "CBodyComponent.m_vecY", 0.0));
}