Class SynchronizationStyle
java.lang.Object
com.orchestranetworks.addon.dmdv.model.extension.SynchronizationStyle
Provides configurations for graph synchronization style. When users load graphs that have been updated, the methods below determine how the graph highlights each type of change.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorDescriptionCreates the default style.SynchronizationStyle
(String creationColor, String updatateColor, String deletionColor) Creates a custom Synchronization style. -
Method Summary
Modifier and TypeMethodDescriptionReturns the hex color of newly created nodes.Returns the hex color of deleted nodes.Returns the hex color of newly updated nodes.void
setCreationColor
(String creationColor) Sets the color for newly created nodes.void
setDeletionColor
(String deletionColor) Sets the color for deleted nodes.void
setUpdateColor
(String updateColor) Sets the color for newly updated nodes.
-
Constructor Details
-
SynchronizationStyle
public SynchronizationStyle()Creates the default style. -
SynchronizationStyle
Creates a custom Synchronization style.- Parameters:
creationColor
- a color in hexupdatateColor
- a color in hexdeletionColor
- a color in hex
-
-
Method Details
-
getCreationColor
Returns the hex color of newly created nodes. -
setCreationColor
Sets the color for newly created nodes.- Parameters:
creationColor
- a color in hex
-
getUpdateColor
Returns the hex color of newly updated nodes. -
setUpdateColor
Sets the color for newly updated nodes.- Parameters:
updateColor
- a color in hex
-
getDeletionColor
Returns the hex color of deleted nodes. -
setDeletionColor
Sets the color for deleted nodes.- Parameters:
deletionColor
- a color in hex
-