Enum Class IStyledString.Style.UnderLineStyle
java.lang.Object
java.lang.Enum<IStyledString.Style.UnderLineStyle>
org.eclipse.emf.compare.provider.utils.IStyledString.Style.UnderLineStyle
- All Implemented Interfaces:
Serializable
,Comparable<IStyledString.Style.UnderLineStyle>
,java.lang.constant.Constable
- Enclosing class:
- IStyledString.Style
public static enum IStyledString.Style.UnderLineStyle
extends Enum<IStyledString.Style.UnderLineStyle>
The possible styles of the underline. These are those supported by JFace 3.8. Other versions or
other widgets toolkit may not support all of these or may support more than these.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static IStyledString.Style.UnderLineStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No underline. -
SINGLE
Single line. -
DOUBLE
Double line. -
SQUIGGLE
Squiggle line. -
ERROR
Error line (often dash line). -
LINK
Hyperlink.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-