Class NodeColor.Builder
- java.lang.Object
-
- com.hybris.cockpitng.components.visjs.network.data.NodeColor.Builder
-
- Enclosing class:
- NodeColor
public static class NodeColor.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeColorbuild()NodeColor.BuilderwithBackground(java.lang.String background)Represents background color when node is not selected.NodeColor.BuilderwithBorder(java.lang.String border)Represents border color when node is not selected.NodeColor.BuilderwithHighlight(Color highlight)Represents color information when node is selected.NodeColor.BuilderwithHover(Color hover)Represents color information when mouse is over a node.
-
-
-
Method Detail
-
withBorder
public NodeColor.Builder withBorder(java.lang.String border)
Represents border color when node is not selected. Default value is #2B7CE9.
-
withBackground
public NodeColor.Builder withBackground(java.lang.String background)
Represents background color when node is not selected. Default value is #2B7CE9.
-
withHighlight
public NodeColor.Builder withHighlight(Color highlight)
Represents color information when node is selected.
-
withHover
public NodeColor.Builder withHover(Color hover)
Represents color information when mouse is over a node.
-
build
public NodeColor build()
-
-