Class Keyboard.Builder
- java.lang.Object
-
- com.hybris.cockpitng.components.visjs.network.data.Keyboard.Builder
-
- Enclosing class:
- Keyboard
public static class Keyboard.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Keyboardbuild()Keyboard.BuilderwithBindToWindow(java.lang.Boolean bindToWindow)If set to true, the keyboard interaction will work regardless of which DOM object has the focus.Keyboard.BuilderwithEnabled(java.lang.Boolean enabled)Enables a usage of the keyboard shortcuts.Keyboard.BuilderwithSpeed(Speed speed)A speed of view on pressing a key or using navigation buttons
-
-
-
Method Detail
-
withEnabled
public Keyboard.Builder withEnabled(java.lang.Boolean enabled)
Enables a usage of the keyboard shortcuts. Default value is false
-
withSpeed
public Keyboard.Builder withSpeed(Speed speed)
A speed of view on pressing a key or using navigation buttons
-
withBindToWindow
public Keyboard.Builder withBindToWindow(java.lang.Boolean bindToWindow)
If set to true, the keyboard interaction will work regardless of which DOM object has the focus.
-
build
public Keyboard build()
-
-