public static enum HGListener.Result extends Enum<HGListener.Result>
Enum Constant and Description |
---|
cancel
This result indicates that processing should be cancelled.
|
ok
This result indicates that processing should continue normally.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static HGListener.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HGListener.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HGListener.Result ok
public static final HGListener.Result cancel
cancel
result, event processing is interrupted and
the calling HyperGraph instance is notified. The HyperGraph instance may
or may not honor the cancellation depending on the particular event type.
This per-event-type behavior is document in each event class.public static HGListener.Result[] values()
for (HGListener.Result c : HGListener.Result.values()) System.out.println(c);
public static HGListener.Result 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 String toString()
toString
in class Enum<HGListener.Result>
Copyright © 2015. All rights reserved.