Enum Event.TextRenderingMode
- java.lang.Object
-
- java.lang.Enum<Event.TextRenderingMode>
-
- com.metsci.glimpse.core.plot.timeline.event.Event.TextRenderingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<Event.TextRenderingMode>
- Enclosing class:
- Event
public static enum Event.TextRenderingMode extends Enum<Event.TextRenderingMode>
Indicates how text which is too large to fit in the Event box should be shortened.- Author:
- ulman
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Event.TextRenderingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Event.TextRenderingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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.
-
HideAll
public static final Event.TextRenderingMode HideAll
If any of the text does not fit, hide all the text.
-
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 nameNullPointerException
- if the argument is null
-
-