org.netbeans.modules.xml.xam
Enum ComponentEvent.EventType

java.lang.Object
  extended by java.lang.Enum<ComponentEvent.EventType>
      extended by org.netbeans.modules.xml.xam.ComponentEvent.EventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ComponentEvent.EventType>
Enclosing class:
ComponentEvent

public static enum ComponentEvent.EventType
extends java.lang.Enum<ComponentEvent.EventType>


Enum Constant Summary
CHILD_ADDED
          Childen component added
CHILD_REMOVED
          Childen component removed
VALUE_CHANGED
          Component value (attributes or properties) changed
 
Method Summary
abstract  void fireEvent(ComponentEvent evt, ComponentListener l)
           
static ComponentEvent.EventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ComponentEvent.EventType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VALUE_CHANGED

public static final ComponentEvent.EventType VALUE_CHANGED
Component value (attributes or properties) changed


CHILD_ADDED

public static final ComponentEvent.EventType CHILD_ADDED
Childen component added


CHILD_REMOVED

public static final ComponentEvent.EventType CHILD_REMOVED
Childen component removed

Method Detail

values

public static final ComponentEvent.EventType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ComponentEvent.EventType c : ComponentEvent.EventType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ComponentEvent.EventType 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 name

fireEvent

public abstract void fireEvent(ComponentEvent evt,
                               ComponentListener l)