Class FunctionTag

java.lang.Object
jfx.incubator.scene.control.input.FunctionTag

public final class FunctionTag extends Object
A function tag is a public identifier of a method that can be mapped to a key binding by the control's InputMap.

Example

Example:
 public class RichTextArea extends Control {
     public static class Tags {
         // Deletes the symbol before the caret.
         public static final FunctionTag BACKSPACE = new FunctionTag();
         // Copies selected text to the clipboard.
         public static final FunctionTag COPY = new FunctionTag();
         // Cuts selected text and places it to the clipboard.
         public static final FunctionTag CUT = new FunctionTag();
         ...
 
Since:
24
  • Constructor Details

    • FunctionTag

      public FunctionTag()
      Constructs the function tag.