Package ghidra.app.util.viewer.util
Class FieldNavigator
java.lang.Object
ghidra.app.util.viewer.util.FieldNavigator
- All Implemented Interfaces:
ButtonPressedListener
,FieldMouseHandlerService
public class FieldNavigator
extends Object
implements ButtonPressedListener, FieldMouseHandlerService
Helper class to navigate to an address when user double clicks in a
Field. This class will find
FieldMouseHandlerExtension
s by using the ClassSearcher
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFieldMouseHandler
(FieldMouseHandler handler) void
buttonPressed
(ProgramLocation location, FieldLocation fieldLocation, ListingField field, MouseEvent event) Notification that a mouse button was pressed.
-
Constructor Details
-
Method Details
-
buttonPressed
public void buttonPressed(ProgramLocation location, FieldLocation fieldLocation, ListingField field, MouseEvent event) Description copied from interface:ButtonPressedListener
Notification that a mouse button was pressed.- Specified by:
buttonPressed
in interfaceButtonPressedListener
- Parameters:
location
- program location when the button was pressedfieldLocation
- locations within the FieldPanelfield
- field from the ListingPanelevent
- mouse event for the button pressed
-
addFieldMouseHandler
- Specified by:
addFieldMouseHandler
in interfaceFieldMouseHandlerService
-