You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2009/08/09 23:32:14 UTC

[jira] Commented: (PIVOT-212) Review container skin handling of displayable flag

    [ https://issues.apache.org/jira/browse/PIVOT-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741145#action_12741145 ] 

Greg Brown commented on PIVOT-212:
----------------------------------

After some additional thought, I believe the best approach is to simply eliminate the "displayable" property altogether and have containers that would otherwise respect it use the "visible" flag for this purpose. This is actually how visibility works in AWT - there is no equivalent of "displayable".


> Review container skin handling of displayable flag
> --------------------------------------------------
>
>                 Key: PIVOT-212
>                 URL: https://issues.apache.org/jira/browse/PIVOT-212
>             Project: Pivot
>          Issue Type: Task
>          Components: wtk
>    Affects Versions: 1.3
>            Reporter: Greg Brown
>            Assignee: Greg Brown
>             Fix For: 1.3
>
>
> Currently, some skins treat the displayable flag a "preferred visibility". This may not be the correct interpretation. Arguably, a non-displayable component should simply be taken out of the flow, not made invisible.
> Also, some skins currently respect the displayable flag that may not need to (e.g. WindowSkin).
> Finally, Component#isFocusable() and Container#requestFocus() should also check for isDisplayable().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.