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 void
clear()
void
createMapping(int width)
Address
getAddress(int pixel)
java.awt.Rectangle
getBlockPosition(MemoryBlock block)
MemoryBlock[]
getBlocks()
int
getPixel(Address address)
-
-
-
Constructor Detail
-
MemoryBlockMap
public MemoryBlockMap(Program program)
-
-
Method Detail
-
createMapping
public void createMapping(int width)
- Specified by:
createMapping
in interfaceAddressPixelMap
-
getAddress
public Address getAddress(int pixel)
- Specified by:
getAddress
in interfaceAddressPixelMap
-
getPixel
public int getPixel(Address address)
- Specified by:
getPixel
in interfaceAddressPixelMap
-
getBlocks
public MemoryBlock[] getBlocks()
- Specified by:
getBlocks
in interfaceAddressPixelMap
-
getBlockPosition
public java.awt.Rectangle getBlockPosition(MemoryBlock block)
- Specified by:
getBlockPosition
in interfaceAddressPixelMap
-
clear
public void clear()
- Specified by:
clear
in interfaceAddressPixelMap
-
-