FunctionTag (JavaFX 27)
Description: declaration: module: jfx.incubator.input, package: jfx.incubator.scene.control.input, class: FunctionTag

# 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 Summary

  Constructors
  Constructor
  Description
  `FunctionTag()`
  Constructs the function tag.

- ## Method Summary

  ### Methods declared in class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### FunctionTag

    public FunctionTag()
    Constructs the function tag.