Package adams.flow.core
Enum InteractionDisplayLocation
- java.lang.Object
-
- java.lang.Enum<InteractionDisplayLocation>
-
- adams.flow.core.InteractionDisplayLocation
-
- All Implemented Interfaces:
Serializable
,Comparable<InteractionDisplayLocation>
public enum InteractionDisplayLocation extends Enum<InteractionDisplayLocation>
Enumeration of possible locations for interactions to be displayed.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIALOG
displayed as separate dialog.NOTIFICATION_AREA
in the notification area.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InteractionDisplayLocation
valueOf(String name)
Returns the enum constant of this type with the specified name.static InteractionDisplayLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIALOG
public static final InteractionDisplayLocation DIALOG
displayed as separate dialog.
-
NOTIFICATION_AREA
public static final InteractionDisplayLocation NOTIFICATION_AREA
in the notification area.
-
-
Method Detail
-
values
public static InteractionDisplayLocation[] 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 (InteractionDisplayLocation c : InteractionDisplayLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InteractionDisplayLocation 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
-
-