Class FactoryTemplates


  • public class FactoryTemplates
    extends java.lang.Object
    • Constructor Detail

      • FactoryTemplates

        public FactoryTemplates()
    • Method Detail

      • createGrannyMotionFactory

        public static MouseMotionFactory createGrannyMotionFactory()

        Stereotypical granny using a computer with non-optical mouse from the 90s.

        Low speed, variating flow, lots of noise in movement.
        Returns:
        the factory
      • createGrannyMotionFactory

        public static MouseMotionFactory createGrannyMotionFactory​(MouseMotionNature nature)

        Stereotypical granny using a computer with non-optical mouse from the 90s.

        Low speed, variating flow, lots of noise in movement.
        Parameters:
        nature - the nature for the template to be configured on
        Returns:
        the factory
      • createDemoRobotMotionFactory

        public static MouseMotionFactory createDemoRobotMotionFactory​(long motionTimeMsPer100Pixels)

        Robotic fluent movement.

        Custom speed, constant movement, no mistakes, no overshoots.
        Parameters:
        motionTimeMsPer100Pixels - approximate time a movement takes per 100 pixels of travelling
        Returns:
        the factory
      • createDemoRobotMotionFactory

        public static MouseMotionFactory createDemoRobotMotionFactory​(MouseMotionNature nature,
                                                                      long motionTimeMsPer100Pixels)

        Robotic fluent movement.

        Custom speed, constant movement, no mistakes, no overshoots.
        Parameters:
        nature - the nature for the template to be configured on
        motionTimeMsPer100Pixels - approximate time a movement takes per 100 pixels of travelling
        Returns:
        the factory
      • createFastGamerMotionFactory

        public static MouseMotionFactory createFastGamerMotionFactory()

        Gamer with fast reflexes and quick mouse movements.

        Quick movement, low noise, some deviation, lots of overshoots.
        Returns:
        the factory
      • createFastGamerMotionFactory

        public static MouseMotionFactory createFastGamerMotionFactory​(MouseMotionNature nature)

        Gamer with fast reflexes and quick mouse movements.

        Quick movement, low noise, some deviation, lots of overshoots.
        Parameters:
        nature - the nature for the template to be configured on
        Returns:
        the factory
      • createUltraGamerMotionFactory

        public static MouseMotionFactory createUltraGamerMotionFactory()

        Gamer with fast reflexes and quick mouse movements.

        Quick movement, low noise, some deviation, lots of overshoots.
        Returns:
        the factory
      • createUltraGamerMotionFactory

        public static MouseMotionFactory createUltraGamerMotionFactory​(MouseMotionNature nature)

        Gamer with fast reflexes and quick mouse movements.

        Quick movement, low noise, some deviation, lots of overshoots.
        Parameters:
        nature - the nature for the template to be configured on
        Returns:
        the factory
      • createAverageComputerUserMotionFactory

        public static MouseMotionFactory createAverageComputerUserMotionFactory()

        Standard computer user with average speed and movement mistakes

        medium noise, medium speed, medium noise and deviation.
        Returns:
        the factory
      • createAverageComputerUserMotionFactory

        public static MouseMotionFactory createAverageComputerUserMotionFactory​(MouseMotionNature nature)

        Standard computer user with average speed and movement mistakes

        medium noise, medium speed, medium noise and deviation.
        Parameters:
        nature - the nature for the template to be configured on
        Returns:
        the factory