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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the CursorType is blinking.boolean
isHidden()
Check if the CursorType is hidden.boolean
Check if the CursorType is visible.static BareCursor.CursorType
Returns 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:
true
if the CursorType is blinking
-
isVisible
public boolean isVisible()Check if the CursorType is visible.- Returns:
true
if the CursorType is visible
-
isHidden
public boolean isHidden()Check if the CursorType is hidden.- Returns:
true
if the CursorType is hidden
-