Enum IStyledString.Style.BorderStyle
- java.lang.Object
-
- java.lang.Enum<IStyledString.Style.BorderStyle>
-
- org.eclipse.emf.compare.provider.utils.IStyledString.Style.BorderStyle
-
- All Implemented Interfaces:
Serializable
,Comparable<IStyledString.Style.BorderStyle>
- Enclosing class:
- IStyledString.Style
public static enum IStyledString.Style.BorderStyle extends Enum<IStyledString.Style.BorderStyle>
The possible styles of the border. 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.BorderStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static IStyledString.Style.BorderStyle[]
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.BorderStyle NONE
No border.
-
SOLID
public static final IStyledString.Style.BorderStyle SOLID
Solid thin border.
-
DOT
public static final IStyledString.Style.BorderStyle DOT
Dot thin border.
-
DASH
public static final IStyledString.Style.BorderStyle DASH
Dash thin border.
-
-
Method Detail
-
values
public static IStyledString.Style.BorderStyle[] 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.BorderStyle c : IStyledString.Style.BorderStyle.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.BorderStyle 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
-
-