Package ghidra.graph.graphs
Class AbstractTestVertex
- java.lang.Object
-
- ghidra.graph.viewer.vertex.AbstractVisualVertex
-
- ghidra.graph.graphs.AbstractTestVertex
-
- All Implemented Interfaces:
GVertex
,VisualVertex
- Direct Known Subclasses:
LabelTestVertex
,TestVertex
,TextAreaTestVertex
public abstract class AbstractTestVertex extends AbstractVisualVertex
A vertex used for testing.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractTestVertex(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
A dispose method that should be called when a vertex is reclaimed, never again to be used in a graph or displayboolean
equals(java.lang.Object obj)
java.lang.String
getName()
boolean
hasBeenEmphasised()
int
hashCode()
void
setEmphasis(double emphasisLevel)
Sets the emphasis value for this vertex.java.lang.String
toString()
-
Methods inherited from class ghidra.graph.viewer.vertex.AbstractVisualVertex
getAlpha, getEmphasis, getLocation, isFocused, isGrabbable, isHovered, isSelected, setAlpha, setFocused, setHovered, setLocation, setSelected
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ghidra.graph.viewer.VisualVertex
getComponent
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setEmphasis
public void setEmphasis(double emphasisLevel)
Description copied from interface:VisualVertex
Sets the emphasis value for this vertex. A value of 0 indicates no emphasis.- Specified by:
setEmphasis
in interfaceVisualVertex
- Overrides:
setEmphasis
in classAbstractVisualVertex
- Parameters:
emphasisLevel
- the emphasis
-
hasBeenEmphasised
public boolean hasBeenEmphasised()
-
dispose
public void dispose()
Description copied from interface:VisualVertex
A dispose method that should be called when a vertex is reclaimed, never again to be used in a graph or display
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-