Class SimpleEvent

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

public class SimpleEvent
extends Object
implements ComponentEvent
A class representing events related to ComponentConfigurators.

Version:
0.1
Author:
Fabio Kon
See Also:
ComponentEvent, ComponentConfigurator

Variable Index

 o description
A message that describes the event in more detail.
 o type
The event type.

Constructor Index

 o SimpleEvent(String, int)
Creates a new SimpleEvent object.

Method Index

 o toString()
Converts the event into a String.

Variables

 o description
 String description
A message that describes the event in more detail.

 o type
 int type
The event type.

Constructors

 o SimpleEvent
 public SimpleEvent(String description,
                    int type)
Creates a new SimpleEvent object.

Parameters:
description - a String describing the event
type - the event type
See Also:
Object

Methods

 o toString
 public String toString()
Converts the event into a String.

Returns:
a string describing the event.
Overrides:
toString in class Object