com.partnersoft.cog
Class CogEvent
java.lang.Object
java.util.EventObject
com.partnersoft.cog.CogEvent
- All Implemented Interfaces:
- java.io.Serializable
public class CogEvent
- extends java.util.EventObject
A superclass for events that occur within Cogs. Can also be used for generic
cog events that don't have an appropriate subclass.
Copyright 2005-2009 Partner Software, Inc.
- Version:
- $Id: CogEvent.java 2044 2009-08-22 22:11:09Z paul $
- Author:
- Paul Reavis
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
CogEvent(Cog cog,
java.lang.String message)
|
|
Method Summary |
Cog |
getCog()
Returns the cog node associated with this event. |
java.lang.String |
getMessage()
Returns a message describing this event. |
| 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 |
CogEvent
public CogEvent(Cog cog,
java.lang.String message)
getCog
public Cog getCog()
- Returns the cog node associated with this event.
- Returns:
- node associated with this event.
getMessage
public java.lang.String getMessage()
- Returns a message describing this event.
- Returns:
- event message