Package ghidra.app.util.viewer.util
Class MemoryBlockMap
- java.lang.Object
-
- ghidra.app.util.viewer.util.MemoryBlockMap
-
- All Implemented Interfaces:
AddressPixelMap
public class MemoryBlockMap extends java.lang.Object implements AddressPixelMap
-
-
Constructor Summary
Constructors Constructor Description MemoryBlockMap(Program program)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidcreateMapping(int width)AddressgetAddress(int pixel)java.awt.RectanglegetBlockPosition(MemoryBlock block)MemoryBlock[]getBlocks()intgetPixel(Address address)
-
-
-
Constructor Detail
-
MemoryBlockMap
public MemoryBlockMap(Program program)
-
-
Method Detail
-
createMapping
public void createMapping(int width)
- Specified by:
createMappingin interfaceAddressPixelMap
-
getAddress
public Address getAddress(int pixel)
- Specified by:
getAddressin interfaceAddressPixelMap
-
getPixel
public int getPixel(Address address)
- Specified by:
getPixelin interfaceAddressPixelMap
-
getBlocks
public MemoryBlock[] getBlocks()
- Specified by:
getBlocksin interfaceAddressPixelMap
-
getBlockPosition
public java.awt.Rectangle getBlockPosition(MemoryBlock block)
- Specified by:
getBlockPositionin interfaceAddressPixelMap
-
clear
public void clear()
- Specified by:
clearin interfaceAddressPixelMap
-
-