Enum Event.OverlapRenderingMode

    • Enum Constant Detail

      • None

        public static final Event.OverlapRenderingMode None
        Don't try to detect overlaps. When this mode is set, text will never be shortened regardless of the ShortenMode.
      • Overfull

        public static final Event.OverlapRenderingMode Overfull
        Only shorten text when it overflows the box for this Event. Don't try to detect overlaps with other Events.
      • Intersecting

        public static final Event.OverlapRenderingMode Intersecting
        Shorten the text when it overflows the box for this Event or overlaps with another Event.
    • Method Detail

      • values

        public static Event.OverlapRenderingMode[] 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.OverlapRenderingMode c : Event.OverlapRenderingMode.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.OverlapRenderingMode 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