Enum 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>
- 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.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IStyledString.Style.UnderLineStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static IStyledString.Style.UnderLineStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final IStyledString.Style.UnderLineStyle NONE
No underline.
-
SINGLE
public static final IStyledString.Style.UnderLineStyle SINGLE
Single line.
-
DOUBLE
public static final IStyledString.Style.UnderLineStyle DOUBLE
Double line.
-
SQUIGGLE
public static final IStyledString.Style.UnderLineStyle SQUIGGLE
Squiggle line.
-
ERROR
public static final IStyledString.Style.UnderLineStyle ERROR
Error line (often dash line).
-
LINK
public static final IStyledString.Style.UnderLineStyle LINK
Hyperlink.
-
-
Method Detail
-
values
public static IStyledString.Style.UnderLineStyle[] 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 (IStyledString.Style.UnderLineStyle c : IStyledString.Style.UnderLineStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IStyledString.Style.UnderLineStyle 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
-
-