Fires a loaded event on all registered handlers in the handler manager. If
no such handlers exist, this method will do nothing.

@param source the source of the handlers
345490
public static void fire(final HasLoadedHandlers source) {
        if (TYPE != null) {
            LoadedEvent event = new LoadedEvent();
            source.fireEvent(event);
        }
    }
920573
public static <T> void fire(final HasSlideHandlers<T> source, T newValue) {
        if (TYPE != null) {
            SlideEvent<T> event = new SlideEvent<T>(newValue);
            source.fireEvent(event);
        }
    }
329020
public void dispatch(Event<?> event) {
		//eventManagement.dispatch(event);
		for (EventListener listener : KReflection.Holder.INSTANCE.listeners) {
			try {
				listener.handleEvent(event);
			} catch (Exception e) {
				// ignore
				// TODO add message kind
			}
		}
	}
949355
@SuppressWarnings("PMD.UseVarargs")
    public void fire(Event<?> event, Channel[] channels) {
        eventPipeline.add(event, channels);
    }
1090953
public final void event(Class sourceClass,
                            String methodName,
                            Throwable throwable) {
        internalEvent(null,
                      sourceClass,
                      methodName,
                      throwable);
    }
790456
public static void fire(I_CmsHasDateBoxEventHandlers source, Date date, boolean isTyping) {

        if (TYPE != null) {
            CmsDateBoxEvent event = new CmsDateBoxEvent(date, isTyping);
            source.fireEvent(event);
        }
    }
808751
synchronized void fireEvent(final Event<?> event) {
        final String eventType = event.getType();
        List<Event<?>> events = synchronizedEvents.get(eventType);
        if (null == events) {
            events = new ArrayList<>();
            synchronizedEvents.put(eventType, events);
        }

        events.add(event);
        setChanged();
        notifyListeners(event);
    }
1309746
public static <S extends HasAttachHandlers> void fire(S source, PopupState popupState,
                                                          PopupOptions popupOptions) {
      if (TYPE != null) {
        JQMPopupEvent event = new JQMPopupEvent(popupState);
        if (popupOptions != null) event.setPopupOptions(popupOptions);
        source.fireEvent(event);
      }
    }
496725
public void fire(T event) {
		ArrayList<Listener<T>> list1;
		ArrayList<Runnable> list2;
		synchronized (this) {
			if (listeners == null) list1 = null;
			else list1 = new ArrayList<>(listeners);
			if (listenersRunnable == null) list2 = null;
			else list2 = new ArrayList<>(listenersRunnable);
		}
		if (list1 != null)
			for (int i = 0; i < list1.size(); ++i)
				try { list1.get(i).fire(event); }
				catch (Throwable t) {
					LCCore.getApplication().getDefaultLogger().error("Event listener error: " + list1.get(i), t);
				}
		if (list2 != null)
			for (int i = 0; i < list2.size(); ++i)
				try { list2.get(i).run(); }
				catch (Throwable t) {
					LCCore.getApplication().getDefaultLogger().error("Event listener error: " + list2.get(i), t);
				}
	}
776213
public synchronized void fireVolumeChangeEvent(Object source, int volume) {
        VolumeChangeEvent vce = new VolumeChangeEvent(source, volume);

        for (VolumeChangeListener vcl : volListeners) {
            vcl.volumeChanged(vce);
        }
    }
849112
public static <T> void fire(final HasSlideStopHandlers<T> source, final T value) {
        if (TYPE != null) {
            SlideStopEvent<T> event = new SlideStopEvent<T>(value);
            source.fireEvent(event);
        }
    }
628699
public void fireTableRowSelected(Object source, int iRowIndex, int iSelectionType)
    {
        this.fireMySelectionChanged(new MyListSelectionEvent(source, this, iRowIndex, iSelectionType));
    }
535158
public static <S extends HasAttachHandlers> void fire(S source, PageState pageState,
            JQMPage prevPage, JQMPage nextPage) {
      if (TYPE != null) {
        JQMPageEvent event = new JQMPageEvent(pageState, prevPage, nextPage);
        source.fireEvent(event);
      }
    }
332637
public static <S extends HasAttachHandlers> void fire(S source, TabsState tabsState,
            Widget newTabHeader, Widget oldTabHeader, Widget newTabContent, Widget oldTabContent) {
        if (TYPE != null) {
            JQMTabsEvent event = new JQMTabsEvent(tabsState, newTabHeader, oldTabHeader,
                                                  newTabContent, oldTabContent);
            source.fireEvent(event);
        }
    }
222206
@Override
    public void handleEvent(Event event) {
        LOG.fine("CustomInfoHandler called");

        if (customInfo != null) {
            event.getCustomInfo().putAll(customInfo);
        }
    }
1197825
protected void fireMySelectionChanged(MyListSelectionEvent event)
    {
        this.selectionChanged(event.getSource(), event.getRow(), event.getRow(), event.getType());  // Make sure model knows
        // Guaranteed to return a non-null array
        Object[] listeners = listenerList.getListenerList();
        // Process the listeners last to first, notifying
        // those that are interested in this event
        for (int i = listeners.length-2; i>=0; i-=2)
        {
            if (listeners[i] == MyListSelectionListener.class)
                if (listeners[i] != event.getSource())  // Don't send it back to source
            { // Send this message
                ((MyListSelectionListener)listeners[i+1]).selectionChanged(event);
            }
        }
    }
187241
public void fireResourceReadEvent(Resource resource)
   {
      if (m_projectListeners != null)
      {
         for (ProjectListener listener : m_projectListeners)
         {
            listener.resourceRead(resource);
         }
      }
   }