Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.c,comp.lang.java.programmer Subject: Re: Self-updating relationship Date: Thu, 03 Sep 2015 10:32:53 -0400 Organization: A noiseless patient Spider Lines: 26 Message-ID: References: <55E766BD.3060303@verizon.net> <55E77D04.6080200@verizon.net> <55E78636.5000908@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 3 Sep 2015 14:32:31 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="a78aad8b483612fbf45d18e918df0cca"; logging-data="26552"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1920c80o8jY/Y0duoFuuWDEcazpWJ/Xz/E=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 In-Reply-To: Cancel-Lock: sha1:55WX8DSpXAIo3TyS4RqLLsLRiWU= Xref: csiph.com comp.lang.c:69129 comp.lang.java.programmer:32489 On 09/02/2015 11:52 PM, Jeff Higgins wrote: > On 09/02/2015 07:28 PM, James Kuyper wrote: >> Your earlier version had: >>> final javafx.beans.binding.NumberBinding spaces = >>> height.subtract( number ); >> >> which causes spaces.getValue() to behave like the equivalent of a C++ >> member function whose return value is calculated using the specified >> formula freshly each time "spaces" is referred to. Is this a >> characteristic of binding.NumberBinding, or some more general Java >> feature? > > It's a characteristic of the > javafx.beans.binding.Binding interface. > > Sorry, this is incorrect. It's a characteristic of the javafx.beans.property.Property interface.