JDK-8210361: Add images to docs for public API classes of controls

Anirvan Sarkar powers.anirvan at gmail.com
Wed Sep 12 19:33:30 UTC 2018


Hi Nir,

Thanks for this RFE.

Now other UI toolkits like GTK and QT have a separate gallery of
controls[1][2].

I was considering to add something similar in JavaFX but I never got around
to start working on it, mostly due to all the screenshots which is needed
to be taken beforehand !

Since you will now take images of all the controls, you can consider to add
a gallery in this RFE itself.

But if you don't want then someone else (me) can volunteer to do this once
this RFE is merged.

Let me know what you decide :-)

[1] : https://developer.gnome.org/gtk4/stable/ch03.html
[2] : http://doc.qt.io/archives/qt-4.8/gallery.html


On Thu 13 Sep, 2018, 12:07 AM Kevin Rushforth, <kevin.rushforth at oracle.com>
wrote:

> Agreed. For simple controls like checkbox, button, etc., it makes sense
> to use an undecorated Stage. It's less busy and puts the emphasis on the
> control being illustrated.
>
> -- Kevin
>
>
> On 9/12/2018 7:57 AM, Pedro Duque Vieira wrote:
> > Yes I agree with you. Controls on which their window decorations are a
> part
> > of them, should show up with them. If those decorations change depending
> on
> > the platform their running, I would put a note saying that.
> >
> > The vast majority of controls don't belong to that category.
> >
> > Cheers,
> >
> > On Wed, Sep 12, 2018 at 3:51 PM Nir Lisker <nlisker at gmail.com> wrote:
> >
> >> That's sensible, though for Alert and the like I think they should stay
> as
> >> it's effectively part of the control.
> >>
> >> On Wed, Sep 12, 2018 at 4:19 PM Pedro Duque Vieira <
> >> pedro.duquevieira at gmail.com> wrote:
> >>
> >>> I would remove the window decorations. That's platform dependent,
> windows,
> >>> linux, mac have different aesthetics for this. They also don't add any
> >>> value to the representation of the control.
> >>>
> >>> That's what I usually do.
> >>>
> >>> Cheers,
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Pedro Duque Vieira - https://www.pixelduke.com
> >>>
>
>


More information about the openjfx-dev mailing list