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