Interface ZoomManager

  • All Implemented Interfaces:
    it.unibo.alchemist.boundary.ui.api.SlideInputManager

    
    public interface ZoomManager
     implements SlideInputManager
                        

    A class that implements the IZoomManager interface is able to convert the sliding of any physical/virtual device/control into a positive double value that represents a zoom rate.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract double getZoom() Gets the zoom rate.
      abstract void setZoom(double rate) Sets the zoom rate.
      • Methods inherited from class it.unibo.alchemist.boundary.ui.api.SlideInputManager

        dec, inc
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getZoom

         abstract double getZoom()

        Gets the zoom rate.

        Returns:

        a double value representing the zoom rate

      • setZoom

         abstract void setZoom(double rate)

        Sets the zoom rate.

        Parameters:
        rate - is the double value representing the zoom rate