Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-20939

Make "icons" property in Button.as "protected" instead of "private" to allow for overriding.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 3.3 (Release)
    • None
    • mx: Button
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:

      In any Button subclass, try to override the mx_internal function viewIconForPhase to allow for setting custom properties on icons at runtime.

      Actual Results: Can't override because everything is compatible with the override except for the "icons" property, since it is not inherited as a "private" property instead of "protected."

      Expected Results: Would hope that the property was "protected" and not "private."

      Workaround (if any): Lots of hacking to get around what could potentially be an easy override.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: