Class ChosenEdge.Builder
- java.lang.Object
-
- com.hybris.cockpitng.components.visjs.network.data.ChosenEdge.Builder
-
- Enclosing class:
- ChosenEdge
public static class ChosenEdge.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChosenEdgebuild()ChosenEdge.BuilderwithEdge(java.lang.String edge)"true", "false" or javascript's function can be provided.ChosenEdge.BuilderwithLabel(java.lang.String label)"true", "false" or javascript's function can be provided.
-
-
-
Method Detail
-
withEdge
public ChosenEdge.Builder withEdge(java.lang.String edge)
"true", "false" or javascript's function can be provided. If 'true', selecting or hovering on an edge will change its characteristics. if 'false', selecting or hovering on an edge will not change its characteristics. If a function is provided, it should have the following signature: function(values, id, selected, hovering) Default value is null
-
withLabel
public ChosenEdge.Builder withLabel(java.lang.String label)
"true", "false" or javascript's function can be provided. If 'true', selecting or hovering on an edge will change its label's characteristics. if 'false', selecting or hovering on an edge will not change its label's characteristics. If a function is provided, it should have the following signature: function(values, id, selected, hovering) Default value is null
-
build
public ChosenEdge build()
-
-