Enum Event.TextRenderingMode

    • Enum Constant Detail

      • ShowAll

        public static final Event.TextRenderingMode ShowAll
        Don't shorten the text at all. It will simply spill over the event box into adjacent event boxes.
      • Ellipsis

        public static final Event.TextRenderingMode Ellipsis
        Shorten the text to fit in the box and display ellipsis to indicate that the text has been shortened.
    • Method Detail

      • values

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

        public static Event.TextRenderingMode 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