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/10 00:08:14 UTC

[jira] Updated: (PIVOT-212) Eliminate Component "displayable" property; use "visible" for this purpose

     [ https://issues.apache.org/jira/browse/PIVOT-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-212:
-----------------------------

    Comment: was deleted

(was: 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".
)

> Eliminate Component "displayable" property; use "visible" for this purpose
> --------------------------------------------------------------------------
>
>                 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).
> We should eliminate this property and use a component's visibility instead. This is the approach taken by AWT. We should also review which containers are currently trying to respect "displayable" and remove this code where it doesn't make sense.

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