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

Provide API for adding MenuItems to TextField ContextMenu

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      A DESCRIPTION OF THE PROBLEM :
      Until Java 8 and JavaFX 8 the TextFieldSkin provided the ability to add custom MenuItems to the default ContextMenu by overriding the Method "public void populateContextMenu(final ContextMenu pContextMenu)".

      With the refactoring for JPMS Modules this method went into the TextInputControlBehavior which is not public API.

      So currently there is no way to append MenuItems to the ContextMenu. I would like to propose an Enhancement to get this API back into the public API of JavaFX.


        Attachments

          Activity

            People

            • Assignee:
              aghaisas Ajit Ghaisas
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: