Class EditedEdgeStyleOGL2D

java.lang.Object
repast.simphony.visualization.editedStyle.EditedEdgeStyleOGL2D
All Implemented Interfaces:
EdgeStyleOGL2D

public class EditedEdgeStyleOGL2D extends Object implements EdgeStyleOGL2D
Edge style from xml serialized style info.
Author:
Nick Collier
  • Constructor Details

    • EditedEdgeStyleOGL2D

      public EditedEdgeStyleOGL2D(String fileName)
  • Method Details

    • getLineWidth

      public int getLineWidth(RepastEdge<?> edge)
      Description copied from interface: EdgeStyleOGL2D
      Gets the width of the line used to represent the edge.
      Specified by:
      getLineWidth in interface EdgeStyleOGL2D
      Returns:
      the width of the line used to represent the edge.
    • getColor

      public Color getColor(RepastEdge<?> edge)
      Description copied from interface: EdgeStyleOGL2D
      Gets the color of the line used to represent the edge.
      Specified by:
      getColor in interface EdgeStyleOGL2D
      Returns:
      the color of the line used to represent the edge.