Class DoubleTapZoomTool

java.lang.Object
com.levigo.jadice.web.client.tool.Tool
com.levigo.jadice.web.client.tools.DoubleTapZoomTool
All Implemented Interfaces:
MenuContributor

public class DoubleTapZoomTool extends Tool
A tool for zooming to fit width for a page by double tapping on the page.
  • Constructor Details

    • DoubleTapZoomTool

      public DoubleTapZoomTool()
  • Method Details

    • handleTouchStart

      protected void handleTouchStart(TouchEditEvent e, boolean isActive)
      Description copied from class: Tool
      Invoked when a touch started.
      Overrides:
      handleTouchStart in class Tool
      Parameters:
      e - the TouchEditEvent
      isActive - whether this tool is currently active