Lines Matching defs:listenerType
1040 * AWTEventMulticaster. Additionally, only listeners of type listenerType
1043 private static int getListenerCount(EventListener l, Class<?> listenerType) {
1046 return getListenerCount(mc.a, listenerType) +
1047 getListenerCount(mc.b, listenerType);
1051 return listenerType.isInstance(l) ? 1 : 0;
1093 * @param listenerType the type of listeners requested; this parameter
1102 * @exception ClassCastException if {@code listenerType}
1110 getListeners(EventListener l, Class<T> listenerType)
1112 if (listenerType == null) {
1116 int n = getListenerCount(l, listenerType);
1117 T[] result = (T[])Array.newInstance(listenerType, n);