ObservableValue should have a hasListener(listener) method

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • 8u20
    • Affects Version/s: fx2.0.2
    • Component/s: javafx
    • None

      Sometimes you need to figure out if a listeners is already attached to property/observableValue or not.
      Adding a getListeners() method as suggested in http://javafx-jira.kenai.com/browse/RT-16363 is not an option as internal listeners may be leaked out.
      The alternative would be to add a hasListener(Listener) method.

      This issue was brought forward during informal discussions with the JavaFX team during JavaOne 2012.

            Assignee:
            Martin Sládeček
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: