Enum EPlaceholderInsertHint

    • Enum Constant Detail

      • TEXT

        public static final EPlaceholderInsertHint TEXT
        Insert as plain text, the default (and fallback), should be supported by all target components.
      • HTML

        public static final EPlaceholderInsertHint HTML
        Insert as HTML text if supported by the target component.
      • LINK

        public static final EPlaceholderInsertHint LINK
        Insert as a link if supported by the target component (e.g. if the placeholder stands for a URL).
    • Method Detail

      • values

        public static EPlaceholderInsertHint[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EPlaceholderInsertHint c : EPlaceholderInsertHint.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EPlaceholderInsertHint valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getHintName

        public String getHintName()
        Returns:
        the lower case name of the enum constant, see also the related InsertHints constant in fc-backend-common-gui/src/main/web/src/core/Header.ts