Class Arrow.Builder
- java.lang.Object
-
- com.hybris.cockpitng.components.visjs.network.data.Arrow.Builder
-
- Enclosing class:
- Arrow
public static class Arrow.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Arrowbuild()Arrow.BuilderwithEnabled(java.lang.Boolean enabled)Toggle the arrow on or off.Arrow.BuilderwithScaleFactor(java.lang.Integer scaleFactor)The scale factor allows you to change the size of the arrowhead.Arrow.BuilderwithType(java.lang.String type)The type of endpoint.
-
-
-
Method Detail
-
withEnabled
public Arrow.Builder withEnabled(java.lang.Boolean enabled)
Toggle the arrow on or off. Default value is false
-
withScaleFactor
public Arrow.Builder withScaleFactor(java.lang.Integer scaleFactor)
The scale factor allows you to change the size of the arrowhead. Default value is 1
-
withType
public Arrow.Builder withType(java.lang.String type)
The type of endpoint. Default is arrow. Also possible is circle.
-
build
public Arrow build()
-
-