public void setMotionPanListener(object callingClass) { listener = (IMotionPanListener)callingClass; }