Package org.ptolemy.ssm
Enum MirrorDecoratorListener.DecoratorEvent
- java.lang.Object
-
- java.lang.Enum<MirrorDecoratorListener.DecoratorEvent>
-
- org.ptolemy.ssm.MirrorDecoratorListener.DecoratorEvent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MirrorDecoratorListener.DecoratorEvent>
- Enclosing interface:
- MirrorDecoratorListener
public static enum MirrorDecoratorListener.DecoratorEvent extends java.lang.Enum<MirrorDecoratorListener.DecoratorEvent>
Type of the event.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDED_PARAMETER
Parameter was added.ADDED_PORT
Port was added.ADDED_PORT_PARAMETER
PortParameter was added.CHANGED_PARAMETER
Parameter was changed.CHANGED_PORT_PARAMETER
PortParameter was changed.REMOVED_PARAMETER
Parameter was removed.REMOVED_PORT
Port was removed.REMOVED_PORT_PARAMETER
PortParameter was removed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MirrorDecoratorListener.DecoratorEvent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MirrorDecoratorListener.DecoratorEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDED_PORT
public static final MirrorDecoratorListener.DecoratorEvent ADDED_PORT
Port was added.
-
REMOVED_PORT
public static final MirrorDecoratorListener.DecoratorEvent REMOVED_PORT
Port was removed.
-
ADDED_PARAMETER
public static final MirrorDecoratorListener.DecoratorEvent ADDED_PARAMETER
Parameter was added.
-
REMOVED_PARAMETER
public static final MirrorDecoratorListener.DecoratorEvent REMOVED_PARAMETER
Parameter was removed.
-
CHANGED_PARAMETER
public static final MirrorDecoratorListener.DecoratorEvent CHANGED_PARAMETER
Parameter was changed.
-
ADDED_PORT_PARAMETER
public static final MirrorDecoratorListener.DecoratorEvent ADDED_PORT_PARAMETER
PortParameter was added.
-
REMOVED_PORT_PARAMETER
public static final MirrorDecoratorListener.DecoratorEvent REMOVED_PORT_PARAMETER
PortParameter was removed.
-
CHANGED_PORT_PARAMETER
public static final MirrorDecoratorListener.DecoratorEvent CHANGED_PORT_PARAMETER
PortParameter was changed.
-
-
Method Detail
-
values
public static MirrorDecoratorListener.DecoratorEvent[] 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 (MirrorDecoratorListener.DecoratorEvent c : MirrorDecoratorListener.DecoratorEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MirrorDecoratorListener.DecoratorEvent valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-