Package ghidra.program.util
Class MarkerLocation
- java.lang.Object
-
- ghidra.program.util.MarkerLocation
-
- All Implemented Interfaces:
java.io.Serializable
public class MarkerLocation extends java.lang.Object implements java.io.Serializable
Marker location in the tool navigation bars- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MarkerLocation(MarkerSet markers, Program program, Address addr, int x, int y)
Construct a new MarkerLocation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Address
getAddr()
Returns the address.MarkerSet
getMarkerManager()
Returns the Marker Manager.Program
getProgram()
Returns the program.int
getX()
Returns the X screen location of the popup point.int
getY()
Returns the Y screen location of the popup point.int
hashCode()
-
-
-
Constructor Detail
-
MarkerLocation
public MarkerLocation(MarkerSet markers, Program program, Address addr, int x, int y)
Construct a new MarkerLocation.- Parameters:
markers
- marker manager serviceprogram
- program containing the addressaddr
- address of the locationx
- x position of the popup point on the screeny
- y position of the popup point on the screen
-
-
Method Detail
-
getProgram
public Program getProgram()
Returns the program.- Returns:
- the program for this marker location
-
getAddr
public Address getAddr()
Returns the address.- Returns:
- the address for this marker location
-
getMarkerManager
public MarkerSet getMarkerManager()
Returns the Marker Manager.- Returns:
- the marker manager
-
getX
public int getX()
Returns the X screen location of the popup point.- Returns:
- the X coordinate for the screen location.
-
getY
public int getY()
Returns the Y screen location of the popup point.- Returns:
- the Y coordinate for the screen location.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-