Enum ETextContentViewEmptyMode

    • Enum Constant Detail

      • TREAT_EMPTY_STRING_AS_EMPTY_FILE

        public static final ETextContentViewEmptyMode TREAT_EMPTY_STRING_AS_EMPTY_FILE
        Treat null and empty strings as if a file with empty content had been set.
      • TREAT_EMPTY_STRING_AS_NO_FILE

        public static final ETextContentViewEmptyMode TREAT_EMPTY_STRING_AS_NO_FILE
        Treat null and empty strings as if no file had been set.
      • TREAT_BLANK_STRING_AS_EMPTY_FILE

        public static final ETextContentViewEmptyMode TREAT_BLANK_STRING_AS_EMPTY_FILE
        Treat null, empty, and blank strings as if a file with an empty or blank content had been set.
      • TREAT_BLANK_STRING_AS_NO_FILE

        public static final ETextContentViewEmptyMode TREAT_BLANK_STRING_AS_NO_FILE
        Treat null, empty, and blank strings as if no file had been set.
    • Method Detail

      • values

        public static ETextContentViewEmptyMode[] 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 (ETextContentViewEmptyMode c : ETextContentViewEmptyMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ETextContentViewEmptyMode 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