private void sendEvent ( Node node , NodeEventType type ) { NodeEvent event = new NodeEvent ( node , type ) ; for ( NodeEventHandler handler : handlers ) { handler . handle ( event ) ; } }
Sends the event to all the handlers .