protected void fireFrameRead ( ) { for ( IChemObjectIOListener chemListener : getListeners ( ) ) { IReaderListener listener = ( IReaderListener ) chemListener ; // Lazily create the event: if ( frameReadEvent == null ) { frameReadEvent = new ReaderEvent ( this ) ; } listener . frameRead ( frameReadEvent ) ; } }
Sends a frame read event to the registered ReaderListeners .