Class Speed.Builder

  • Enclosing class:
    Speed

    public static class Speed.Builder
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Speed build()  
      Speed.Builder withX​(java.lang.Integer x)
      A speed of view in the x direction on pressing a key or using navigation buttons.
      Speed.Builder withY​(java.lang.Integer y)
      A speed of view in the y direction on pressing a key or using navigation buttons.
      Speed.Builder withZoom​(java.lang.Double zoom)
      A speed of zoom on pressing a key or using navigation buttons.
      • Methods inherited from class java.lang.Object

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

      • Builder

        public Builder()
    • Method Detail

      • withX

        public Speed.Builder withX​(java.lang.Integer x)
        A speed of view in the x direction on pressing a key or using navigation buttons. Default value is 1.
      • withY

        public Speed.Builder withY​(java.lang.Integer y)
        A speed of view in the y direction on pressing a key or using navigation buttons. Default value is 1.
      • withZoom

        public Speed.Builder withZoom​(java.lang.Double zoom)
        A speed of zoom on pressing a key or using navigation buttons. Default value is 0.02
      • build

        public Speed build()