public void dispatchEvent(Object listener, Object listenerObject, int eventAction, Object eventObject) { StartLevelListener sll = (StartLevelListener)listener; switch (eventAction) { case StartLevelEvent.INC_FW_SL: sll.incFWSL((StartLevelEvent)eventObject); break; case StartLevelEvent.DEC_FW_SL: sll.decFWSL((StartLevelEvent)eventObject); break; case StartLevelEvent.CHANGE_BUNDLE_SL: sll.setBundleSL((StartLevelEvent)eventObject); break; } }
public void dispatchEvent( Object listener, Object listenerObject, int eventAction, Object eventObject) { switch (eventAction) { case StartLevelEvent.CHANGE_BUNDLE_SL : setBundleSL((StartLevelEvent) eventObject); break; case StartLevelEvent.CHANGE_FW_SL : doSetStartLevel( ((StartLevelEvent) eventObject).getNewSL(), ((StartLevelEvent) eventObject).getBundle()); break; } }
    public void dispatchEvent(Object listener, Object listenerObject, int eventAction, Object eventObject) {        StartLevelListener sll = (StartLevelListener)listener;        switch (eventAction) {        case StartLevelEvent.INC_FW_SL:            sll.incFWSL((StartLevelEvent)eventObject);            break;        case StartLevelEvent.DEC_FW_SL:            sll.decFWSL((StartLevelEvent)eventObject);            break;        case StartLevelEvent.CHANGE_BUNDLE_SL:            sll.setBundleSL((StartLevelEvent)eventObject);            break;        }    }