Package ghidra.graph.viewer
Enum PathHighlightMode
- java.lang.Object
-
- java.lang.Enum<PathHighlightMode>
-
- ghidra.graph.viewer.PathHighlightMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PathHighlightMode>
public enum PathHighlightMode extends java.lang.Enum<PathHighlightMode>
An enum that lists possible states for highlighting paths between vertices in a graph.- See Also:
VisualGraphPathHighlighter
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLCYCLE
Shows all cycles in the graphCYCLE
Shows all cycles for a given vertexIN
Shows all paths that can reach the given vertexINOUT
Shows all paths coming into and out of a vertexOFF
Shows no pathsOUT
Shows all paths reachable from the current vertexPATH
Shows all paths between two verticesSCOPED_FORWARD
Shows all paths that must have been traveled to reach the current vertexSCOPED_REVERSE
Shows all paths that will be traveled after leaving the current vertex
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PathHighlightMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PathHighlightMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLCYCLE
public static final PathHighlightMode ALLCYCLE
Shows all cycles in the graph
-
CYCLE
public static final PathHighlightMode CYCLE
Shows all cycles for a given vertex
-
IN
public static final PathHighlightMode IN
Shows all paths that can reach the given vertex
-
INOUT
public static final PathHighlightMode INOUT
Shows all paths coming into and out of a vertex
-
OFF
public static final PathHighlightMode OFF
Shows no paths
-
OUT
public static final PathHighlightMode OUT
Shows all paths reachable from the current vertex
-
PATH
public static final PathHighlightMode PATH
Shows all paths between two vertices
-
SCOPED_FORWARD
public static final PathHighlightMode SCOPED_FORWARD
Shows all paths that must have been traveled to reach the current vertex
-
SCOPED_REVERSE
public static final PathHighlightMode SCOPED_REVERSE
Shows all paths that will be traveled after leaving the current vertex
-
-
Method Detail
-
values
public static PathHighlightMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PathHighlightMode c : PathHighlightMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PathHighlightMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-