Package org.exbin.bined.swing.extended
Enum ExtendedCodeAreaCaret.CursorShapeWidth
- java.lang.Object
-
- java.lang.Enum<ExtendedCodeAreaCaret.CursorShapeWidth>
-
- org.exbin.bined.swing.extended.ExtendedCodeAreaCaret.CursorShapeWidth
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExtendedCodeAreaCaret.CursorShapeWidth>
- Enclosing class:
- ExtendedCodeAreaCaret
public static enum ExtendedCodeAreaCaret.CursorShapeWidth extends java.lang.Enum<ExtendedCodeAreaCaret.CursorShapeWidth>
Width of the cursor paint object.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExtendedCodeAreaCaret.CursorShapeWidth
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExtendedCodeAreaCaret.CursorShapeWidth[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINE
public static final ExtendedCodeAreaCaret.CursorShapeWidth LINE
Single pixel width line.
-
DOUBLE
public static final ExtendedCodeAreaCaret.CursorShapeWidth DOUBLE
Two pixels width line.
-
QUARTER
public static final ExtendedCodeAreaCaret.CursorShapeWidth QUARTER
One quarter of cursor size.
-
HALF
public static final ExtendedCodeAreaCaret.CursorShapeWidth HALF
Half of cursor size.
-
FULL
public static final ExtendedCodeAreaCaret.CursorShapeWidth FULL
Full cursor size.
-
-
Method Detail
-
values
public static ExtendedCodeAreaCaret.CursorShapeWidth[] 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 (ExtendedCodeAreaCaret.CursorShapeWidth c : ExtendedCodeAreaCaret.CursorShapeWidth.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExtendedCodeAreaCaret.CursorShapeWidth valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-