Package com.intellij.util.messages
Enum Topic.BroadcastDirection
- java.lang.Object
-
- java.lang.Enum<Topic.BroadcastDirection>
-
- com.intellij.util.messages.Topic.BroadcastDirection
-
- All Implemented Interfaces:
Serializable
,Comparable<Topic.BroadcastDirection>
public static enum Topic.BroadcastDirection extends Enum<Topic.BroadcastDirection>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
TO_CHILDREN
TO_PARENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Topic.BroadcastDirection
valueOf(String name)
Returns the enum constant of this type with the specified name.static Topic.BroadcastDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TO_CHILDREN
public static final Topic.BroadcastDirection TO_CHILDREN
-
NONE
public static final Topic.BroadcastDirection NONE
-
TO_PARENT
public static final Topic.BroadcastDirection TO_PARENT
-
-
Method Detail
-
values
public static Topic.BroadcastDirection[] 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 (Topic.BroadcastDirection c : Topic.BroadcastDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Topic.BroadcastDirection 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
-
-