Handling Touch Events Without Platform Files

Touch events can now be handled in the abstract managers without the need for creating new platform files. Subclasses can override the onTouchEvent(TouchEventPlatform) method to access the TouchEvent and TouchGesture data. The TouchEvent and TouchGesture classes should not be referenced directly, but instead be used through the TouchEventPlatform and TouchGesturePlatform wrapper classes. All of the available touch event data should be available as before.

Classes that can handle this include:

  • AbstractVerticalFieldManager
  • AbstractHorizontalFieldManager
  • AbstractManagedPopupScreen
  • AbstractManager
  • AbstractField

See Also

Abstract Loading Managers

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© 2011 Metova, Inc.