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.SerializableMarker 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 booleanequals(java.lang.Object obj)AddressgetAddr()Returns the address.MarkerSetgetMarkerManager()Returns the Marker Manager.ProgramgetProgram()Returns the program.intgetX()Returns the X screen location of the popup point.intgetY()Returns the Y screen location of the popup point.inthashCode()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-