[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: A request for FXML exxamples (Re: [jfx15] Fix mistakes in FX API docs [v3]
From:       Nir Lisker <nlisker () gmail ! com>
Date:       2020-07-27 20:39:50
Message-ID: CA+0ynh_1KtD3jre-1xHb3fMNJMp3FxVNF4cGDpjzRCyEUCRF7Q () mail ! gmail ! com
[Download RAW message or body]

Hi Rony,

I think that this PR is not the place for this question since it only fixes
a typo there.

On Mon, Jul 27, 2020 at 4:12 PM Rony G. Flatscher <Rony.Flatscher@wu.ac.at>
wrote:

> On 26.07.2020 12:10, Nir Lisker wrote:
> >> Fixes https://bugs.openjdk.java.net/browse/JDK-8246343 and some
> additional fixes in the vicinity.
> > Nir Lisker has updated the pull request incrementally with one
> additional commit since the last revision:
> >
> >   VBox and HBox fixes
> >
> > -------------
> >
> > Changes:
> >   - all: https://git.openjdk.java.net/jfx/pull/274/files
> >   - new:
> https://git.openjdk.java.net/jfx/pull/274/files/5c7d74ef..141e78f1
> >
> > Webrevs:
> >  - full: https://webrevs.openjdk.java.net/jfx/274/webrev.02
> >  - incr: https://webrevs.openjdk.java.net/jfx/274/webrev.01-02
> >
> >   Stats: 11 lines in 2 files changed: 0 ins; 2 del; 9 mod
> >   Patch: https://git.openjdk.java.net/jfx/pull/274.diff
> >   Fetch: git fetch https://git.openjdk.java.net/jfx
> pull/274/head:pull/274
> >
> > PR: https://git.openjdk.java.net/jfx/pull/274
>
> One of the changes reads (at <
> https://git.openjdk.java.net/jfx/pull/274/files>):
>
>
> modules/javafx.fxml/src/main/docs/javafx/fxml/doc-files/introduction_to_fxml.html
>     <
> https://github.com/openjdk/jfx/pull/274/files#diff-7057a6e3191138952057e494b1753773
> >
>
>     Viewed
>
>     @@ -720,7 +720,7 @@ <h4><a
> id="collections_and_property_handlers">Special handlers for
>     collections a
>
>     <p> Collections and object properties cannot be listen to using <span
> class="code">setOn<span
>     class="variable">Event</span>()</span> methods.
>
>     For these reason, special handler methods need to be used.
>
>     <span class="code">ObservableList</span>, <span
> class="code">ObservableMap</span> or <span
>     class="code">ObservableSet</span>
>
>     uses a special <span class="code">onChange</span> attribute that
> points to a handler method with
>     a <span class="code">ListChangeListener.Change</span>, <span
>     class="code">MapChangeListener.Change</span> or <span
>     class="code">SetChangeListener.Change</span> parameter, respectively.
>
>     </p>
>
>     <pre class="code">
>
>     &lt;VBox fx:controller="com.foo.MyController"
>
> Does anyone have FXML examples where "onChange" for ObservableList,
> ObservableMap and ObservableSet
> get employed?
>
> ---rony
>
>
>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic