com.ibm.redback.redbeans
Class RbEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.redback.redbeans.RbEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class RbEvent
- extends java.util.EventObject
- See Also:
- Serialized Form
Field Summary |
static int |
DEBUG
|
static int |
LOG
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
RbEvent(java.lang.Object anObject,
int type,
java.lang.String text)
Creates new instance of RbEvent |
Method Summary |
java.lang.String |
getText()
Gets event text. |
int |
getType()
Gets event Type. |
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 |
DEBUG
public static final int DEBUG
LOG
public static final int LOG
RbEvent
public RbEvent(java.lang.Object anObject,
int type,
java.lang.String text)
- Creates new instance of RbEvent
- Parameters:
anObject
- the object that created the eventtype
- the type of event
DEBUG = 1;
text
- any text associated with the event
getType
public int getType()
- Gets event Type.
getText
public java.lang.String getText()
- Gets event text.