public enum Touch extends Enum<Touch> implements EnumEventType
Enum Constant and Description |
---|
Any
Any Swipe Event.
|
Moved
Touch moved event.
|
Pressed
Touch pressed event.
|
Released
Touch released event.
|
Stationary
Touch stationary event.
|
Modifier and Type | Method and Description |
---|---|
EventType<?> |
eventType()
Return the javaFX event type.
|
static Touch |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Touch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final Touch Stationary
public static Touch[] values()
for (Touch c : Touch.values()) System.out.println(c);
public static Touch valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic EventType<?> eventType()
eventType
in interface EnumEventType
Copyright © 2011–2016 JRebirth OSS. All rights reserved.