APIdia Launch Partner
Top Inners Fields Constructors Methods
sun.jvm.hotspot.ui

public Class MemoryPanel

extends JPanel
Class Inheritance
Imports
java.awt.*, java.awt.datatransfer.*, java.awt.event.*, java.io.ByteArrayOutputStream, .IOException, .PrintStream, java.math.*, javax.swing.*, javax.swing.event.*, javax.swing.table.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.utilities.PointerFinder, .PointerLocation

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv abstract class

Field Summary

Modifier and TypeField and Description
private int
private int
private int
private Debugger
private boolean
private boolean
private boolean
private boolean
private AbstractTableModel
private int
private int
private int
private int
private HighPrecisionJScrollBar
private BigInteger
private JTable
private String
private int

Constructor Summary

AccessConstructor and Description
public
MemoryPanel(final Debugger debugger, boolean isAnnotated, boolean is64Bit)

Method Summary

Modifier and TypeMethod and Description
private BigInteger
private String
private void
private Address
private String
private int
clamp(int val, int min, int max)

private void
private void
private void
private int
private int
private int
private int
private boolean
private boolean
private boolean
private static void
public void
makeVisible(Address addr)

Makes the given address visible somewhere in the window

private void
private void
modifySelection(int amount)

private void
private void
private void
setAnchor(int row, int col)

private void
private void
setLead(int row, int col)

private void
private void
setSelection(int rowAnchor, int rowLead, int colAnchor, int colLead)

private void
private boolean
private void
private boolean
Inherited from javax.swing.JPanel:
getAccessibleContextgetUIgetUIClassIDparamStringsetUIupdateUI

Field Detail

addressSizeback to summary
private int addressSize
colAnchorIndexback to summary
private int colAnchorIndex
colLeadIndexback to summary
private int colLeadIndex
debuggerback to summary
private Debugger debugger
haveAnchorback to summary
private boolean haveAnchor
haveLeadback to summary
private boolean haveLead
is64Bitback to summary
private boolean is64Bit
isAnnotatedback to summary
private boolean isAnnotated
modelback to summary
private AbstractTableModel model
numUsableRowsback to summary
private int numUsableRows
numVisibleRowsback to summary
private int numVisibleRows
rowAnchorIndexback to summary
private int rowAnchorIndex
rowLeadIndexback to summary
private int rowLeadIndex
scrollBarback to summary
private HighPrecisionJScrollBar scrollBar
startValback to summary
private BigInteger startVal
tableback to summary
private JTable table
unmappedAddrStringback to summary
private String unmappedAddrString
updateLevelback to summary
private int updateLevel

Constructor Detail

MemoryPanelback to summary
public MemoryPanel(final Debugger debugger, boolean isAnnotated, boolean is64Bit)

Method Detail

addressToBigIntback to summary
private BigInteger addressToBigInt(Address a)
addressToStringback to summary
private String addressToString(Address a)
beginUpdateback to summary
private void beginUpdate()
bigIntToAddressback to summary
private Address bigIntToAddress(BigInteger i)
bigIntToHexStringback to summary
private String bigIntToHexString(BigInteger bi)
clampback to summary
private int clamp(int val, int min, int max)
clearSelectionback to summary
private void clearSelection()
constrainback to summary
private void constrain()
endUpdateback to summary
private void endUpdate()
getColAnchorback to summary
private int getColAnchor()
getColLeadback to summary
private int getColLead()
getRowAnchorback to summary
private int getRowAnchor()
getRowLeadback to summary
private int getRowLead()
haveAnchorback to summary
private boolean haveAnchor()
haveLeadback to summary
private boolean haveLead()
haveSelectionback to summary
private boolean haveSelection()
installActionWrapperback to summary
private static void installActionWrapper(ActionMap map, String actionName, MemoryPanel.ActionWrapper wrapper)
makeVisibleback to summary
public void makeVisible(Address addr)

Makes the given address visible somewhere in the window

maybeGrabSelectionback to summary
private void maybeGrabSelection()
modifySelectionback to summary
private void modifySelection(int amount)
printSelectionback to summary
private void printSelection()
recomputeNumVisibleRowsback to summary
private void recomputeNumVisibleRows()
setAnchorback to summary
private void setAnchor(int row, int col)
setAnchorFromTableback to summary
private void setAnchorFromTable()
setLeadback to summary
private void setLead(int row, int col)
setLeadFromTableback to summary
private void setLeadFromTable()
setSelectionback to summary
private void setSelection(int rowAnchor, int rowLead, int colAnchor, int colLead)
setupScrollBarback to summary
private void setupScrollBar()
shouldIgnoreback to summary
private boolean shouldIgnore(MouseEvent e)
updateFromScrollBarback to summary
private void updateFromScrollBar()
updatingback to summary
private boolean updating()
sun.jvm.hotspot.ui back to summary

pack-priv abstract Class MemoryPanel.ActionWrapper

extends AbstractAction
Class Inheritance

Field Summary

Modifier and TypeField and Description
private Action
Inherited from javax.swing.AbstractAction:
changeSupportenabled

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
actionPerformed(ActionEvent e)

Implements java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.

pack-priv Action
pack-priv void
setParent(Action parent)

Inherited from javax.swing.AbstractAction:
addPropertyChangeListenerclonefirePropertyChangegetKeysgetPropertyChangeListenersgetValueisEnabledputValueremovePropertyChangeListenersetEnabled

Field Detail

parentback to summary
private Action parent

Constructor Detail

ActionWrapperback to summary
pack-priv ActionWrapper()

Method Detail

actionPerformedback to summary
public void actionPerformed(ActionEvent e)

Implements java.awt.event.ActionListener.actionPerformed.

Doc from java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.

getParentback to summary
pack-priv Action getParent()
setParentback to summary
pack-priv void setParent(Action parent)