Class AbstractSlideInputManager

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

    
    public class AbstractSlideInputManager
     implements SlideInputManager
                        

    ASlideInputManager is the base class for any class whose aim is to handle the the sliding of any physical/virtual device/control.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractSlideInputManager(double initialValue, double min, double max) Creates a new ASlideInputManager with the value in input.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final void dec(double val) Decreases the total amount of slides.
      final void inc(double val) Increases the total amount of slides.
      • Methods inherited from class java.lang.Object

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

      • AbstractSlideInputManager

        AbstractSlideInputManager(double initialValue, double min, double max)
        Creates a new ASlideInputManager with the value in input.
        Parameters:
        initialValue - is the hypothetical initial amound of 'slides'
        min - the minimum allowed
        max - the maximum allowed
    • Method Detail

      • dec

         final void dec(double val)

        Decreases the total amount of slides.

      • inc

         final void inc(double val)

        Increases the total amount of slides.