Enhanced property metadata

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: javafx
    • None

      Introduce a new method to the JavaFX property API:

          public interface ReadOnlyProperty<T> extends ObservableValue<T> {
              Class<?> getDeclaringClass();
          }

      In addition, add the following interface:

          public interface AttachedProperty {
              Class<?> getTargetClass();
          }

      The new API allows applications, frameworks, and tools to inspect the declaring class of a property instance, and to detect attached properties (via instanceof AttachedProperty) and discover their target class. This naturally complements the existing property metadata API (getBean() and getName()).

            Assignee:
            Michael Strauß
            Reporter:
            Michael Strauß
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: