Package org.exbin.bined.swing.extended
Enum ExtendedCodeAreaCaret.CursorShape
- java.lang.Object
-
- java.lang.Enum<ExtendedCodeAreaCaret.CursorShape>
-
- org.exbin.bined.swing.extended.ExtendedCodeAreaCaret.CursorShape
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExtendedCodeAreaCaret.CursorShape>
- Enclosing class:
- ExtendedCodeAreaCaret
@ParametersAreNonnullByDefault public static enum ExtendedCodeAreaCaret.CursorShape extends java.lang.Enum<ExtendedCodeAreaCaret.CursorShape>
Enumeration of supported cursor shapes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM_CORNERS
BOX
CORNERS
DOUBLE_BOTTOM
DOUBLE_LEFT
DOUBLE_RIGHT
DOUBLE_TOP
FRAME
HALF_BOTTOM
HALF_LEFT
HALF_RIGHT
HALF_TOP
LINE_BOTTOM
LINE_LEFT
LINE_RIGHT
LINE_TOP
QUARTER_BOTTOM
QUARTER_LEFT
QUARTER_RIGHT
QUARTER_TOP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendedCodeAreaCaret.CursorShapeWidth
getWidth()
static ExtendedCodeAreaCaret.CursorShape
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExtendedCodeAreaCaret.CursorShape[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINE_BOTTOM
public static final ExtendedCodeAreaCaret.CursorShape LINE_BOTTOM
-
LINE_TOP
public static final ExtendedCodeAreaCaret.CursorShape LINE_TOP
-
LINE_LEFT
public static final ExtendedCodeAreaCaret.CursorShape LINE_LEFT
-
LINE_RIGHT
public static final ExtendedCodeAreaCaret.CursorShape LINE_RIGHT
-
DOUBLE_BOTTOM
public static final ExtendedCodeAreaCaret.CursorShape DOUBLE_BOTTOM
-
DOUBLE_TOP
public static final ExtendedCodeAreaCaret.CursorShape DOUBLE_TOP
-
DOUBLE_LEFT
public static final ExtendedCodeAreaCaret.CursorShape DOUBLE_LEFT
-
DOUBLE_RIGHT
public static final ExtendedCodeAreaCaret.CursorShape DOUBLE_RIGHT
-
QUARTER_BOTTOM
public static final ExtendedCodeAreaCaret.CursorShape QUARTER_BOTTOM
-
QUARTER_TOP
public static final ExtendedCodeAreaCaret.CursorShape QUARTER_TOP
-
QUARTER_LEFT
public static final ExtendedCodeAreaCaret.CursorShape QUARTER_LEFT
-
QUARTER_RIGHT
public static final ExtendedCodeAreaCaret.CursorShape QUARTER_RIGHT
-
HALF_BOTTOM
public static final ExtendedCodeAreaCaret.CursorShape HALF_BOTTOM
-
HALF_TOP
public static final ExtendedCodeAreaCaret.CursorShape HALF_TOP
-
HALF_LEFT
public static final ExtendedCodeAreaCaret.CursorShape HALF_LEFT
-
HALF_RIGHT
public static final ExtendedCodeAreaCaret.CursorShape HALF_RIGHT
-
BOX
public static final ExtendedCodeAreaCaret.CursorShape BOX
-
FRAME
public static final ExtendedCodeAreaCaret.CursorShape FRAME
-
CORNERS
public static final ExtendedCodeAreaCaret.CursorShape CORNERS
-
BOTTOM_CORNERS
public static final ExtendedCodeAreaCaret.CursorShape BOTTOM_CORNERS
-
-
Method Detail
-
values
public static ExtendedCodeAreaCaret.CursorShape[] 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.CursorShape c : ExtendedCodeAreaCaret.CursorShape.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.CursorShape 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
-
getWidth
@Nonnull public ExtendedCodeAreaCaret.CursorShapeWidth getWidth()
-
-