Class Speed.Builder
- java.lang.Object
-
- com.hybris.cockpitng.components.visjs.network.data.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 Speedbuild()Speed.BuilderwithX(java.lang.Integer x)A speed of view in the x direction on pressing a key or using navigation buttons.Speed.BuilderwithY(java.lang.Integer y)A speed of view in the y direction on pressing a key or using navigation buttons.Speed.BuilderwithZoom(java.lang.Double zoom)A speed of zoom on pressing a key or using navigation buttons.
-
-
-
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()
-
-