Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-212

Eliminate Component "displayable" property; use "visible" for this purpose

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: wtk
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              tvolkert Todd Volkert
              Reporter:
              gbrown Gregory K. Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: