C - The controller class which manage this event adapterpublic class DefaultSwipeAdapter<C extends AbstractBaseController<?,?>> extends AbstractDefaultAdapter<C> implements SwipeAdapter
EventAdapter.Linker| Constructor and Description |
|---|
DefaultSwipeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
anySwipe(SwipeEvent swipeEvent)
Manage ANY swipe events.
|
void |
swipeDown(SwipeEvent swipeEvent)
Manage events when user performs downward swipe gesture.
|
void |
swipeLeft(SwipeEvent swipeEvent)
Manage events when user performs leftward swipe gesture.
|
void |
swipeRight(SwipeEvent swipeEvent)
Manage events when user performs rightward swipe gesture.
|
void |
swipeUp(SwipeEvent swipeEvent)
Manage events when user performs upward swipe gesture.
|
getController, setControllerpublic void anySwipe(SwipeEvent swipeEvent)
anySwipe in interface SwipeAdapterswipeEvent - the event to managepublic void swipeDown(SwipeEvent swipeEvent)
swipeDown in interface SwipeAdapterswipeEvent - the event to managepublic void swipeLeft(SwipeEvent swipeEvent)
swipeLeft in interface SwipeAdapterswipeEvent - the event to managepublic void swipeRight(SwipeEvent swipeEvent)
swipeRight in interface SwipeAdapterswipeEvent - the event to managepublic void swipeUp(SwipeEvent swipeEvent)
swipeUp in interface SwipeAdapterswipeEvent - the event to manageCopyright © 2011–2014 JRebirth OSS. All rights reserved.