org.jtool.jxplatform.event
Class JxEvent
java.lang.Object
java.util.EventObject
org.jtool.jxplatform.event.JxEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JxAlertEvent, JxChangedEvent, JxLogEvent
- public class JxEvent
- extends java.util.EventObject
An event that contains information.
- Author:
- Katsuhisa Maruyama
- See Also:
- Serialized Form
|
Field Summary |
protected java.lang.String |
message
A message related to an event. |
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
protected |
JxEvent(java.lang.Object source)
Creates an event object containing event's information. |
protected |
JxEvent(java.lang.Object source,
java.lang.String msg)
Creates an event object containing event's information. |
|
Method Summary |
java.lang.String |
getMessage()
Returns a messege sent from the event source. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
message
protected java.lang.String message
- A message related to an event.
JxEvent
protected JxEvent(java.lang.Object source)
- Creates an event object containing event's information.
- Parameters:
source - An object on which the event initially occurred.
JxEvent
protected JxEvent(java.lang.Object source,
java.lang.String msg)
- Creates an event object containing event's information.
- Parameters:
source - An object on which the event initially occurred.msg - A message about this event.
getMessage
public java.lang.String getMessage()
- Returns a messege sent from the event source.
- Returns:
- The messege string.