|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<HabitatListener.EventType>
org.jvnet.hk2.component.HabitatListener.EventType
public static enum HabitatListener.EventType
Enum Constant Summary | |
---|---|
HABITAT_INITIALIZED
Notification sent when this habitat has been initialized post startup |
|
INHABITANT_ADDED
Notification sent when a new inhabitant has been added to this habitat |
|
INHABITANT_INDEX_ADDED
Notification sent when an inhabitant contract is added to this habitat |
|
INHABITANT_INDEX_REMOVED
Notification sent when an inhabitant contract is removed from this habitat |
|
INHABITANT_MODIFIED
Notification sent when an inhabitant has been modified within this habitat |
|
INHABITANT_REMOVED
Notification sent when an inhabitant in this habitat has been removed |
Method Summary | |
---|---|
static HabitatListener.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HabitatListener.EventType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final HabitatListener.EventType HABITAT_INITIALIZED
public static final HabitatListener.EventType INHABITANT_ADDED
public static final HabitatListener.EventType INHABITANT_MODIFIED
public static final HabitatListener.EventType INHABITANT_REMOVED
public static final HabitatListener.EventType INHABITANT_INDEX_ADDED
public static final HabitatListener.EventType INHABITANT_INDEX_REMOVED
Method Detail |
---|
public static HabitatListener.EventType[] values()
for (HabitatListener.EventType c : HabitatListener.EventType.values()) System.out.println(c);
public static HabitatListener.EventType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |