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
-
description
- A message that describes the event in more detail.
-
type
- The event type.
-
SimpleEvent(String, int)
- Creates a new SimpleEvent object.
-
toString()
- Converts the event into a String.
description
String description
- A message that describes the event in more detail.
type
int type
- The event type.
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
toString
public String toString()
- Converts the event into a String.
- Returns:
- a string describing the event.
- Overrides:
- toString in class Object