edu.ksu.cis.projects.bogor.module.value.event
Class DefaultArrayEventNotifier
java.lang.Object
edu.ksu.cis.projects.bogor.module.event.AbstractEventNotifier
edu.ksu.cis.projects.bogor.module.value.event.DefaultArrayEventNotifier
- All Implemented Interfaces:
- IEventNotifier, IArrayEventNotifier
public class DefaultArrayEventNotifier
- extends AbstractEventNotifier
- implements IArrayEventNotifier
- Version:
- CVS $Revision: 1.2 $ $Date: 2004/12/18 22:36:34 $
- Author:
- Robby
Method Summary |
void |
addArrayElementReadListener(IArrayElementReadListener aerl)
|
void |
addArrayElementWrittenListener(IArrayElementWrittenListener aewl)
|
void |
addArrayFieldReadListener(IArrayFieldReadListener aerl)
|
void |
addArrayFieldWrittenListener(IArrayFieldWrittenListener aewl)
|
void |
notifyArrayElementRead(int threadId,
IArrayValue av,
int elementIndex,
IValue readValue)
|
void |
notifyArrayElementWritten(int threadId,
IArrayValue av,
int elementIndex,
IValue writtenValue,
IValue oldValue)
|
void |
notifyArrayFieldRead(int threadId,
IArrayValue av,
int fieldIndex,
IValue readValue)
|
void |
notifyArrayFieldWritten(int threadId,
IArrayValue av,
int fieldIndex,
IValue writtenValue,
IValue oldValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
arrayElementReadListeners
protected ArrayList<IArrayElementReadListener> arrayElementReadListeners
arrayElementWrittenListeners
protected ArrayList<IArrayElementWrittenListener> arrayElementWrittenListeners
arrayFieldReadListeners
protected ArrayList<IArrayFieldReadListener> arrayFieldReadListeners
arrayFieldWrittenListeners
protected ArrayList<IArrayFieldWrittenListener> arrayFieldWrittenListeners
DefaultArrayEventNotifier
public DefaultArrayEventNotifier()
addArrayElementReadListener
public void addArrayElementReadListener(IArrayElementReadListener aerl)
- Specified by:
addArrayElementReadListener
in interface IArrayEventNotifier
addArrayElementWrittenListener
public void addArrayElementWrittenListener(IArrayElementWrittenListener aewl)
- Specified by:
addArrayElementWrittenListener
in interface IArrayEventNotifier
addArrayFieldReadListener
public void addArrayFieldReadListener(IArrayFieldReadListener aerl)
- Specified by:
addArrayFieldReadListener
in interface IArrayEventNotifier
addArrayFieldWrittenListener
public void addArrayFieldWrittenListener(IArrayFieldWrittenListener aewl)
- Specified by:
addArrayFieldWrittenListener
in interface IArrayEventNotifier
notifyArrayElementRead
public void notifyArrayElementRead(int threadId,
IArrayValue av,
int elementIndex,
IValue readValue)
- Specified by:
notifyArrayElementRead
in interface IArrayEventNotifier
notifyArrayElementWritten
public void notifyArrayElementWritten(int threadId,
IArrayValue av,
int elementIndex,
IValue writtenValue,
IValue oldValue)
- Specified by:
notifyArrayElementWritten
in interface IArrayEventNotifier
notifyArrayFieldRead
public void notifyArrayFieldRead(int threadId,
IArrayValue av,
int fieldIndex,
IValue readValue)
- Specified by:
notifyArrayFieldRead
in interface IArrayEventNotifier
notifyArrayFieldWritten
public void notifyArrayFieldWritten(int threadId,
IArrayValue av,
int fieldIndex,
IValue writtenValue,
IValue oldValue)
- Specified by:
notifyArrayFieldWritten
in interface IArrayEventNotifier