APIdia Launch Partner
Top Fields Constructors Methods
sun.tools.jconsole

public Class MBeansTab

extends Tab
implements NotificationListener, PropertyChangeListener, TreeSelectionListener, TreeWillExpandListener
Class Inheritance
All Implemented Interfaces
javax.swing.event.TreeWillExpandListener, java.util.EventListener, javax.swing.event.TreeSelectionListener, java.beans.PropertyChangeListener, javax.management.NotificationListener
Annotations
@SuppressWarnings:serial
Imports
java.awt.BorderLayout, .EventQueue, java.awt.event.MouseAdapter, .MouseEvent, .MouseListener, java.beans.*, java.io.*, java.util.Set, javax.management.*, javax.swing.*, javax.swing.event.*, javax.swing.tree.*, sun.tools.jconsole.ProxyClient.SnapshotMBeanServerConnection, sun.tools.jconsole.inspector.*, com.sun.tools.jconsole.JConsoleContext

Field Summary

Modifier and TypeField and Description
private MouseListener
private XSheet
private XTree
private XDataViewer
Inherited from sun.tools.jconsole.Tab:
vmPanel

Constructor Summary

AccessConstructor and Description
public
MBeansTab(final VMPanel vmPanel)

Method Summary

Modifier and TypeMethod and Description
private void
public void
public XDataViewer
public MBeanServerConnection
public XSheet
public ProxyClient.SnapshotMBeanServerConnection
public static String
public XTree
public int
public void
handleNotification(final Notification notification, Object handback)

Implements javax.management.NotificationListener.handleNotification.

Invoked when a JMX notification occurs.

public void
propertyChange(PropertyChangeEvent evt)

Implements java.beans.PropertyChangeListener.propertyChange.

This method gets called when a bound property is changed.

private void
public void
treeWillCollapse(TreeExpansionEvent e)

Implements javax.swing.event.TreeWillExpandListener.treeWillCollapse.

Invoked whenever a node in the tree is about to be collapsed.

public void
treeWillExpand(TreeExpansionEvent e)

Implements javax.swing.event.TreeWillExpandListener.treeWillExpand.

Invoked whenever a node in the tree is about to be expanded.

public void
public void
valueChanged(TreeSelectionEvent e)

Implements javax.swing.event.TreeSelectionListener.valueChanged.

Called whenever the value of the selection changes.

Inherited from sun.tools.jconsole.Tab:
getOverviewPanelsgetPreferredSizegetVMPanelnewSwingWorkerworkerAdd

Field Detail

mlback to summary
private MouseListener ml
sheetback to summary
private XSheet sheet
treeback to summary
private XTree tree
viewerback to summary
private XDataViewer viewer

Constructor Detail

MBeansTabback to summary
public MBeansTab(final VMPanel vmPanel)

Method Detail

buildMBeanServerViewback to summary
private void buildMBeanServerView()
disposeback to summary
public void dispose()

Overrides sun.tools.jconsole.Tab.dispose.

Annotations
@Override
getDataViewerback to summary
public XDataViewer getDataViewer()
getMBeanServerConnectionback to summary
public MBeanServerConnection getMBeanServerConnection()
getSheetback to summary
public XSheet getSheet()
getSnapshotMBeanServerConnectionback to summary
public ProxyClient.SnapshotMBeanServerConnection getSnapshotMBeanServerConnection()
getTabNameback to summary
public static String getTabName()
getTreeback to summary
public XTree getTree()
getUpdateIntervalback to summary
public int getUpdateInterval()
handleNotificationback to summary
public void handleNotification(final Notification notification, Object handback)

Implements javax.management.NotificationListener.handleNotification.

Doc from javax.management.NotificationListener.handleNotification.

Invoked when a JMX notification occurs. The implementation of this method should return as soon as possible, to avoid blocking its notification broadcaster.

propertyChangeback to summary
public void propertyChange(PropertyChangeEvent evt)

Implements java.beans.PropertyChangeListener.propertyChange.

Doc from java.beans.PropertyChangeListener.propertyChange.

This method gets called when a bound property is changed.

setupTabback to summary
private void setupTab()
treeWillCollapseback to summary
public void treeWillCollapse(TreeExpansionEvent e) throws ExpandVetoException

Implements javax.swing.event.TreeWillExpandListener.treeWillCollapse.

Doc from javax.swing.event.TreeWillExpandListener.treeWillCollapse.

Invoked whenever a node in the tree is about to be collapsed.

Exceptions
ExpandVetoException:
to signify collapse has been canceled
treeWillExpandback to summary
public void treeWillExpand(TreeExpansionEvent e) throws ExpandVetoException

Implements javax.swing.event.TreeWillExpandListener.treeWillExpand.

Doc from javax.swing.event.TreeWillExpandListener.treeWillExpand.

Invoked whenever a node in the tree is about to be expanded.

Exceptions
ExpandVetoException:
to signify expansion has been canceled
updateback to summary
public void update()

Overrides sun.tools.jconsole.Tab.update.

Annotations
@Override
valueChangedback to summary
public void valueChanged(TreeSelectionEvent e)

Implements javax.swing.event.TreeSelectionListener.valueChanged.

Doc from javax.swing.event.TreeSelectionListener.valueChanged.

Called whenever the value of the selection changes.