configuration
Class SimpleEvent

java.lang.Object
  |
  +--configuration.SimpleEvent

public class SimpleEvent
extends java.lang.Object
implements ComponentEvent

A class representing events related to ComponentConfigurators.

See Also:
ComponentEvent, ComponentConfigurator

Constructor Summary
SimpleEvent(java.lang.String description, int type)
          Creates a new SimpleEvent object.
 
Method Summary
 int getType()
          Accessor for the event type.
 java.lang.String toString()
          Converts the event into a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleEvent

public SimpleEvent(java.lang.String description,
                   int type)
Creates a new SimpleEvent object.
Parameters:
description - a String describing the event
type - the event type
See Also:
Object
Method Detail

toString

public java.lang.String toString()
Converts the event into a String.
Specified by:
toString in interface ComponentEvent
Returns:
a string describing the event.
Overrides:
toString in class java.lang.Object

getType

public int getType()
Accessor for the event type.
Specified by:
getType in interface ComponentEvent
Returns:
the type of the event.