Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8091189

Move BehaviorBase into public API

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 8
    • javafx
    • None

      The BehaviorBase class is referred to from SkinBase (RT-21597), and it should therefore be considered as to whether this class should also move to the javafx.scene.control package.

      One thing to consider prior to making this API is whether there is a better mechanism for wiring up events with actions. One possible path to explore is whether to use annotations instead of the cumbersome two-step process that is currently in use. Another approach is to use the command pattern in a similar way to Actions were used in Swing.

        1. rt21596.patch
          31 kB
        2. rt21596-2.patch
          54 kB
        3. rt21598.patch
          133 kB
        4. rt21598-annotation.patch
          8 kB

            aghaisas Ajit Ghaisas
            jgiles Jonathan Giles
            Votes:
            12 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Imported: