if (listenerType == PropertyChangeListener.class) return getPropertyChangeListeners(); else
  public EventListener[] getListeners(Class listenerType)  {    return listenerList.getListeners(listenerType);  }