|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be implemented by any class that can register
single
objects.
RecordListener
Method Summary | |
void |
addRecordListener(RecordListener listener)
Adds the specified RecordListener to this object. |
RecordListener |
getRecordListener()
Returns this objects RecordListener if there is one. |
void |
removeRecordListener(RecordListener listener)
Removes the specified listener from this object if it is this objects listener, otherwise it does nothing. |
Method Detail |
public void addRecordListener(RecordListener listener) throws TooManyListenersException
listener
- the RecordListener to add.
TooManyListenersException
- if a listener is already present.removeRecordListener(org.freehep.record.loop.event.RecordListener)
public RecordListener getRecordListener()
public void removeRecordListener(RecordListener listener)
listener
- the RecordListener to remove.addRecordListener(org.freehep.record.loop.event.RecordListener)
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |