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

List:       openjdk-openjfx-dev
Subject:    Re: [API REVIEW] RT-29194: Add property to specify how the PopupWindow's position is interpreted
From:       Richard Bair <richard.bair () oracle ! com>
Date:       2013-04-29 18:30:12
Message-ID: 56FF815B-0744-482D-8714-0BA9567E0077 () oracle ! com
[Download RAW message or body]

Looks good.

On Apr 24, 2013, at 5:22 AM, LUBOMIR NERAD <lubomir.nerad@oracle.com> wrote:

> Hi All,
> 
> this request comes from RT-28775. It should make it easier to set the PopupWindow \
> position on screen by changing the reference point associated with the x, y \
> coordinates. While for regular windows this point is in their upper left corner, \
> for popup windows this point (by default) will be identical with their content \
> origin. So if the content has some additional border (shadow), this feature will \
> make the popup position independent on it. 
> You can find more information in:
> 
> https://javafx-jira.kenai.com/browse/RT-28775
> https://javafx-jira.kenai.com/browse/RT-29194
> 
> To control this behavior there should be a new boolean property in PopupWindow. The \
> proposed API is: 
> public final void setAlignWithContentOrigin(boolean value);
> public final boolean isAlignWithContentOrigin(); (maybe "get" prefix is better \
> here?) public final BooleanProperty alignWithContentOriginProperty();
> 
> The default value will be set to true (the new interpretation of the popup window \
> position). 
> Thanks,
> Lubo
> 


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

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