Package ghidra.graph.graphs
Class TestEdge
- java.lang.Object
-
- ghidra.graph.viewer.edge.AbstractVisualEdge<AbstractTestVertex>
-
- ghidra.graph.graphs.TestEdge
-
- All Implemented Interfaces:
GEdge<AbstractTestVertex>
,VisualEdge<AbstractTestVertex>
public class TestEdge extends AbstractVisualEdge<AbstractTestVertex>
An edge for testing.
-
-
Constructor Summary
Constructors Constructor Description TestEdge(AbstractTestVertex start, AbstractTestVertex end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestEdge
cloneEdge(AbstractTestVertex start, AbstractTestVertex end)
Creates a new edge of this type using the given vertices.-
Methods inherited from class ghidra.graph.viewer.edge.AbstractVisualEdge
equals, getAlpha, getArticulationPoints, getEmphasis, getEnd, getStart, hashCode, isInActivePath, isSelected, setAlpha, setArticulationPoints, setEmphasis, setInActivePath, setSelected, toString
-
-
-
-
Constructor Detail
-
TestEdge
public TestEdge(AbstractTestVertex start, AbstractTestVertex end)
-
-
Method Detail
-
cloneEdge
public TestEdge cloneEdge(AbstractTestVertex start, AbstractTestVertex end)
Description copied from interface:VisualEdge
Creates a new edge of this type using the given vertices.Implementation Note: the odd type 'E' below is there so that subclasses can return the type of their implementation. Basically, the decision was made to have each subclass suppress the warning that appears, since they know the type is safe. Alternatively, each client would have to cast the return type, which seems less desirable.
- Parameters:
start
- the start vertexend
- the end vertex- Returns:
- the new edge
-
-