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

Move BehaviorBase into public API

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
      None

      Description

      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.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Imported: