Class UIBaseEvent
public class UIBaseEvent extends java.util.EventObject
{
// Constructors
public UIBaseEvent(Object source,int id);
// Methods
public int getID();
public Object getSource();
public String paramString();
public String toString();
}
This class represents the base event for all JDK 1.1 events and defines base level functionality of events.
EventObject
|
+--UIBaseEvent
public UIBaseEvent(Object source,int id);
Creates a basic event.
Parameter | Description |
source
| The object where the event originated.
|
id
| The event type.
|
public int getID();
Retrieves the identifier of the event.
Return Value:
Returns the identifier.
public Object getSource();
Retrieves the object that is the target of the event.
Return Value:
Returns the object that is the target of this event.
public String paramString();
This method is used internally by the toString method.
Return Value:
Returns a formatted String object that assists with textual representation of the exception.
public String toString();
Retrieves a string representation of the event.
Return Value:
Returns a String object representation of the exception.