Package org.exbin.bined.swing.extended
Enum ExtendedCodeAreaCaret.CursorRenderingMode
- java.lang.Object
-
- java.lang.Enum<ExtendedCodeAreaCaret.CursorRenderingMode>
-
- org.exbin.bined.swing.extended.ExtendedCodeAreaCaret.CursorRenderingMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExtendedCodeAreaCaret.CursorRenderingMode>
- Enclosing class:
- ExtendedCodeAreaCaret
public static enum ExtendedCodeAreaCaret.CursorRenderingMode extends java.lang.Enum<ExtendedCodeAreaCaret.CursorRenderingMode>
Method for rendering cursor into CodeArea component.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExtendedCodeAreaCaret.CursorRenderingMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExtendedCodeAreaCaret.CursorRenderingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAINT
public static final ExtendedCodeAreaCaret.CursorRenderingMode PAINT
Cursor is just painted.
-
XOR
public static final ExtendedCodeAreaCaret.CursorRenderingMode XOR
Cursor is painted using pixels inversion.
-
NEGATIVE
public static final ExtendedCodeAreaCaret.CursorRenderingMode NEGATIVE
Underlying character is painted using negative color to cursor cursor.
-
-
Method Detail
-
values
public static ExtendedCodeAreaCaret.CursorRenderingMode[] 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.CursorRenderingMode c : ExtendedCodeAreaCaret.CursorRenderingMode.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.CursorRenderingMode 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
-
-