Package com.microfocus.zfe.haapi.ps
Enum PresentationSpaceEvent.Origin
- java.lang.Object
-
- java.lang.Enum<PresentationSpaceEvent.Origin>
-
- com.microfocus.zfe.haapi.ps.PresentationSpaceEvent.Origin
-
- All Implemented Interfaces:
Serializable
,Comparable<PresentationSpaceEvent.Origin>
- Enclosing class:
- PresentationSpaceEvent
public static enum PresentationSpaceEvent.Origin extends Enum<PresentationSpaceEvent.Origin>
Used for listener registration as well indicating the event origin
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PresentationSpaceEvent.Origin
valueOf(String name)
Returns the enum constant of this type with the specified name.static PresentationSpaceEvent.Origin[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER
public static final PresentationSpaceEvent.Origin USER
An event generated due to user activity on the presentation space. Can be specified during listener registration to indicate this listener just wants to receive events originating from the user.
-
HOST
public static final PresentationSpaceEvent.Origin HOST
An event generated due to host activity on the presentation space. Can be specified during listener registration to indicate this listener just wants to receive events originating from the host.
-
-
Method Detail
-
values
public static PresentationSpaceEvent.Origin[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PresentationSpaceEvent.Origin c : PresentationSpaceEvent.Origin.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PresentationSpaceEvent.Origin valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-