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

public Class ProcessListPanel

extends JPanel
Class Inheritance
Imports
java.awt.*, java.awt.event.*, java.util.*, javax.swing.*, javax.swing.table.*, sun.jvm.hotspot.debugger.*

Field Summary

Modifier and TypeField and Description
private AbstractTableModel
private Debugger
private List<ProcessInfo>
private boolean
private boolean
private JTable
private Timer

Constructor Summary

AccessConstructor and Description
public
ProcessListPanel(Debugger dbg)

Takes a Debugger in constructor.

Method Summary

Modifier and TypeMethod and Description
private synchronized int
findPid(List<ProcessInfo> els, int pid)

private synchronized int
getPid(List<ProcessInfo> els, int index)

public synchronized ProcessInfo
getSelectedProcess()

Call this to get the selected ProcessInfo, or null if none selected

private Timer
public void
setAutoUpdateInterval(int millis)

Set update interval for automatic updating of the process list

private synchronized void
public void
start()

Start auto updating of the panel

public void
stop()

Stop auto updating of the panel

public synchronized void
update()

Call this to update the panel's notion of the process list

Inherited from javax.swing.JPanel:
getAccessibleContextgetUIgetUIClassIDparamStringsetUIupdateUI

Field Detail

dataModelback to summary
private AbstractTableModel dataModel
dbgback to summary
private Debugger dbg
elsback to summary
private List<ProcessInfo> els
sortByNameback to summary
private boolean sortByName
sortReversedback to summary
private boolean sortReversed
tableback to summary
private JTable table
timerback to summary
private Timer timer

Constructor Detail

ProcessListPanelback to summary
public ProcessListPanel(Debugger dbg)

Takes a Debugger in constructor. Updates the list once during construction; list can be updated automatically by "starting" the panel.

Method Detail

findPidback to summary
private synchronized int findPid(List<ProcessInfo> els, int pid)
getPidback to summary
private synchronized int getPid(List<ProcessInfo> els, int index)
getSelectedProcessback to summary
public synchronized ProcessInfo getSelectedProcess()

Call this to get the selected ProcessInfo, or null if none selected

getTimerback to summary
private Timer getTimer()
setAutoUpdateIntervalback to summary
public void setAutoUpdateInterval(int millis)

Set update interval for automatic updating of the process list

sortback to summary
private synchronized void sort(List<ProcessInfo> els)
startback to summary
public void start()

Start auto updating of the panel

stopback to summary
public void stop()

Stop auto updating of the panel

updateback to summary
public synchronized void update()

Call this to update the panel's notion of the process list