Class SynchronizationStyle

java.lang.Object
com.orchestranetworks.addon.dmdv.model.extension.SynchronizationStyle

public final class SynchronizationStyle extends Object
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 Details

    • SynchronizationStyle

      public SynchronizationStyle()
      Creates the default style.
    • SynchronizationStyle

      public SynchronizationStyle(String creationColor, String updatateColor, String deletionColor)
      Creates a custom Synchronization style.
      Parameters:
      creationColor - a color in hex
      updatateColor - a color in hex
      deletionColor - a color in hex
  • Method Details

    • getCreationColor

      public String getCreationColor()
      Returns the hex color of newly created nodes.
    • setCreationColor

      public void setCreationColor(String creationColor)
      Sets the color for newly created nodes.
      Parameters:
      creationColor - a color in hex
    • getUpdateColor

      public String getUpdateColor()
      Returns the hex color of newly updated nodes.
    • setUpdateColor

      public void setUpdateColor(String updateColor)
      Sets the color for newly updated nodes.
      Parameters:
      updateColor - a color in hex
    • getDeletionColor

      public String getDeletionColor()
      Returns the hex color of deleted nodes.
    • setDeletionColor

      public void setDeletionColor(String deletionColor)
      Sets the color for deleted nodes.
      Parameters:
      deletionColor - a color in hex