@Override
	protected void fireMotionEvent(HorizontalMotionEvent motionEvent, 
								   Set<HorizontalMotionListener> filteredMotionListeners) {
		
		switch (motionEvent.getDirection()) {
		
			case LEFT:
				
				for (HorizontalMotionListener horizontalMotionListener : filteredMotionListeners)
					 horizontalMotionListener.onMotionLeft(motionEvent);
				
				break;
				
			case RIGHT:
				
				for (HorizontalMotionListener horizontalMotionListener : filteredMotionListeners)
					 horizontalMotionListener.onMotionRight(motionEvent);
				
				break;
				
			case NONE:
				
				for (HorizontalMotionListener horizontalMotionListener : filteredMotionListeners)
					 horizontalMotionListener.onMotionRest(motionEvent);
				
				break;
		}
	}
@ Override protected void fireMotionEvent ( HorizontalMotionEvent motionEvent , Set < HorizontalMotionListener > filteredMotionListeners ) { switch ( motionEvent . getDirection ( ) ) { case LEFT : for ( HorizontalMotionListener horizontalMotionListener : filteredMotionListeners ) horizontalMotionListener . onMotionLeft ( motionEvent ) ; break ; case RIGHT : for ( HorizontalMotionListener horizontalMotionListener : filteredMotionListeners ) horizontalMotionListener . onMotionRight ( motionEvent ) ; break ; case NONE : for ( HorizontalMotionListener horizontalMotionListener : filteredMotionListeners ) horizontalMotionListener . onMotionRest ( motionEvent ) ; break ; } }
{@inheritDoc}