| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private IntervalTree | |
| private int | |
| private static Color[] | |
| private Debugger | |
| private Font | font
Hides java. |
| private boolean | |
| private Address | |
| private int | |
| private HighPrecisionJScrollBar | |
| private String | |
| private List |
| Access | Constructor and Description |
|---|---|
| public | |
| public | AnnotatedMemoryPanel(Debugger debugger, boolean is64Bit, Address addrValue, Address addrLow, Address addrHigh)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | addAnnotation(Annotation annotation)
Add an annotation covering the address range [annotation.lowAddress, annotation.highAddress); that is, it includes the low address and does not include the high address. |
| private BigInteger | |
| private String | |
| private Address | |
| private String | |
| private static BigInteger | |
| private static BigInteger | |
| private static BigInteger | |
| private int | |
| private void | init(Debugger debugger, boolean is64Bit, BigInteger addrValue, BigInteger addrLow, BigInteger addrHigh)
|
| private void | layoutAfter(Annotation anno, Annotation constraintAnno, Graphics g, int x, Address startAddr, int lineHeight)
Lays out the given annotation after the optional constraint annotation, obeying constraints imposed by that annotation if it is specified. |
| private void | layoutAnnotations(List<IntervalNode> va, Graphics g, int x, Address startAddr, int lineHeight)
Takes the list of currently-visible annotations (in the form of a List<intervalnode>) and lays them out given the current visible position and the already-visible annotations. |
| private void | layoutBefore(Annotation anno, Annotation constraintAnno, Graphics g, int x, Address startAddr, int lineHeight)
Lays out the given annotation before the optional constraint annotation, obeying constraints imposed by that annotation if it is specified. |
| public static void | |
| public synchronized void | |
| private Color | |
| public synchronized void | paintComponent(Graphics g)
Overrides javax. Calls the UI delegate's paint method, if the UI delegate
is non- |
| private Color | |
| public void | |
| public void | |
| private void | |
| private void | |
| private void |
| addressSize | back to summary |
|---|---|
| private long addressSize | |
| annotations | back to summary |
|---|---|
| private IntervalTree annotations | |
| bytesPerLine | back to summary |
|---|---|
| private int bytesPerLine | |
| colors | back to summary |
|---|---|
| private static Color[] colors | |
| debugger | back to summary |
|---|---|
| private Debugger debugger | |
| font | back to summary |
|---|---|
| private Font font Hides java. | |
| is64Bit | back to summary |
|---|---|
| private boolean is64Bit | |
| lastStartAddr | back to summary |
|---|---|
| private Address lastStartAddr | |
| paintCount | back to summary |
|---|---|
| private int paintCount | |
| scrollBar | back to summary |
|---|---|
| private HighPrecisionJScrollBar scrollBar | |
| unmappedAddrString | back to summary |
|---|---|
| private String unmappedAddrString | |
| visibleAnnotations | back to summary |
|---|---|
| private List<Annotation> visibleAnnotations | |
| AnnotatedMemoryPanel | back to summary |
|---|---|
| public AnnotatedMemoryPanel(Debugger debugger) Default is 32-bit mode | |
| AnnotatedMemoryPanel | back to summary |
|---|---|
| public AnnotatedMemoryPanel(Debugger debugger, boolean is64Bit, Address addrValue, Address addrLow, Address addrHigh) | |
| AnnotatedMemoryPanel | back to summary |
|---|---|
| public AnnotatedMemoryPanel(Debugger debugger, boolean is64Bit) | |
| addAnnotation | back to summary |
|---|---|
| public synchronized void addAnnotation(Annotation annotation) Add an annotation covering the address range [annotation.lowAddress, annotation.highAddress); that is, it includes the low address and does not include the high address. | |
| addressToBigInt | back to summary |
|---|---|
| private BigInteger addressToBigInt(Address a) | |
| addressToString | back to summary |
|---|---|
| private String addressToString(Address a) | |
| bigIntToAddress | back to summary |
|---|---|
| private Address bigIntToAddress(BigInteger i) | |
| bigIntToHexString | back to summary |
|---|---|
| private String bigIntToHexString(BigInteger bi) | |
| defaultMemoryHigh | back to summary |
|---|---|
| private static BigInteger defaultMemoryHigh(boolean is64Bit) | |
| defaultMemoryLocation | back to summary |
|---|---|
| private static BigInteger defaultMemoryLocation(boolean is64Bit) | |
| defaultMemoryLow | back to summary |
|---|---|
| private static BigInteger defaultMemoryLow(boolean is64Bit) | |
| findColorIndex | back to summary |
|---|---|
| private int findColorIndex(Color c) | |
| init | back to summary |
|---|---|
| private void init(Debugger debugger, boolean is64Bit, BigInteger addrValue, BigInteger addrLow, BigInteger addrHigh) | |
| layoutAfter | back to summary |
|---|---|
| private void layoutAfter(Annotation anno, Annotation constraintAnno, Graphics g, int x, Address startAddr, int lineHeight) Lays out the given annotation after the optional constraint annotation, obeying constraints imposed by that annotation if it is specified. | |
| layoutAnnotations | back to summary |
|---|---|
| private void layoutAnnotations(List<IntervalNode> va, Graphics g, int x, Address startAddr, int lineHeight) Takes the list of currently-visible annotations (in the form of
a List | |
| layoutBefore | back to summary |
|---|---|
| private void layoutBefore(Annotation anno, Annotation constraintAnno, Graphics g, int x, Address startAddr, int lineHeight) Lays out the given annotation before the optional constraint annotation, obeying constraints imposed by that annotation if it is specified. | |
| main | back to summary |
|---|---|
| public static void main(String[] args) | |
| makeVisible | back to summary |
|---|---|
| public synchronized void makeVisible(Address addr) Makes the given address visible somewhere in the window | |
| nextColor | back to summary |
|---|---|
| private Color nextColor(Color c) Returns next color in our color palette | |
| paintComponent | back to summary |
|---|---|
| public synchronized void paintComponent(Graphics g) Overrides javax. Doc from javax. Calls the UI delegate's paint method, if the UI delegate
is non-
If you override this in a subclass you should not make permanent
changes to the passed in
The passed in | |
| prevColor | back to summary |
|---|---|
| private Color prevColor(Color c) Returns previous color in our color palette | |
| back to summary | |
|---|---|
| public void print() | |
| printOn | back to summary |
|---|---|
| public void printOn(PrintStream tty) | |
| scrollAnnotations | back to summary |
|---|---|
| private void scrollAnnotations(int y) Scrolls the visible annotations by the given Y amount | |
| setupScrollBar | back to summary |
|---|---|
| private void setupScrollBar(BigInteger value, BigInteger min, BigInteger max) | |
| setupScrollBar | back to summary |
|---|---|
| private void setupScrollBar() | |
| highBound | back to summary |
|---|---|
| pack-priv Address highBound | |
| lineX | back to summary |
|---|---|
| pack-priv int lineX | |
| AnnoX | back to summary |
|---|---|
| public AnnoX(int lineX, Address highBound) | |