Class CompoundZoomHandler

  • All Implemented Interfaces:
    IZoomHandler

    public class CompoundZoomHandler
    extends java.lang.Object
    implements IZoomHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<IZoomHandler> handler  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addHandler​(IZoomHandler handler)  
      void removeHandler​(IViewPortHandler handler)  
      void resetZoom()
      Resets the zoom level to that set in the settings.
      void zoomIn()
      Zooms in.
      void zoomIn​(boolean fromMouseWheel, org.eclipse.swt.graphics.Point mouseLoc)  
      void zoomOut()
      Zooms out.
      void zoomOut​(boolean fromMouseWheel, org.eclipse.swt.graphics.Point mouseLoc)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompoundZoomHandler

        public CompoundZoomHandler()
    • Method Detail

      • addHandler

        public void addHandler​(IZoomHandler handler)
      • zoomIn

        public void zoomIn()
        Description copied from interface: IZoomHandler
        Zooms in. If zooming is disabled, does nothing.
        Specified by:
        zoomIn in interface IZoomHandler
      • zoomIn

        public void zoomIn​(boolean fromMouseWheel,
                           org.eclipse.swt.graphics.Point mouseLoc)
        Specified by:
        zoomIn in interface IZoomHandler
      • zoomOut

        public void zoomOut()
        Description copied from interface: IZoomHandler
        Zooms out. If zooming is disabled, does nothing.
        Specified by:
        zoomOut in interface IZoomHandler
      • zoomOut

        public void zoomOut​(boolean fromMouseWheel,
                            org.eclipse.swt.graphics.Point mouseLoc)
        Specified by:
        zoomOut in interface IZoomHandler
      • resetZoom

        public void resetZoom()
        Description copied from interface: IZoomHandler
        Resets the zoom level to that set in the settings.
        Specified by:
        resetZoom in interface IZoomHandler