Class SimFieldRenderer.ComponentColor

java.lang.Object
net.simplace.client.sim.graphpanel.renderer.SimFieldRenderer.ComponentColor
Enclosing class:
SimFieldRenderer

public static final class SimFieldRenderer.ComponentColor extends Object
Colors of the vertices per content type.
Author:
Andreas Enders
  • Field Details

    • MAIN_COLOR

      public static final Map<net.simplace.sim.util.FWSimVariable.CONTENT_TYPE, Color> MAIN_COLOR
      Main (gradient start) color per content type.
    • CENTERED_COLOR

      public static final Map<net.simplace.sim.util.FWSimVariable.CONTENT_TYPE, Color> CENTERED_COLOR
      Center (gradient end) color per content type.
    • MAIN_SELECTED_COLOR

      public static final Map<net.simplace.sim.util.FWSimVariable.CONTENT_TYPE, Color> MAIN_SELECTED_COLOR
      Main color of picked vertices per content type.
  • Constructor Details

    • ComponentColor

      public ComponentColor()
  • Method Details

    • getMainColor

      public static Color getMainColor(net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aContentType)
      Parameters:
      aContentType - content type of the vertex
      Returns:
      the main color
    • getCenterColor

      public static Color getCenterColor(net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aContentType)
      Parameters:
      aContentType - content type of the vertex
      Returns:
      the center color
    • getPickedColor

      public static Color getPickedColor(net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aContentType)
      Parameters:
      aContentType - content type of the vertex
      Returns:
      the main color of picked vertices