public static enum IWatcher.TriggeringType extends java.lang.Enum<IWatcher.TriggeringType>
ON_TRUE
: the event is triggered each time the corresponding
watch expression becomes true.ON_TRUE_ONE_SHOT
: the event is triggered the first time the
corresponding watch expression becomes true. The watcher is
then deleted.ON_FALSE
: the event is triggered each time the corresponding
watch expression becomes false.ON_FALSE_ONE_SHOT
: the event is triggered the first time the
corresponding watch expression becomes false. The watcher is
then deleted.ON_TOGGLE
: the event is triggered each time the corresponding
watch expression becomes true or false.Enum Constant and Description |
---|
ON_FALSE |
ON_FALSE_ONE_SHOT |
ON_TOGGLE |
ON_TRUE |
ON_TRUE_ONE_SHOT |
Modifier and Type | Method and Description |
---|---|
static IWatcher.TriggeringType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IWatcher.TriggeringType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IWatcher.TriggeringType ON_TRUE
public static final IWatcher.TriggeringType ON_TRUE_ONE_SHOT
public static final IWatcher.TriggeringType ON_FALSE
public static final IWatcher.TriggeringType ON_FALSE_ONE_SHOT
public static final IWatcher.TriggeringType ON_TOGGLE
public static IWatcher.TriggeringType[] values()
for (IWatcher.TriggeringType c : IWatcher.TriggeringType.values()) System.out.println(c);
public static IWatcher.TriggeringType 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 nullORO is a part of the OpenRobots framework.
openrobots@laas.fr
LAAS-CNRS 2009-2011