Class ChosenNode.Builder
- java.lang.Object
-
- com.hybris.cockpitng.components.visjs.network.data.ChosenNode.Builder
-
- Enclosing class:
- ChosenNode
public static class ChosenNode.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChosenNodebuild()ChosenNode.BuilderwithLabel(java.lang.String label)"true", "false" or javascript's function can be provided.ChosenNode.BuilderwithNode(java.lang.String node)"true", "false" or javascript's function can be provided.
-
-
-
Method Detail
-
withNode
public ChosenNode.Builder withNode(java.lang.String node)
"true", "false" or javascript's function can be provided. If 'true', selecting or hovering on a node will change its characteristics. if 'false', selecting or hovering on a node 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 ChosenNode.Builder withLabel(java.lang.String label)
"true", "false" or javascript's function can be provided. If 'true', selecting or hovering on a node will change its label's characteristics. if 'false', selecting or hovering on a node 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 ChosenNode build()
-
-