public enum DelayInterval extends java.lang.Enum<DelayInterval>
ControllerButton.setDelayBeforeRepeating(com.exlumina.j360.DelayInterval)
.Enum Constant and Description |
---|
LONG
Wait a while (about one full second) before sending the first
repeated event for a button that is in repeat mode.
|
MEDIUM
Wait slightly more than briefly (about 1/2 of a second) before sending the first
repeated event for a button that is in repeat mode.
|
NONE
When sent to
NONE , the first automatically generated event for a button
in repeat mode will be sent after the current RepeatInterval for that button
has passed. |
SHORT
Wait briefly (about 1/4 of a second) before sending the first repeated event for a
button that is in repeat mode.
|
Modifier and Type | Method and Description |
---|---|
static DelayInterval |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DelayInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DelayInterval NONE
NONE
, the first automatically generated event for a button
in repeat mode will be sent after the current RepeatInterval
for that button
has passed. In effect, the button will begin repeating immediately at its currently
set rate.public static final DelayInterval SHORT
public static final DelayInterval MEDIUM
public static final DelayInterval LONG
public static DelayInterval[] values()
for (DelayInterval c : DelayInterval.values()) System.out.println(c);
public static DelayInterval valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null