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 Summary
Constructors Constructor Description EditedEdgeStyleOGL2D(String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getColor(RepastEdge<?> edge)
Gets the color of the line used to represent the edge.int
getLineWidth(RepastEdge<?> edge)
Gets the width of the line used to represent the edge.
-
-
-
Constructor Detail
-
EditedEdgeStyleOGL2D
public EditedEdgeStyleOGL2D(String fileName)
-
-
Method Detail
-
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 interfaceEdgeStyleOGL2D
- 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 interfaceEdgeStyleOGL2D
- Returns:
- the color of the line used to represent the edge.
-
-