Package com.rs.seagull.emulator.api
Enum Class BareCursor.CursorType
- All Implemented Interfaces:
Serializable,Comparable<BareCursor.CursorType>,Constable
- Enclosing interface:
- BareCursor
This is the type of the cursor.
- Version:
- $Id$
- Author:
- MRomijn
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the CursorType is blinking.booleanisHidden()Check if the CursorType is hidden.booleanCheck if the CursorType is visible.static BareCursor.CursorTypeReturns the enum constant of this class with the specified name.static BareCursor.CursorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BLINKING
5250-style blinking cursor -
VISIBLE
Normal cursor -
HIDDEN
No visible cursor
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isBlinking
public boolean isBlinking()Check if the CursorType is blinking.- Returns:
trueif the CursorType is blinking
-
isVisible
public boolean isVisible()Check if the CursorType is visible.- Returns:
trueif the CursorType is visible
-
isHidden
public boolean isHidden()Check if the CursorType is hidden.- Returns:
trueif the CursorType is hidden
-