public static void removeEventListenerJoystick( ItsNatCompNormalEventListenersJoystick listeners, Element contentElem) { ItsNatCompNormalEventListenersImpl listenersBase = (ItsNatCompNormalEventListenersImpl) listeners; if (listenersBase.hasEnabledNormalEvents()) { for (String type : listenersBase.getEnabledNormalEvents()) { removeInternalEventListenerJoystick(listeners, contentElem, type); } } }